summaryrefslogtreecommitdiffstats
path: root/cad/cider/files/patch-ah
blob: ff987746312ba581d0e095a59adfd07bcf4cee7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
*** sim/spice/common/src/lib/fte/x10.c.orig	Sat Jan 29 18:47:11 1994
--- sim/spice/common/src/lib/fte/x10.c	Sun Dec 12 14:56:48 1999
***************
*** 726,737 ****
--- 726,740 ----
              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);
  
OpenPOWER on IntegriCloud