Fix an incomplete format string; version in ports too old to submit upstream
no response from maintainer
This commit is contained in:
parent
b66dbb81c0
commit
937ed87230
12
textproc/glimpse/patches/patch-index_convert_c
Normal file
12
textproc/glimpse/patches/patch-index_convert_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-index_convert_c,v 1.1 2003/04/25 20:25:14 avsm Exp $
|
||||
--- index/convert.c.orig Sat Apr 19 17:37:47 2003
|
||||
+++ index/convert.c Sat Apr 19 17:38:07 2003
|
||||
@@ -791,7 +791,7 @@ change_format(InputFilenames, ReadIntoMe
|
||||
sprintf(s, "mv -f %s %s", outname, realname);
|
||||
if (system(s) == -1) fprintf(stderr, "Errno=%d -- could not execute: %s\n", errno, s);
|
||||
#else
|
||||
- if (rename(outname, realname) == -1) fprintf(stderr, "Errno=%d -- could not rename %s as %s\n", outname, realname);
|
||||
+ if (rename(outname, realname) == -1) fprintf(stderr, "Errno=%d -- could not rename %s as %s\n", errno, outname, realname);
|
||||
#endif
|
||||
}
|
||||
unlink(outname);
|
Loading…
x
Reference in New Issue
Block a user