summaryrefslogtreecommitdiff
path: root/lib/save-cwd.c
AgeCommit message (Collapse)Author
2004-05-11(save_cwd): If opening `.' read-only fails, try write-only.Jim Meyering
2004-05-11(save_cwd) [HAVE_FCHDIR]: Don't fail justJim Meyering
because opening `.' failed. Resort to using xgetcwd.
2003-09-11Include <stdlib.h> unconditionally.Jim Meyering
2003-07-23Normalize naming of Sun operating systems, e.g., SunOS4 -> SunOS 4,Jim Meyering
Solaris5.9 -> Solaris 9. From Paul Eggert.
2003-07-12Don't emit diagnostics. Let callers do that.Jim Meyering
Don't include "error.h". (save_cwd): Don't call error. Ensure that errno is valid when returning nonzero.
2003-03-05commentsJim Meyering
2003-03-04(restore_cwd): Remove two parameters.Jim Meyering
Simplify. Don't call error upon failure. Let callers do that. (save_cwd): Mention that Irix 5.3 has the same problem as SunOS4 when auditing is enabled. But don't bother updating the #if.
2003-01-10Include "xgetcwd.h".Jim Meyering
2000-10-22(O_DIRECTORY): Define, if needed.Jim Meyering
(save_cwd) [HAVE_FCHDIR]: Use O_DIRECTORY when opening ".". Suggestion from Ulrich Drepper.
2000-08-07back out Copyright date changes for files with no changes yearJim Meyering
2000-07-09update copyright dateJim Meyering
1998-12-07ansideclifyJim Meyering
1998-03-15Use #if, not #ifdef with HAVE_ macrosJim Meyering
1997-12-21Use PARAMS, not __P.Jim Meyering
1997-06-12remove blank line at end and add copyrightJim Meyering
tweak cpp indentation
1996-07-15update FSF address in copyrightJim Meyering
1995-12-08.Jim Meyering
1995-12-08Add copyright.Jim Meyering
1995-08-04.Jim Meyering