summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-06-26(libcoreutils_a_SOURCES): Remove diacrit.c and diacrit.h.Jim Meyering
2005-06-25*** empty log message ***Jim Meyering
2005-06-25(libcoreutils_a_SOURCES): Remove version-etc.c version-etc.hJim Meyering
and version-etc-fsf.c.
2005-06-25(libcoreutils_a_SOURCES): Remove dev-ino.h too, now that weJim Meyering
get it via root-dev-ino.m4
2005-06-25Remove dev-ino.h, now that we get it via root-dev-ino.m4Jim Meyering
2005-06-25*** empty log message ***Jim Meyering
2005-06-25(libcoreutils_a_SOURCES): Remove root-dev-ino.c and root-dev-ino.h.Jim Meyering
2005-06-24(canon_host) [HAVE_GETADDRINFO]: Use `= { 0, };' to initialize local `hint'.Paul Eggert
2005-06-24.Jim Meyering
2005-06-23*** empty log message ***Jim Meyering
2005-06-23(libcoreutils_a_SOURCES): Remove xstrtod.c and xstrtod.h.Jim Meyering
2005-06-23.Jim Meyering
2005-06-23(libcoreutils_a_SOURCES): Remove xreadlink.c and xreadlink.h.Jim Meyering
2005-06-23*** empty log message ***Jim Meyering
2005-06-23(backup_args): Change a `0' to NULL.Jim Meyering
2005-06-22mktime fix to avoid a diagnostic.Paul Eggert
2005-06-22Include <string.h> even if !DEBUG. (From glibc.)Paul Eggert
(ranged_convert): Don't save conversion in a temporary struct. This causes a warning with GCC 4.0.0, and anyway in the typical case it's not worth the extra 100 bytes or so of code. (ranged_convert, __mktime_internal): When calling a function via a pointer P, use P () rather than (*P) (), as we now assume C89 or better.
2005-06-22(desirable_utmp_entry): Fix bug where "who -b" and "who -r"Paul Eggert
failed to give output.
2005-06-22From gnulib:Jim Meyering
(HAVE_GNU_CALLOC): New constant. (xcalloc): Use it to avoid needless tests.
2005-06-22*** empty log message ***Jim Meyering
2005-06-20.Jim Meyering
2005-06-19*** empty log message ***Jim Meyering
2005-06-19(libcoreutils_a_SOURCES): Remove xgetcwd.c, xgetcwd.h, xfts.c and xfts.h.Jim Meyering
2005-06-16*** empty log message ***Jim Meyering
2005-06-16(rpl_calloc): Allocate a 1-byte buffer (not 1xS or Nx1)Jim Meyering
when either N or S is zero.
2005-06-15Reflect s/_die/_fail/ renaming.Jim Meyering
2005-06-15*** empty log message ***Jim Meyering
2005-06-15(make_dir_parents): Don't let a failed chdir($PWD)Jim Meyering
stop us from restricting permissions of just-created absolute-named directories.
2005-06-14Improve diagnostics for restore_cwd failure.Paul Eggert
2005-06-14(make_dir): Remove. All uses replaced by mkdir.Paul Eggert
(make_dir_parents): Last arg is now int * (for errno), not bool *. Rewrite "mkdir -p" algorithm to avoid the need for "stat" each time through the loop. Do not diagnose restore_cwd failure; that is the caller's job (and perhaps the caller does not care).
2005-06-14(make_dir): Remove. All uses replaced by mkdir.Paul Eggert
(make_dir_parents): Last arg is now int * (for errno), not bool *.
2005-06-14mkdir-p cleanup.Paul Eggert
2005-06-14(CLEANUP_CWD, CLEANUP): Remove.Paul Eggert
(make_dir_parents): Revamp to avoid need for CLEANUP_CWD, CLEANUP. If the file already exists but is not a directory, don't bother to try to make its parents. Close potential file descriptor leak if we can't chdir("/") (!). Don't always return true if chdir($PWD) fails; return true only if the requested action was done successfully (except for the chdir($PWD)). Don't log final directory unless we actually made it. Refactor to avoid duplicate code to fix up permissions. Don't attempt to fix up parent permissions if chdir($PWD) fails.
2005-06-14*** empty log message ***Jim Meyering
2005-06-14Reflect s/_die/_fail/ renaming.Jim Meyering
2005-06-14(openat_save_fail): Rename from openat_save_die.Jim Meyering
(openat_restore_fail): Rename from openat_restore_die.
2005-06-14clarify commentJim Meyering
2005-06-14*** empty log message ***Jim Meyering
2005-06-14(CLEANUP_CWD): Return *true*, not false when failingJim Meyering
to restore initial working directory.
2005-06-14.Jim Meyering
2005-06-14*** empty log message ***Jim Meyering
2005-06-14(openat_save_die, openat_restore_die): New file.Jim Meyering
2005-06-14(openat_save_die, openat_restore_die): Declare and define.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-13*** empty log message ***Jim Meyering
2005-06-13(make_dir_parents): Update prototype.Jim Meyering
2005-06-13(make_dir_parents): New parameter: different_working_dir,Jim Meyering
to tell caller if/when we change the working directory and are unable to return to the initial one.
2005-06-12*** empty log message ***Jim Meyering
2005-06-12(CLEANUP_CWD): Change one more `return 1' to `return false'.Jim Meyering
This fixes a bug introduced on 2004-07-30.
2005-06-02Regenerate.Paul Eggert