Lines Matching refs:stb2
47 struct stat stb1, stb2;
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)))
365 if (S_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) {
375 if (S_ISDIR(stb2.st_mode)) {
377 if (stat(argv[1], &stb2) == -1)