summaryrefslogtreecommitdiff
path: root/web/c_cpp/cweb/comm-os2.ch
diff options
context:
space:
mode:
Diffstat (limited to 'web/c_cpp/cweb/comm-os2.ch')
-rw-r--r--web/c_cpp/cweb/comm-os2.ch16
1 files changed, 8 insertions, 8 deletions
diff --git a/web/c_cpp/cweb/comm-os2.ch b/web/c_cpp/cweb/comm-os2.ch
index 5e20a6706c..2b85f8b1f6 100644
--- a/web/c_cpp/cweb/comm-os2.ch
+++ b/web/c_cpp/cweb/comm-os2.ch
@@ -4,21 +4,21 @@ This is the change file for CWEB's COMMON under OS/2
These changes tested with WATCOM C v10.0a.
No changes to CTANGLE or CWEAVE are needed with OS/2.
-@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-pc.ch)
- 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-pc.ch)
+ 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