Lines Matching refs:stb2
121 struct stat stb1, stb2;
152 #define stb2 (G.stb2 )
280 if ((flags & (D_EMPTY1 | D_EMPTY2)) || stb1.st_size != stb2.st_size
281 || (stb1.st_mode & S_IFMT) != (stb2.st_mode & S_IFMT)
779 printf("+++ %s\t%s", file2, ctime(&stb2.st_mtime));
935 if (S_ISDIR(stb1.st_mode) != S_ISDIR(stb2.st_mode))
975 prepare(1, f2 /*, stb2.st_size*/);
1043 if (!fullpath2 || stat(fullpath2, &stb2) != 0) {
1045 memset(&stb2, 0, sizeof(stb2));
1046 stb2.st_mode = stb1.st_mode;
1054 stb1.st_mode = stb2.st_mode;
1056 if (S_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) {
1063 else if (!S_ISREG(stb2.st_mode) && !S_ISDIR(stb2.st_mode))
1225 * Do sanity checks, fill in stb1 and stb2 and call the appropriate
1226 * driver routine. Both drivers use the contents of stb1 and stb2.
1237 fstat(STDIN_FILENO, &stb2);
1240 xstat(f2, &stb2);
1241 if (gotstdin && (S_ISDIR(stb1.st_mode) || S_ISDIR(stb2.st_mode)))
1243 if (S_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) {
1254 if (S_ISDIR(stb2.st_mode)) {
1256 xstat(f2, &stb2);
1260 if (!S_ISREG(stb1.st_mode) || !S_ISREG(stb2.st_mode))