blob: 17445d55a02dba960a0c4502fb23e70ac0e0330e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 );
|