Unified · Split
| @@ -72,7 +72,7 @@ ALMOSTALL = common.w ctangle.w Makefile README common.c common.h ctangle.c \ · 71 unmodified lines | |||
| 72 | cweav-vms.ch comm-man.ch ctang-man.ch cweav-man.ch \ | 72 | cweav-vms.ch comm-man.ch ctang-man.ch cweav-man.ch \ |
| 73 | comm-pc.ch ctang-pc.ch cweav-pc.ch comm-amiga.ch \ | 73 | comm-pc.ch ctang-pc.ch cweav-pc.ch comm-amiga.ch \ |
| 74 | comm-bs.ch ctang-bs.ch cweav-bs.ch makefile.bs \ | 74 | comm-bs.ch ctang-bs.ch cweav-bs.ch makefile.bs \ |
| 75 | cweb.1 cweb.el prod.w | 75 | comm-os2.ch cweb.1 cweb.el prod.w |
| 76 | ALL = $(ALMOSTALL) cweave.w | 76 | ALL = $(ALMOSTALL) cweave.w |
| 77 | 77 | ||
| 78 | .SUFFIXES: .dvi .tex .w | 78 | .SUFFIXES: .dvi .tex .w |
| @@ -0,0 +1,24 @@ | |||
| 1 | This is the change file for CWEB's COMMON under OS/2 | ||
| 2 | (Contributed by Jim Nutt, jnutt@PrimeNet.Com, May 1995) | ||
| 3 | |||
| 4 | These changes tested with WATCOM C v10.0a. | ||
| 5 | No changes to CTANGLE or CWEAVE are needed with OS/2. | ||
| 6 | |||
| 7 | @x section 69 | ||
| 8 | An omitted change file argument means that |"/dev/null"| should be used, | ||
| 9 | @y | ||
| 10 | An omitted change file argument means that |"NUL"| should be used, | ||
| 11 | @z | ||
| 12 | |||
| 13 | @x section 70 (this change copied from comm-pc.ch) | ||
| 14 | else if (*s=='/') dot_pos=NULL,name_pos=++s; | ||
| 15 | @y | ||
| 16 | else if (*s == ':' || *s == '\\' || *s == '/') | ||
| 17 | dot_pos=NULL,name_pos=++s; | ||
| 18 | @z | ||
| 19 | |||
| 20 | @x section 70 | ||
| 21 | if (found_change<=0) strcpy(change_file_name,"/dev/null"); | ||
| 22 | @y | ||
| 23 | if (found_change<=0) strcpy(change_file_name,"NUL"); | ||
| 24 | @z | ||