diff options
Diffstat (limited to 'multimedia/mplex/files/patch-ae')
-rw-r--r-- | multimedia/mplex/files/patch-ae | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/mplex/files/patch-ae b/multimedia/mplex/files/patch-ae new file mode 100644 index 000000000000..41149fd1580f --- /dev/null +++ b/multimedia/mplex/files/patch-ae @@ -0,0 +1,20 @@ +--- interact.c.orig Wed May 31 20:18:33 1995 ++++ interact.c Fri Feb 11 10:04:07 2000 +@@ -67,7 +67,7 @@ + char input[20]; + + printf ("\nContinue processing (y/n) : "); +- do gets (input); ++ do fgets (input, sizeof(input), stdin); + while (input[0]!='N'&&input[0]!='n'&&input[0]!='y'&&input[0]!='Y'); + + if (input[0]=='N' || input[0]=='n') +@@ -92,7 +92,7 @@ + char input[20]; + + printf ("\nVery verbose mode (y/n) : "); +- do gets (input); ++ do fgets (input, sizeof(input), stdin); + while (input[0]!='N'&&input[0]!='n'&&input[0]!='y'&&input[0]!='Y'); + + if (input[0]=='N' || input[0]=='n') return (FALSE); else return (TRUE); |