diff options
author | Norbert Preining <norbert@preining.info> | 2021-03-02 03:04:42 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-03-02 03:04:42 +0000 |
commit | 4763ec8ceefaf2b038d591b8c15d88d081aec6c9 (patch) | |
tree | 113e7c21358dd01318b8e7a1e3f3228ec33bc563 /web/c_cpp/cweb/comm-pc.ch | |
parent | 3a1a102e980610859d9f1b197733d6ce6a541c62 (diff) |
CTAN sync 202103020304
Diffstat (limited to 'web/c_cpp/cweb/comm-pc.ch')
-rw-r--r-- | web/c_cpp/cweb/comm-pc.ch | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/web/c_cpp/cweb/comm-pc.ch b/web/c_cpp/cweb/comm-pc.ch index e69bafb524..5f7d9c42ff 100644 --- a/web/c_cpp/cweb/comm-pc.ch +++ b/web/c_cpp/cweb/comm-pc.ch @@ -4,30 +4,30 @@ This is the change file for CWEB's COMMON under DOS Changes necessary for compiling with Borland C/C++ Use compilation switches -mc -w-pro -Ff=5000 -Note: The change to section 27 is not necessary if using a compiler +Note: The change to section 16 is not necessary if using a compiler that allows >64K arrays. -@x section 27 -@d max_bytes 90000 /* the number of bytes in identifiers, +@x section 16 +@d max_bytes 1000000 /* the number of bytes in identifiers, @y @d max_bytes (unsigned)60000 /* the number of bytes in identifiers, @z -@x section 69 +@x section 75 An omitted change file argument means that |"/dev/null"| should be used, @y An omitted change file argument means that |"NUL"| should be used, @z -@x section 70 (this change copied from comm-bs.ch, July 94) - else if (*s=='/') dot_pos=NULL,name_pos=++s; +@x section 76 + strcpy(change_file_name,"/dev/null"); @y - else if (*s == ':' || *s == '\\' || *s == '/') - dot_pos=NULL,name_pos=++s; + strcpy(change_file_name,"NUL"); @z -@x section 70 - if (found_change<=0) strcpy(change_file_name,"/dev/null"); +@x section 76 (this change copied from comm-bs.ch, July 94) + else if (*s=='/') dot_pos=NULL,name_pos=++s; @y - if (found_change<=0) strcpy(change_file_name,"NUL"); + else if (*s == ':' || *s == '\\' || *s == '/') + dot_pos=NULL,name_pos=++s; @z |