From: Joshua Kwan Date: Wed, 21 Jan 2004 01:49:40 +0000 (+0000) Subject: warning message when config file = ENOENT X-Git-Tag: v1.6.1-roc-dev~562 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=7c8eebf83646d75072d304d241bf8ba619f11cf2;p=dgamelaunch warning message when config file = ENOENT git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@136 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/dgamelaunch.c b/dgamelaunch.c index f056607..e1dab33 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -165,6 +165,7 @@ create_config () } else { + fprintf(stderr, "Warning: can't find or open %s for reading\n", config); myconfig = &defconfig; return; } @@ -1367,7 +1368,6 @@ main (int argc, char** argv) /* for chroot and program execution */ char atrcfilename[81], *spool; unsigned int len; - struct rlimit rl = { RLIM_INFINITY, RLIM_INFINITY }; int userchoice = 0; @@ -1376,9 +1376,6 @@ main (int argc, char** argv) create_config(); - /* coredumper */ - setrlimit (RLIMIT_CORE, &rl); - /* signal handlers */ signal (SIGHUP, catch_sighup);