summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/examples/wmerg-pc.ch
blob: 912f46b708647b2004774cfe362fdd0473860d16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Change file for wmerge, for MSDOS and Borland C++ 3.1.
To compile the C file:  bcc -w-pro wmerge.c

(This file contributed by Barry Schwartz, trashman@crud.mn.org, 28 Jun 94.)
(Updated 17 Jul 06 by Don Knuth.)

@x Section 19.
    cur_file_name[l]='/'; /* \UNIX/ pathname separator */
@y
    cur_file_name[l]='/'; /* A valid {\mc MSDOS} pathname separator */
@z


@x Section 33.
        if (*s=='.') dot_pos=s++;
        else if (*s=='/') dot_pos=NULL,++s;
        else s++;
@y
        if (*s=='.') dot_pos=s++;
        else if (*s==':' || *s=='\\' || *s=='/') dot_pos=NULL,++s;
        else s++;
@z