tentative fix for issue 3 (ex 53)
[mplib] / src / texk / web2c / cwebdir / comm-pc.ch
1 This is the change file for CWEB's COMMON under DOS
2 (Contributed by Lee Wittenberg, March 1993)
3
4 Changes necessary for compiling with Borland C/C++
5 Use compilation switches -mc -w-pro -Ff=5000
6
7 Note: The change to section 27 is not necessary if using a compiler
8 that allows >64K arrays.
9
10 @x section 27
11 @d max_bytes 90000 /* the number of bytes in identifiers,
12 @y
13 @d max_bytes (unsigned)60000 /* the number of bytes in identifiers,
14 @z
15
16 @x section 69
17 An omitted change file argument means that |"/dev/null"| should be used,
18 @y
19 An omitted change file argument means that |"NUL"| should be used,
20 @z
21
22 @x section 70 (this change copied from comm-bs.ch, July 94)
23         else if (*s=='/') dot_pos=NULL,name_pos=++s;
24 @y
25         else if (*s == ':' || *s == '\\' || *s == '/')
26           dot_pos=NULL,name_pos=++s;
27 @z
28
29 @x section 70
30   if (found_change<=0) strcpy(change_file_name,"/dev/null");
31 @y
32   if (found_change<=0) strcpy(change_file_name,"NUL");
33 @z