summaryrefslogtreecommitdiff
path: root/graphics/stamp/files/patch-lib_rcfile.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 21:54:33 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 21:54:33 +0000
commit60b37dbedcfe6e22fe9a61ee8432ae7bd2780483 (patch)
tree42c5d548da07f10a85c92da3191700e6f34e6829 /graphics/stamp/files/patch-lib_rcfile.c
parentsecurity/arirang: Mark broken with Ruby 2.0 or newer (diff)
Rename german/ and graphics/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363261
Diffstat (limited to 'graphics/stamp/files/patch-lib_rcfile.c')
-rw-r--r--graphics/stamp/files/patch-lib_rcfile.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/stamp/files/patch-lib_rcfile.c b/graphics/stamp/files/patch-lib_rcfile.c
new file mode 100644
index 000000000000..aec536730309
--- /dev/null
+++ b/graphics/stamp/files/patch-lib_rcfile.c
@@ -0,0 +1,13 @@
+--- lib/rcfile.c.orig Fri Dec 24 15:02:25 1999
++++ lib/rcfile.c Fri Dec 24 15:06:09 1999
+@@ -101,8 +101,8 @@
+ exit(ERR_NOLFONT) ;
+ }
+
+- if ((!(strcmp(Args->Infile,""))) ||
+- (!(strcmp(Args->Outfile,"")))) {
++ if ((Args->Infile == NULL) ||
++ (Args->Outfile == NULL)) {
+ fprintf(stderr, "stamp: You must specify both an input and output JPEG image.\n") ;
+ exit(ERR_MISSIOFILE) ;
+ }