diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2023-07-21 14:14:07 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2023-07-21 14:14:07 +0000 |
commit | 01b485ff67d2a9b74b908db54b1b030d51d3cf8e (patch) | |
tree | 910ecded44c0373e549775a7d71eacd8f8a3ca3b /Build/source/texk/web2c/cwebdir/comm-mac.ch | |
parent | 692a5ac8d0ba11a7fb1dbac5f5a35d7b34f29262 (diff) |
[CWEB] Match common.w with common.h.
git-svn-id: svn://tug.org/texlive/trunk@67688 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/comm-mac.ch')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/comm-mac.ch | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Build/source/texk/web2c/cwebdir/comm-mac.ch b/Build/source/texk/web2c/cwebdir/comm-mac.ch index d5529f3b2a4..b549260b72c 100644 --- a/Build/source/texk/web2c/cwebdir/comm-mac.ch +++ b/Build/source/texk/web2c/cwebdir/comm-mac.ch @@ -81,16 +81,6 @@ FILE *fp) /* what file to read from */ @<Skip over comment lines in the change file; |return| if end of file@>@; @z -@x section 36, don't try to open a change file if none was specified -if ((change_file=fopen(change_file_name,"r"))==NULL) - fatal("! Cannot open change file ", change_file_name); -@y -if (change_file_name[0] == '\0') /* no change file specified */ - change_file = NULL; /* reset at least the |change_file| */ -else if ((change_file=fopen(change_file_name,"r"))==NULL) - fatal("! Cannot open change file ", change_file_name); -@z - @x section 39, declare colon as Mac's path separator (Colon-separated paths are not supported.) The remainder of the \.{@@i} line after the file name is ignored. @@ -110,6 +100,16 @@ The remainder of the \.{@@i} line after the file name is ignored. cur_file_name[l]=PATH_SEP; /* pathname separator */ @z +@x section 41, don't try to open a change file if none was specified +if ((change_file=fopen(change_file_name,"r"))==NULL) + fatal("! Cannot open change file ", change_file_name); +@y +if (change_file_name[0] == '\0') /* no change file specified */ + change_file = NULL; /* reset at least the |change_file| */ +else if ((change_file=fopen(change_file_name,"r"))==NULL) + fatal("! Cannot open change file ", change_file_name); +@z + @x section 75, explain the convention for omitted change files An omitted change file argument means that |"/dev/null"| should be used, @y @@ -134,7 +134,7 @@ An omitted change file argument means that no change file should be used, @z @x section 85, insert an extra module before the index -@** Index. +@* Index. @y by putting the new module here, we preserve all the previous section numbers @ We assume an interface to \CEE/ command-line emulation as supplied by the |ccommand| function of Metrowerks CodeWarrior, as defined in @@ -144,5 +144,5 @@ the header file \.{console.h}. #include <console.h> @^system dependencies@> -@** Index. +@* Index. @z |