Home
last modified time | relevance | path

Searched refs:stb2 (Results 1 – 4 of 4) sorted by relevance

/original-bsd/usr.bin/diff/diff/
H A Ddiff.c152 stb2.st_mode = S_IFREG;
153 else if (stat(file2, &stb2) < 0) {
159 (stb2.st_mode & S_IFMT) == S_IFDIR) {
H A Ddiffdir.c242 struct stat stb1, stb2; local
259 fstat(f1, &stb1); fstat(f2, &stb2);
261 fmt2 = stb2.st_mode & S_IFMT;
264 if (fmt1 != S_IFDIR && stb1.st_rdev == stb2.st_rdev)
277 if (stb1.st_size != stb2.st_size)
H A Ddiff.h85 struct stat stb1, stb2; variable
H A Ddiffreg.c172 } else if ((stb2.st_mode & S_IFMT) == S_IFDIR) { in diffreg()
174 if (stat(file2, &stb2) < 0) { in diffreg()
190 } else if ((stb2.st_mode & S_IFMT) != S_IFREG || !strcmp(file2, "-")) { in diffreg()
192 if (stat(file2, &stb2) < 0) { in diffreg()
209 if (stb1.st_size != stb2.st_size) in diffreg()