mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
43801110c6
port can be maintained: previously there were multifile patches and several patches for the same file, now it is a lot cleaner. 2. I also merged a memory leak fix and some fixes from spice3f5-spaghetti. 4. MFB and removed GNUREADLINE support 5. honor CFLAGS and CC. 6. Add documentation. 7. Maho didn't change the name of port spice to spice3. because spice4 might :) appear in the future. version number should be listed on *only* PORTVERSION. 8. drom maintainership PR: 54603 Submitted by: "Pedro F. Giffuni" <giffunip@yahoo.com>
27 lines
879 B
Plaintext
27 lines
879 B
Plaintext
--- src/bin/sconvert.c.orig Mon Sep 14 21:30:41 1992
|
|
+++ src/bin/sconvert.c Thu Jul 17 00:47:50 2003
|
|
@@ -80,19 +80,19 @@
|
|
|
|
case 1: printf("Input file: ");
|
|
(void) fflush(stdout);
|
|
- (void) gets(buf);
|
|
+ (void) fgets(buf,BSIZE_SP,stdin);
|
|
sf = copy(buf);
|
|
printf("Input type: ");
|
|
(void) fflush(stdout);
|
|
- (void) gets(buf);
|
|
+ (void) fgets(buf,BSIZE_SP,stdin);
|
|
f = buf[0];
|
|
printf("Output file: ");
|
|
(void) fflush(stdout);
|
|
- (void) gets(buf);
|
|
+ (void) fgets(buf,BSIZE_SP,stdin);
|
|
af = copy(buf);
|
|
printf("Output type: ");
|
|
(void) fflush(stdout);
|
|
- (void) gets(buf);
|
|
+ (void) fgets(buf,BSIZE_SP,stdin);
|
|
t = buf[0];
|
|
break;
|
|
default:
|