diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 19:39:50 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 19:39:50 +0000 |
commit | d9616e5a763d1ab83ebac479e3b2222db5c3f87f (patch) | |
tree | a08c8f6002f7c1660aaa80e0f9cf61cd9d71151c /games/editss/files/patch-editss.c | |
parent | - Update to 1.9, announce message: (diff) |
Rename all 10,000 games/ patch-xy patches to reflect the files they modify.
Notes
Notes:
svn path=/head/; revision=363239
Diffstat (limited to 'games/editss/files/patch-editss.c')
-rw-r--r-- | games/editss/files/patch-editss.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games/editss/files/patch-editss.c b/games/editss/files/patch-editss.c new file mode 100644 index 000000000000..854005f41b10 --- /dev/null +++ b/games/editss/files/patch-editss.c @@ -0,0 +1,19 @@ +--- editss.c.orig Wed Mar 22 19:39:59 2000 ++++ editss.c Thu Oct 10 14:39:00 2002 +@@ -28,7 +28,6 @@ + + #include <stdio.h> + #include <stdlib.h> +-#include <values.h> + #include <string.h> + #include <fcntl.h> + #include <time.h> +@@ -509,7 +508,7 @@ + while (getoneshipdef(a,fin)) { + nrships+=1; + } +- fclose(fin); ++ if (fin!=NULL) fclose(fin); + if (nrships<1) i1=1; else i1=nrships; + + a[0]='\0'; |