diff options
Diffstat (limited to 'archivers/hpack/patches/patch-ah')
-rw-r--r-- | archivers/hpack/patches/patch-ah | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/archivers/hpack/patches/patch-ah b/archivers/hpack/patches/patch-ah new file mode 100644 index 00000000000..17445d55a02 --- /dev/null +++ b/archivers/hpack/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2001/09/14 15:03:11 wiz Exp $ + +--- archive.c.orig Tue Jun 29 12:27:52 1993 ++++ archive.c +@@ -331,7 +331,7 @@ + /* Nasty input routine - should check for illegal chars and suchlike. + Will also overflow if anyone enters more than 16K chars */ + hflush( stdout ); +- hgets( ( char * ) mrglBuffer ); ++ fgets( ( char * ) mrglBuffer, MAX_PATH, stdin ); + mrglBuffer[ MAX_PATH - 1 ] = '\0'; + strcpy( fileName, ( char * ) mrglBuffer ); + |