summaryrefslogtreecommitdiff
path: root/cad/spice/patches/patch-am
blob: 4b2f12f71deed2554f8660d75ef3266d75232b65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-am,v 1.1 1999/10/01 17:05:15 dmcmahill Exp $

diff -cr spice3f4/src/lib/fte/x11.c src/lib/fte/x11.c
*** spice3f4/src/lib/fte/x11.c	Thu Jun 17 17:32:59 1993
--- src/lib/fte/x11.c	Tue Nov  4 22:18:54 1997
***************
*** 773,784 ****
--- 773,787 ----
  	        graph->commandline, fx0, fx1, fy0, fy1);
  	}
  
+ /* don't use the following if using GNU Readline - AV */
+ #ifndef HAS_GNUREADLINE
  	/* hack for Gordon Jacobs */
  	/* add to history list if plothistory is set */
  	if (cp_getvar("plothistory", VT_BOOL, (char *) &dummy)) {
  	  wl = cp_parse(buf);
  	  (void) cp_addhistent(cp_event++, wl);
  	}
+ #endif /* HAS_GNUREADLINE */
  
  	(void) cp_evloop(buf);