freebsd-ports/archivers/unzip/files/patch-process.c

17 lines
752 B
C
Raw Normal View History

--- process.c.orig 2009-03-06 01:25:10 UTC
+++ process.c
@@ -101,10 +101,10 @@ static ZCONST char Far CannotAllocateBuf
/* do_seekable() strings */
# ifdef UNIX
static ZCONST char Far CannotFindZipfileDirMsg[] =
- "%s: cannot find zipfile directory in one of %s or\n\
- %s%s.zip, and cannot find %s, period.\n";
+ "%s: cannot find zipfile directory in one of %.512s or\n\
2009-10-26 14:27:24 +01:00
+ %s%.512s.zip, and cannot find %.512s, period.\n";
static ZCONST char Far CannotFindEitherZipfile[] =
- "%s: cannot find or open %s, %s.zip or %s.\n";
+ "%s: cannot find or open %.512s, %.512s.zip or %.512s.\n";
# else /* !UNIX */
static ZCONST char Far CannotFindZipfileDirMsg[] =
2009-10-26 14:27:24 +01:00
"%s: cannot find zipfile directory in %s,\n\