Searched refs:stb2 (Results 1 - 5 of 5) sorted by relevance
/freebsd-current/usr.bin/diff/ |
H A D | diffdir.c | 197 if (lstat(path2, &stb2) != 0) { 203 memset(&stb2, 0, sizeof(stb2)); 204 stb2.st_mode = stb1.st_mode; 207 stb1.st_mode = stb2.st_mode; 208 if (S_ISLNK(stb1.st_mode) || S_ISLNK(stb2.st_mode)) { 209 if (S_ISLNK(stb1.st_mode) && S_ISLNK(stb2.st_mode)) { 238 path2, S_ISLNK(stb2.st_mode) ? "symbolic link" : 239 (S_ISDIR(stb2.st_mode) ? "directory" : 240 (S_ISREG(stb2 [all...] |
H A D | diff.c | 50 struct stat stb1, stb2; variable in typeref:struct: 414 * Do sanity checks, fill in stb1 and stb2 and call the appropriate 415 * driver routine. Both drivers use the contents of stb1 and stb2. 432 fstat(STDIN_FILENO, &stb2); 434 } else if (stat(argv[1], &stb2) != 0) { 438 memset(&stb2, 0, sizeof(stb2)); 439 stb2.st_mode = stb1.st_mode; 449 stb1.st_mode = stb2.st_mode; 451 if (gotstdin && (S_ISDIR(stb1.st_mode) || S_ISDIR(stb2 [all...] |
H A D | diff.h | 120 extern struct stat stb1, stb2;
|
H A D | diffreg_new.c | 208 label[1] : format_label(file2, &stb2); 316 if (S_ISFIFO(stb1.st_mode) || S_ISFIFO(stb2.st_mode))
|
H A D | diffreg.c | 323 if (S_ISDIR(stb1.st_mode) != S_ISDIR(stb2.st_mode)) 354 if (!S_ISREG(stb2.st_mode)) { 356 fstat(fileno(f2), &stb2) == -1) { 420 (void)prepare(1, f2, stb2.st_size, flags); 423 !prepare(1, f2, stb2.st_size, flags)) { 486 if ((flags & (D_EMPTY1|D_EMPTY2)) || stb1.st_size != stb2.st_size || 487 (stb1.st_mode & S_IFMT) != (stb2.st_mode & S_IFMT)) 490 if (stb1.st_dev == stb2.st_dev && stb1.st_ino == stb2.st_ino) 1676 int nsec2 = stb2 [all...] |
Completed in 123 milliseconds