-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcl-bsd.p.patch
87 lines (73 loc) · 2.53 KB
/
cl-bsd.p.patch
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
*** cl-base.p Tue Mar 1 09:30:31 1994
--- cl-bsd.p Tue Mar 1 09:48:36 1994
***************
*** 285,291 ****
stdin : filedesc; { standard input file descriptor }
stdout : filedesc; { standard output file descriptor }
! stderr : filedesc; { standard error file descriptor }
initin, initout : filedesc; { initial standard input & output }
--- 285,291 ----
stdin : filedesc; { standard input file descriptor }
stdout : filedesc; { standard output file descriptor }
! stderror : filedesc; { standard error file descriptor }
initin, initout : filedesc; { initial standard input & output }
***************
*** 421,427 ****
stdin := 0; { standard input }
stdout := 1; { standard output }
! stderr := 2; { standard error }
initin := stdin; initout := stdout; { save values }
--- 421,427 ----
stdin := 0; { standard input }
stdout := 1; { standard output }
! stderror := 2; { standard error }
initin := stdin; initout := stdout; { save values }
***************
*** 2563,2569 ****
begin
scopy(name, 1, s, 1);
appstring(s, ': cannot open file@n& ');
! putstr(s, stderr);
errorexit
end;
mustopen := fd
--- 2563,2569 ----
begin
scopy(name, 1, s, 1);
appstring(s, ': cannot open file@n& ');
! putstr(s, stderror);
errorexit
end;
mustopen := fd
***************
*** 2583,2589 ****
begin
scopy(name, 1, s, 1);
appstring(s, ': cannot create file@n&');
! putstr(s, stderr);
errorexit
end;
mustcreate := fd
--- 2583,2589 ----
begin
scopy(name, 1, s, 1);
appstring(s, ': cannot create file@n&');
! putstr(s, stderror);
errorexit
end;
mustcreate := fd
***************
*** 10155,10161 ****
setstring(lin, '*** Curlew can only be u');
appstring(lin, 'sed from a terminal whic');
appstring(lin, 'h supports SSMP.@n& ');
! putstr(lin, stderr)
end
end; {editor}
--- 10155,10161 ----
setstring(lin, '*** Curlew can only be u');
appstring(lin, 'sed from a terminal whic');
appstring(lin, 'h supports SSMP.@n& ');
! putstr(lin, stderror)
end
end; {editor}