summaryrefslogtreecommitdiff
path: root/lib/openat.c
AgeCommit message (Collapse)Author
2005-09-22Sync from gnulib.Paul Eggert
2005-09-20(fdopendir): Be sure to close the suppliedJim Meyering
file descriptor before returning. This makes our replacement implementation a little closer to Solaris's, where fdopendir ties the file descriptor to the returned DIR* pointer.
2005-09-19(unlinkat): New function.Jim Meyering
2005-06-14Reflect s/_die/_fail/ renaming.Jim Meyering
2005-06-14Provide an alternative to exiting immediately upon save_cwd orJim Meyering
restore_cwd failure. Now, an application can arrange e.g., to perform a longjump in that case. * openat.c: Include dirname.h. Use IS_ABSOLUTE_FILE_NAME rather than testing for leading slash. (rpl_openat, fdopendir, fstatat): Call openat_save_die and openat_restore_die rather than calling error directly. Don't include "error.h" or "exitfail.h"; they're no longer needed. * openat-die.c (openat_save_die, openat_restore_die): New file. * openat.h (openat_save_die, openat_restore_die): Declare and define.
2005-06-02Don't use "path" or "filename" to mean "file name"Paul Eggert
in comments or local variable names.
2005-05-14Update FSF postal mail address.Jim Meyering
2005-01-19(fdopendir, fstatat): New functions.Jim Meyering
2004-12-31(rpl_openat): Correct comment.Jim Meyering
Call free_cwd, to avoid leaking a file descriptor.
2004-12-03Include "openat.h" before other include files.Paul Eggert
Include "exitfail.h". (openat): Remove #undef; no longer needed now that we include openat.h first. (rpl_openat): Add comment about mode_t promotion. Simplify code a bit by moving initializations around. Use exit_failure rather than EXIT_FAILURE.
2004-11-28(rpl_openat): Also accept optional mode parameter.Jim Meyering
2004-11-28*** empty log message ***Jim Meyering
2004-11-28*** empty log message ***Jim Meyering