[Frugalware-git] xbdmenu: mem.c
James Buren
ryuo at frugalware.org
Sun Mar 15 22:53:29 CET 2009
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xbdmenu.git;a=commitdiff;h=6b7382e9086fd98d3f2249d78bdf7ea620a65a42
commit 6b7382e9086fd98d3f2249d78bdf7ea620a65a42
Author: James Buren <ryuo at frugalware.org>
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);
}
More information about the Frugalware-git
mailing list