pkgsrc/graphics/GMT/patches/patch-av

13 lines
409 B
Text

$NetBSD: patch-av,v 1.1 2001/01/27 08:16:02 jtb Exp $
--- src/x_system/x_solve_dc_drift.c.orig Sun Dec 10 14:02:39 2000
+++ src/x_system/x_solve_dc_drift.c
@@ -354,7 +354,7 @@
if (n_iterations == 0) {
printf ("One more iteration?: ");
- gets(string);
+ fgets(string, sizeof(string), stdin);
if (string[0] == 'N' || string[0] == 'n') ok = FALSE;
}
else if (iteration >= n_iterations)