1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
*** spice3f4/src/lib/fte/cpitf.c.orig Sun Dec 7 13:40:46 1997
--- src/lib/fte/cpitf.c Sun Dec 7 13:41:41 1997
***************
*** 212,218 ****
cp_interactive = false;
inp_spsource(fp, true, buf);
cp_interactive = true;
! (void) fclose(fp);
found = true;
break;
} else if (ft_controldb)
--- 212,220 ----
cp_interactive = false;
inp_spsource(fp, true, buf);
cp_interactive = true;
! /* the following caused me SIGSEGV's since inp_spsource
! already closes fp - A. Veliath 12/7/97 */
! /* (void) fclose(fp); */
found = true;
break;
} else if (ft_controldb)
*** spice3f4/src/lib/fte/device.c Wed Nov 30 21:48:12 1994
--- src/lib/fte/device.c Fri Jan 22 22:33:24 1999
***************
*** 661,667 ****
}
dv = ft_evaluate(n2->pn_right);
! free_pnode(names);
if (!dv)
return;
if (dv->v_length < 1) {
--- 661,669 ----
}
dv = ft_evaluate(n2->pn_right);
! /* prevent names from getting freed twice
! Guenther Roehrich 22-Jan-99 */
! /* free_pnode(names); */
if (!dv)
return;
if (dv->v_length < 1) {
*** spice3f4/src/lib/fte/x11.c Fri Jan 22 22:17:56 1999
--- src/lib/fte/x11.c Fri Jan 22 22:26:29 1999
***************
*** 120,126 ****
/* "invert" works better than "xor" for B&W */
/* xor gc should be a function of the pixels that are written on */
! gcvalues.function = GXxor;
gcvalues.line_width = 1;
gcvalues.foreground = 1;
gcvalues.background = 0;
--- 120,129 ----
/* "invert" works better than "xor" for B&W */
/* xor gc should be a function of the pixels that are written on */
! /* gcvalues.function = GXxor; */
! /* this patch makes lines visible on true color displays
! Guenther Roehrich 22-Jan-99 */
! gcvalues.function = GXinvert;
gcvalues.line_width = 1;
gcvalues.foreground = 1;
gcvalues.background = 0;
*** spice3f4/src/lib/fte/graf.c Thu Jun 17 23:32:52 1993
--- src/lib/fte/graf.c Fri Jan 22 23:11:43 1999
***************
*** 289,297 ****
if (*tics == (double) np) {
Text("x", (int) (tox - currentgraph->fontwidth / 2),
(int) (toy - currentgraph->fontheight / 2));
! SaveText(currentgraph, "x",
(int) (tox - currentgraph->fontwidth / 2),
! (int) (toy - currentgraph->fontheight / 2));
break;
}
}
--- 289,299 ----
if (*tics == (double) np) {
Text("x", (int) (tox - currentgraph->fontwidth / 2),
(int) (toy - currentgraph->fontheight / 2));
! /* gr_redraw will redraw this w/o our having to save it
! Guenther Roehrich 22-Jan-99 */
! /* SaveText(currentgraph, "x",
(int) (tox - currentgraph->fontwidth / 2),
! (int) (toy - currentgraph->fontheight / 2)); */
break;
}
}
***************
*** 301,309 ****
/* Draw an 'x' */
Text("x", (int) (tox - currentgraph->fontwidth / 2),
(int) (toy - currentgraph->fontheight / 2));
! SaveText(currentgraph, "x",
(int) (tox - currentgraph->fontwidth / 2),
! (int) (toy - currentgraph->fontheight / 2));
}
break;
case PLOT_COMB:
--- 303,313 ----
/* Draw an 'x' */
Text("x", (int) (tox - currentgraph->fontwidth / 2),
(int) (toy - currentgraph->fontheight / 2));
! /* gr_redraw will redraw this w/o our having to save it
! Guenther Roehrich 22-Jan-99 */
! /* SaveText(currentgraph, "x",
(int) (tox - currentgraph->fontwidth / 2),
! (int) (toy - currentgraph->fontheight / 2)); */
}
break;
case PLOT_COMB:
|