Debian Codegraph @

texk/web2c/cwebdir/comm-pc.ch

raw
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 16 is not necessary if using a compiler
8 that allows >64K arrays.
9
10 @x section 16
11 @d max_bytes 100000 /* 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 75
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 75
23 strcpy(change_file_name,"/dev/null");
24 @y
25 strcpy(change_file_name,"NUL");
26 @z
27
28 @x section 75 (this change copied from comm-bs.ch, July 94)
29 else if (*s=='/') dot_pos=NULL,name_pos=++s;
30 @y
31 else if (*s == ':' || *s == '\\' || *s == '/')
32 dot_pos=NULL,name_pos=++s;
33 @z