summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-09-03 11:07:36 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-09-03 11:07:36 +0000
commit501d2949b4b8fd47abd207c16d7258b6da675f05 (patch)
treeab442806fe8a16066f59f630df378ba7150498fd /x11
parentUpgrade to .34 (diff)
better fix for fclose(NULL)
Notes
Notes: svn path=/head/; revision=3737
Diffstat (limited to 'x11')
-rw-r--r--x11/xfedor/files/patch-ae12
1 files changed, 7 insertions, 5 deletions
diff --git a/x11/xfedor/files/patch-ae b/x11/xfedor/files/patch-ae
index 08100cd93f76..214fa2003faf 100644
--- a/x11/xfedor/files/patch-ae
+++ b/x11/xfedor/files/patch-ae
@@ -1,5 +1,5 @@
-*** filer.c.bak Tue Sep 3 02:38:19 1996
---- filer.c Tue Sep 3 02:37:19 1996
+*** filer.c.orig Thu May 26 21:59:10 1994
+--- filer.c Tue Sep 3 15:01:15 1996
***************
*** 85,91 ****
{
@@ -26,12 +26,14 @@
return -1 ;
}
---- 187,194 ----
+--- 187,196 ----
fprintf(stderr,"\n");
fprintf(stderr, msg, p1, p2, p3, p4);
fprintf(stderr,"\n");
-! if (pF != NULL)
+! if (pF != NULL) {
! fclose(pF);
+! pF = NULL;
+! }
return -1 ;
}
@@ -44,7 +46,7 @@
getline(linebuf);
if ((sscanf(linebuf, "STARTFONT %s", namebuf) != 1) ||
---- 301,307 ----
+--- 303,309 ----
if (!Extension(filename,".bdf")) strcat(filename,".bdf");