HomeSort by: relevance | last modified time | path
    Searched refs:stb2 (Results 1 - 4 of 4) sorted by relevancy

  /src/usr.bin/diff/
diffdir.c 197 if (stat(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_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) {
218 else if (!S_ISREG(stb2.st_mode) && !S_ISDIR(stb2.st_mode))
diff.c 47 struct stat stb1, stb2; variable in typeref:struct:
325 * Do sanity checks, fill in stb1 and stb2 and call the appropriate
326 * driver routine. Both drivers use the contents of stb1 and stb2.
343 fstat(STDIN_FILENO, &stb2);
345 } else if (stat(argv[1], &stb2) != 0) {
349 memset(&stb2, 0, sizeof(stb2));
350 stb2.st_mode = stb1.st_mode;
360 stb1.st_mode = stb2.st_mode;
362 if (gotstdin && (S_ISDIR(stb1.st_mode) || S_ISDIR(stb2.st_mode))
    [all...]
diff.h 109 extern struct stat stb1, stb2;
diffreg.c 299 if (S_ISDIR(stb1.st_mode) != S_ISDIR(stb2.st_mode))
330 if (!S_ISREG(stb2.st_mode)) {
332 fstat(fileno(f2), &stb2) == -1) {
375 (void)prepare(1, f2, stb2.st_size, flags);
378 !prepare(1, f2, stb2.st_size, flags)) {
445 if ((flags & (D_EMPTY1|D_EMPTY2)) || stb1.st_size != stb2.st_size ||
446 (stb1.st_mode & S_IFMT) != (stb2.st_mode & S_IFMT))
449 if (stb1.st_dev == stb2.st_dev && stb1.st_ino == stb2.st_ino)
1610 long nsec2 = stb2.st_mtim.tv_nsec
    [all...]

Completed in 25 milliseconds