Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xbdmenu.git;a=commitdiff;h=6b7382e9086fd98d3f2249d78bdf7ea620a65a42

commit 6b7382e9086fd98d3f2249d78bdf7ea620a65a42
Author: James Buren <[email protected]>
Date:   Sun Mar 15 16:28:20 2009 -0500

mem.c
* rework to avoid aborting

diff --git a/mem.c b/mem.c
index 27de13c..4d058f5 100644
--- a/mem.c
+++ b/mem.c
@@ -48,11 +48,9 @@ extern FILE *zfopen(const char *path,const char *mode)
{
FILE *file = fopen(path,mode);
if(file==NULL)
-       {
printf("%s: '%s'\n",strerror(errno),path);
-               exit(EXIT_FAILURE);
-       }
-       ++rc;
+       else
+               ++rc;
return(file);
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to