Skip to content

Commit fe7beaf

Browse files
committed
"as if" => "as is" in comments.
1 parent e745381 commit fe7beaf

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/dsk.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ LispPTR DSK_getfilename(LispPTR *args)
949949
* "New" file means the "not existing" file. Thus it is not
950950
* necessary that dir is an existing directory. If dir is not
951951
* an existing directory, we returns the specified file name
952-
* as if, the subsequent OPENFILE will find the truth.
952+
* as is, the subsequent OPENFILE will find the truth.
953953
*/
954954
if (true_name(dir, sizeof(dir)) != -1) {
955955
strlcpy(vname, file, sizeof(vname));
@@ -1013,7 +1013,7 @@ LispPTR DSK_getfilename(LispPTR *args)
10131013
* file is dealt with specially, it does not have any version, even
10141014
* if it is on {DSK} device. Only we have to do here is to make
10151015
* sure the path to reach to the specified file is an existing
1016-
* directories. The file name itself is recognized as if.
1016+
* directories. The file name itself is recognized as is.
10171017
*/
10181018
if (true_name(dir, sizeof(dir)) != -1) return (NIL);
10191019
conc_dir_and_name(dir, name, vname, sizeof(vname));
@@ -2642,7 +2642,7 @@ static int locate_file(char *dir, size_t dirsize, char *name)
26422642
struct find_t dirp;
26432643
struct direct *dp;
26442644

2645-
/* First of all, recognize as if. */
2645+
/* First of all, recognize as is. */
26462646
snprintf(path, sizeof(path), "%s\\%s", dir, name);
26472647
DIR_OR_FILE_P(path, type);
26482648
if (type != 0) {
@@ -2661,7 +2661,7 @@ static int locate_file(char *dir, size_t dirsize, char *name)
26612661
DIR *dirp;
26622662
struct dirent *dp;
26632663

2664-
/* First of all, recognize as if. */
2664+
/* First of all, recognize as is. */
26652665
snprintf(path, sizeof(path), "%s/%s", dir, name);
26662666
DIR_OR_FILE_P(path, type);
26672667
if (type != 0) {
@@ -3998,7 +3998,7 @@ static int get_new(char *dir, FileName *varray, char *afile, char *vfile)
39983998
else {
39993999
/*
40004000
* A version other than 1 is specified. "New" file
4001-
* is recognized as if.
4001+
* is recognized as is.
40024002
*/
40034003
conc_dir_and_name(dir, afile, vfile, MAXPATHLEN);
40044004
strlcpy(afile, vfile, MAXPATHLEN);
@@ -4044,7 +4044,7 @@ static int get_new(char *dir, FileName *varray, char *afile, char *vfile)
40444044
}
40454045
/*
40464046
* There is not a file with the specified version in varray.
4047-
* The specified file can be recognized as if.
4047+
* The specified file can be recognized as is.
40484048
* Most user will hope to create a new file in same case as
40494049
* old. One of case sensitive names in the files are stored
40504050
* in the trail marker entry in varray by get_version_array
@@ -4085,7 +4085,7 @@ static int get_new(char *dir, FileName *varray, char *afile, char *vfile)
40854085
return (1);
40864086
} else {
40874087
/*
4088-
* Other versions than 1 are recognized as if.
4088+
* Other versions than 1 are recognized as is.
40894089
*/
40904090
conc_dir_and_name(dir, afile, vfile, MAXPATHLEN);
40914091
strlcpy(afile, vfile, MAXPATHLEN);
@@ -4142,7 +4142,7 @@ static int get_new(char *dir, FileName *varray, char *afile, char *vfile)
41424142
/*
41434143
* There is not a file with the specified
41444144
* version in varray. The specified file can
4145-
* be recognized as if.
4145+
* be recognized as is.
41464146
* Most user will hope to create a new file in
41474147
* same case as old. One of case sensitive
41484148
* names in the files are stored in the trail
@@ -4199,7 +4199,7 @@ static int get_new(char *dir, FileName *varray, char *afile, char *vfile)
41994199
/*
42004200
* There is not a file with the specified
42014201
* version in varray. The specified file can
4202-
* be recognized as if.
4202+
* be recognized as is.
42034203
* Most user will hope to create a new file in
42044204
* same case as old. We will use the name of
42054205
* the highest versioned file as the name of the
@@ -4287,7 +4287,7 @@ static int get_old_new(char *dir, FileName *varray, char *afile, char *vfile)
42874287
} else {
42884288
/*
42894289
* A version other than 1 is specified. "New" file
4290-
* is recognized as if.
4290+
* is recognized as is.
42914291
*/
42924292
conc_dir_and_name(dir, afile, vfile, MAXPATHLEN);
42934293
strlcpy(afile, vfile, MAXPATHLEN);
@@ -4324,7 +4324,7 @@ static int get_old_new(char *dir, FileName *varray, char *afile, char *vfile)
43244324
}
43254325
/*
43264326
* There is not a file with the specified version in varray.
4327-
* The specified file can be recognized as if.
4327+
* The specified file can be recognized as is.
43284328
* Most user will hope to create a new file in same case as
43294329
* old. One of case sensitive names in the files are stored
43304330
* in the trail marker entry in varray by get_version_array
@@ -4365,7 +4365,7 @@ static int get_old_new(char *dir, FileName *varray, char *afile, char *vfile)
43654365
return (1);
43664366
} else {
43674367
/*
4368-
* Other versions than 1 are recognized as if.
4368+
* Other versions than 1 are recognized as is.
43694369
*/
43704370
conc_dir_and_name(dir, afile, vfile, MAXPATHLEN);
43714371
strlcpy(afile, vfile, MAXPATHLEN);
@@ -4421,7 +4421,7 @@ static int get_old_new(char *dir, FileName *varray, char *afile, char *vfile)
44214421
/*
44224422
* There is not a file with the specified
44234423
* version in varray. The specified file can
4424-
* be recognized as if.
4424+
* be recognized as is.
44254425
* Most user will hope to create a new file in
44264426
* same case as old. One of case sensitive
44274427
* names in the files are stored in the trail
@@ -4469,7 +4469,7 @@ static int get_old_new(char *dir, FileName *varray, char *afile, char *vfile)
44694469
/*
44704470
* There is not a file with the specified
44714471
* version in varray. The specified file can
4472-
* be recognized as if.
4472+
* be recognized as is.
44734473
* Most user will hope to create a new file in
44744474
* same case as old. We will use the name of
44754475
* the highest versioned file as the name of the

src/ufs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ LispPTR UFS_getfilename(LispPTR *args)
200200
case RECOG_NON:
201201
/*
202202
* "New" file means the "not existing" file. UNIX device always
203-
* recognizes a not existing file as if, the subsequent OPENFILE will
203+
* recognizes a not existing file as is, the subsequent OPENFILE will
204204
* find the truth.
205205
* "Non" recognition is used to recognize a sysout file.
206206
*/
@@ -944,7 +944,7 @@ int lisppathname(char *fullname, char *lispname, size_t lispnamesize, int dirp,
944944
* ' ''
945945
* . '. only if it is used as a part of the extension
946946
* field.
947-
* others as if
947+
* others as is
948948
*/
949949

950950
cp = fullname + 1;

0 commit comments

Comments
 (0)