Skip to content

Commit e50a3ee

Browse files
committed
"as if" => "as is" in comments.
1 parent 5a1ab15 commit e50a3ee

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
@@ -950,7 +950,7 @@ LispPTR DSK_getfilename(LispPTR *args)
950950
* "New" file means the "not existing" file. Thus it is not
951951
* necessary that dir is an existing directory. If dir is not
952952
* an existing directory, we returns the specified file name
953-
* as if, the subsequent OPENFILE will find the truth.
953+
* as is, the subsequent OPENFILE will find the truth.
954954
*/
955955
if (true_name(dir, sizeof(dir)) != -1) {
956956
strlcpy(vname, file, sizeof(vname));
@@ -1014,7 +1014,7 @@ LispPTR DSK_getfilename(LispPTR *args)
10141014
* file is dealt with specially, it does not have any version, even
10151015
* if it is on {DSK} device. Only we have to do here is to make
10161016
* sure the path to reach to the specified file is an existing
1017-
* directories. The file name itself is recognized as if.
1017+
* directories. The file name itself is recognized as is.
10181018
*/
10191019
if (true_name(dir, sizeof(dir)) != -1) return (NIL);
10201020
conc_dir_and_name(dir, name, vname, sizeof(vname));
@@ -2610,7 +2610,7 @@ static int locate_file(char *dir, size_t dirsize, char *name)
26102610
struct find_t dirp;
26112611
struct direct *dp;
26122612

2613-
/* First of all, recognize as if. */
2613+
/* First of all, recognize as is. */
26142614
snprintf(path, sizeof(path), "%s\\%s", dir, name);
26152615
DIR_OR_FILE_P(path, type);
26162616
if (type != 0) {
@@ -2629,7 +2629,7 @@ static int locate_file(char *dir, size_t dirsize, char *name)
26292629
DIR *dirp;
26302630
struct dirent *dp;
26312631

2632-
/* First of all, recognize as if. */
2632+
/* First of all, recognize as is. */
26332633
snprintf(path, sizeof(path), "%s/%s", dir, name);
26342634
DIR_OR_FILE_P(path, type);
26352635
if (type != 0) {
@@ -3966,7 +3966,7 @@ static int get_new(char *dir, FileName *varray, char *afile, char *vfile)
39663966
else {
39673967
/*
39683968
* A version other than 1 is specified. "New" file
3969-
* is recognized as if.
3969+
* is recognized as is.
39703970
*/
39713971
conc_dir_and_name(dir, afile, vfile, MAXPATHLEN);
39723972
strlcpy(afile, vfile, MAXPATHLEN);
@@ -4012,7 +4012,7 @@ static int get_new(char *dir, FileName *varray, char *afile, char *vfile)
40124012
}
40134013
/*
40144014
* There is not a file with the specified version in varray.
4015-
* The specified file can be recognized as if.
4015+
* The specified file can be recognized as is.
40164016
* Most user will hope to create a new file in same case as
40174017
* old. One of case sensitive names in the files are stored
40184018
* in the trail marker entry in varray by get_version_array
@@ -4053,7 +4053,7 @@ static int get_new(char *dir, FileName *varray, char *afile, char *vfile)
40534053
return (1);
40544054
} else {
40554055
/*
4056-
* Other versions than 1 are recognized as if.
4056+
* Other versions than 1 are recognized as is.
40574057
*/
40584058
conc_dir_and_name(dir, afile, vfile, MAXPATHLEN);
40594059
strlcpy(afile, vfile, MAXPATHLEN);
@@ -4110,7 +4110,7 @@ static int get_new(char *dir, FileName *varray, char *afile, char *vfile)
41104110
/*
41114111
* There is not a file with the specified
41124112
* version in varray. The specified file can
4113-
* be recognized as if.
4113+
* be recognized as is.
41144114
* Most user will hope to create a new file in
41154115
* same case as old. One of case sensitive
41164116
* names in the files are stored in the trail
@@ -4167,7 +4167,7 @@ static int get_new(char *dir, FileName *varray, char *afile, char *vfile)
41674167
/*
41684168
* There is not a file with the specified
41694169
* version in varray. The specified file can
4170-
* be recognized as if.
4170+
* be recognized as is.
41714171
* Most user will hope to create a new file in
41724172
* same case as old. We will use the name of
41734173
* the highest versioned file as the name of the
@@ -4255,7 +4255,7 @@ static int get_old_new(char *dir, FileName *varray, char *afile, char *vfile)
42554255
} else {
42564256
/*
42574257
* A version other than 1 is specified. "New" file
4258-
* is recognized as if.
4258+
* is recognized as is.
42594259
*/
42604260
conc_dir_and_name(dir, afile, vfile, MAXPATHLEN);
42614261
strlcpy(afile, vfile, MAXPATHLEN);
@@ -4292,7 +4292,7 @@ static int get_old_new(char *dir, FileName *varray, char *afile, char *vfile)
42924292
}
42934293
/*
42944294
* There is not a file with the specified version in varray.
4295-
* The specified file can be recognized as if.
4295+
* The specified file can be recognized as is.
42964296
* Most user will hope to create a new file in same case as
42974297
* old. One of case sensitive names in the files are stored
42984298
* in the trail marker entry in varray by get_version_array
@@ -4333,7 +4333,7 @@ static int get_old_new(char *dir, FileName *varray, char *afile, char *vfile)
43334333
return (1);
43344334
} else {
43354335
/*
4336-
* Other versions than 1 are recognized as if.
4336+
* Other versions than 1 are recognized as is.
43374337
*/
43384338
conc_dir_and_name(dir, afile, vfile, MAXPATHLEN);
43394339
strlcpy(afile, vfile, MAXPATHLEN);
@@ -4389,7 +4389,7 @@ static int get_old_new(char *dir, FileName *varray, char *afile, char *vfile)
43894389
/*
43904390
* There is not a file with the specified
43914391
* version in varray. The specified file can
4392-
* be recognized as if.
4392+
* be recognized as is.
43934393
* Most user will hope to create a new file in
43944394
* same case as old. One of case sensitive
43954395
* names in the files are stored in the trail
@@ -4437,7 +4437,7 @@ static int get_old_new(char *dir, FileName *varray, char *afile, char *vfile)
44374437
/*
44384438
* There is not a file with the specified
44394439
* version in varray. The specified file can
4440-
* be recognized as if.
4440+
* be recognized as is.
44414441
* Most user will hope to create a new file in
44424442
* same case as old. We will use the name of
44434443
* 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
@@ -329,7 +329,7 @@ LispPTR UFS_getfilename(LispPTR *args)
329329
case RECOG_NON:
330330
/*
331331
* "New" file means the "not existing" file. UNIX device always
332-
* recognizes a not existing file as if, the subsequent OPENFILE will
332+
* recognizes a not existing file as is, the subsequent OPENFILE will
333333
* find the truth.
334334
* "Non" recognition is used to recognize a sysout file.
335335
*/
@@ -1073,7 +1073,7 @@ int lisppathname(char *fullname, char *lispname, size_t lispnamesize, int dirp,
10731073
* ' ''
10741074
* . '. only if it is used as a part of the extension
10751075
* field.
1076-
* others as if
1076+
* others as is
10771077
*/
10781078

10791079
cp = fullname + 1;

0 commit comments

Comments
 (0)