$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 );