pkgsrc/www/Mosaic/patches/patch-ag
tron 11e1c3c32c Search for various optional configuration and data files in "${PREFIX}"
instead of "/usr/local". Fixes PR pkg/7698 by Jon Buller.
1999-06-07 21:40:20 +00:00

21 lines
586 B
Text

$NetBSD: patch-ag,v 1.3 1999/06/07 21:40:20 tron Exp $
--- src/gui.c.orig Thu Jul 18 21:26:56 1996
+++ src/gui.c Mon Jun 7 23:25:44 1999
@@ -173,6 +173,7 @@
#include "libhtmlw/HTML.h"
+#include "config.h"
#include "xresources.h"
#include "cci.h"
@@ -3963,7 +3964,7 @@
return 0;
else
{
-{char ans[10]; printf("Press RETURN\n"); gets(ans);}
+{char ans[10]; printf("Press RETURN\n"); fgets(ans, sizeof(ans), stdin);}
/* All other errors are 'fatal'. */
XGetErrorText (dsp, event->error_code, buf, 128);
fprintf (stderr, "X Error: %s\n", buf);