Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-04-11 | Include unistd-safer.h. | Paul Eggert | |
(save_cwd): Use fd_safer. | |||
2005-03-09 | [!HAVE_FCHDIR]: Define open, fchdir, and chdir_long | Jim Meyering | |
so that this module works on systems without fchdir. | |||
2005-01-20 | (save_cwd): Remove code to support the case | Paul Eggert | |
where fchdir is missing or flaky. | |||
2004-12-03 | save-cwd.c: Include "save-cwd.h" before other include files. | Paul Eggert | |
(O_DIRECTORY): Remove; not needed here, since "." must be a directory. All uses removed. (save_cwd): Use __sgi || __sun, not sun || __sun. __sun is universal on Suns, and we also need to test for IRIX. Revamp code to use 'if' rather than '#if'. Avoid unnecessary comparison of cwd->desc to 0. | |||
2004-11-30 | Include chdir-long.h rather than chdir.h. | Jim Meyering | |
(restore_cwd): Use chdir_long, not chdir. | |||
2004-11-28 | Include "chdir.h", so that if save_cwd/getcwd | Jim Meyering | |
saves a name longer than PATH_MAX, restore_cwd's chdir can use it. | |||
2004-08-02 | Include <stdbool.h>. | Paul Eggert | |
(errno): Remove decl; we now assume C89 or better. (save_cwd): Use bool for booleans. (save_cwd, restore_cwd): Return -1 on failure, not 1, since we set errno on failure. | |||
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 just | Jim Meyering | |
because opening `.' failed. Resort to using xgetcwd. | |||
2003-09-11 | Include <stdlib.h> unconditionally. | Jim Meyering | |
2003-07-23 | Normalize naming of Sun operating systems, e.g., SunOS4 -> SunOS 4, | Jim Meyering | |
Solaris5.9 -> Solaris 9. From Paul Eggert. | |||
2003-07-12 | Don'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-05 | comments | Jim 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-10 | Include "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-07 | back out Copyright date changes for files with no changes year | Jim Meyering | |
2000-07-09 | update copyright date | Jim Meyering | |
1998-12-07 | ansideclify | Jim Meyering | |
1998-03-15 | Use #if, not #ifdef with HAVE_ macros | Jim Meyering | |
1997-12-21 | Use PARAMS, not __P. | Jim Meyering | |
1997-06-12 | remove blank line at end and add copyright | Jim Meyering | |
tweak cpp indentation | |||
1996-07-15 | update FSF address in copyright | Jim Meyering | |
1995-12-08 | . | Jim Meyering | |
1995-12-08 | Add copyright. | Jim Meyering | |
1995-08-04 | . | Jim Meyering | |