diff options
Diffstat (limited to 'graphics/stamp/files/patch-lib_rcfile.c')
-rw-r--r-- | graphics/stamp/files/patch-lib_rcfile.c | 13 |
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) ; + } |