Searched refs:stb1 (Results 1 - 5 of 5) sorted by relevance
/freebsd-current/usr.bin/diff/ |
H A D | diffdir.c | 188 if (lstat(path1, &stb1) != 0) { 194 memset(&stb1, 0, sizeof(stb1)); 204 stb2.st_mode = stb1.st_mode; 206 if (stb1.st_mode == 0) 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)) { 235 path1, S_ISLNK(stb1.st_mode) ? "symbolic link" : 236 (S_ISDIR(stb1 [all...] |
H A D | diff.c | 50 struct stat stb1, stb2; variable in typeref:struct:stat 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. 422 fstat(STDIN_FILENO, &stb1); 424 } else if (stat(argv[0], &stb1) != 0) { 428 memset(&stb1, 0, sizeof(struct stat)); 439 stb2.st_mode = stb1.st_mode; 448 if (stb1.st_mode == 0) 449 stb1.st_mode = stb2.st_mode; 451 if (gotstdin && (S_ISDIR(stb1 [all...] |
H A D | diff.h | 120 extern struct stat stb1, stb2;
|
H A D | diffreg_new.c | 206 label[0] : format_label(file1, &stb1); 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)) 324 return (S_ISDIR(stb1.st_mode) ? D_MISMATCH1 : D_MISMATCH2); 331 if (!S_ISREG(stb1.st_mode)) { 333 fstat(fileno(f1), &stb1) == -1) { 419 (void)prepare(0, f1, stb1.st_size, flags); 422 !prepare(0, f1, stb1.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 [all...] |
Completed in 85 milliseconds