Home
last modified time | relevance | path

Searched refs:saved_errno (Results 1 – 12 of 12) sorted by relevance

/coreutils/src/
Dfold.c126 int saved_errno; in fold_file() local
216 saved_errno = errno; in fold_file()
218 saved_errno = 0; in fold_file()
225 else if (fclose (istream) != 0 && !saved_errno) in fold_file()
226 saved_errno = errno; in fold_file()
228 if (saved_errno) in fold_file()
230 error (0, saved_errno, "%s", quotef (filename)); in fold_file()
Dpaste.c345 int saved_errno; in paste_serial() local
367 saved_errno = errno; in paste_serial()
392 saved_errno = errno; in paste_serial()
402 saved_errno = 0; in paste_serial()
405 else if (fclose (fileptr) != 0 && !saved_errno) in paste_serial()
406 saved_errno = errno; in paste_serial()
407 if (saved_errno) in paste_serial()
409 error (0, saved_errno, "%s", quotef (*fnamptr)); in paste_serial()
Dnohup.c150 int saved_errno = errno; in main() local
162 error (0, saved_errno, _("failed to open %s"), quoteaf (file)); in main()
218 int saved_errno = errno; in main() local
227 error (0, saved_errno, _("failed to run command %s"), quoteaf (*cmd)); in main()
Dsystem.h306 int saved_errno; in directory_status() local
317 saved_errno = errno; in directory_status()
319 return saved_errno; in directory_status()
324 saved_errno = errno; in directory_status()
326 return no_direntries && saved_errno == 0 ? DS_EMPTY : saved_errno; in directory_status()
770 int saved_errno = errno; in write_error() local
774 error (EXIT_FAILURE, saved_errno, _("write error")); in write_error()
Dmktemp.c333 int saved_errno = errno; in main() local
336 error (0, saved_errno, _("write error")); in main()
Dtruncate.c331 int saved_errno = errno; in main() local
338 errno = saved_errno; in main()
Dchcon.c125 int saved_errno = errno; in compute_context_from_mask() local
127 errno = saved_errno; in compute_context_from_mask()
Dtimeout.c214 int saved_errno = errno; /* settimeout may reset. */ in cleanup() local
219 errno = saved_errno; in cleanup()
Dchown-core.c270 int saved_errno = errno; in restricted_chown() local
272 errno = saved_errno; in restricted_chown()
Dsort.c849 int saved_errno; in create_temp_file() local
871 saved_errno = errno; in create_temp_file()
873 errno = saved_errno; in create_temp_file()
1045 int saved_errno; in pipe_fork() local
1072 saved_errno = errno; in pipe_fork()
1077 errno = saved_errno; in pipe_fork()
1091 saved_errno = errno; in pipe_fork()
1094 errno = saved_errno; in pipe_fork()
1221 int saved_errno = errno; in open_temp() local
1223 errno = saved_errno; in open_temp()
/coreutils/gl/lib/
Dfd-reopen.c41 int saved_errno = errno; in fd_reopen() local
43 errno = saved_errno; in fd_reopen()
/coreutils/tests/
DCuTmpdir.pm106 my $saved_errno = $?;
108 $? = $saved_errno;