summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-10-24*** empty log message ***Jim Meyering
2005-10-24(make_dir_parents): Like the code above it, don't relyJim Meyering
on mkdir failing with a particular errno value (EEXIST). Based on a patch by Dmitry V. Levin.
2005-10-24*** empty log message ***Jim Meyering
2005-10-24(make_dir_parents): Make the preceding fix a littleJim Meyering
more robust, e.g., when the final component is created as a non- directory by another process just before `mkdir -p's final mkdir.
2005-10-24*** empty log message ***Jim Meyering
2005-10-24A command like `mkdir -p nonexistent/.' would create theJim Meyering
directory but exit nonzero with a diagnostic. This could also be triggered with a non-`.' component, e.g., in a race with another process running the same `mkdir -p nonexistent/sub' command. (make_dir_parents): Handle the case of an existing final component. Reported by Matthias Andree here: http://savannah.gnu.org/bugs/?func=detailitem&item_id=14848
2005-10-23.Jim Meyering
2005-10-23*** empty log message ***Jim Meyering
2005-10-23from David MadoreJim Meyering
2005-10-23Remove no-longer-relevant comment.Jim Meyering
2005-10-23from David MadoreJim Meyering
2005-10-20*** empty log message ***Jim Meyering
2005-10-20(mode_compile): Reject an invalid mode string thatJim Meyering
starts with an octal digit. From Andreas Gruenbacher.
2005-10-13(make_dir_parents): Don't report an error if anPaul Eggert
intermediate directory is in a read-only file system.
2005-10-08*** empty log message ***Jim Meyering
2005-10-08(rpl_openat): Use the promoted type (int), not mode_t,Jim Meyering
as second argument to va_arg. Otherwise, some versions of gcc warn that `if this code is reached, the program will abort'.
2005-10-07*** empty log message ***Jim Meyering
2005-10-07Merge from gnulib.Jim Meyering
(SIZE_MAX): New macro, if not already defined.
2005-10-07.Jim Meyering
2005-10-05*** empty log message ***Jim Meyering
2005-10-05(libcoreutils_a_DEPENDENCIES): Remove definition.Jim Meyering
Once it's gone, automake generates an equivalent one.
2005-10-05Merge from gnulib.Jim Meyering
2005-10-05*** empty log message ***Jim Meyering
2005-10-04*** empty log message ***Jim Meyering
2005-10-04Merge from gnulib.Jim Meyering
Include sys/types.h before other headers.
2005-10-02Import getdelim.c from gnulib (to fix unused var warnings) thenPaul Eggert
apply the following fixes: Include getdelim.h first. Include <limits.h>. (SSIZE_MAX): New macro, if not already defined. (getdelim): Fix buffer overrun on 64-bit hosts with lines longer than 2 GiB.
2005-10-01*** empty log message ***Jim Meyering
2005-10-01Protect #include's of sys/socket.h and netdb.h.Jim Meyering
Only define struct addrinfo if !HAVE_STRUCT_ADDRINFO. Protect AI_* and EAI_* definitions. Protect function declarations.
2005-09-30*** empty log message ***Jim Meyering
2005-09-30(fdopendir): Do not define if HAVE_FDOPENDIR.Jim Meyering
2005-09-30(fdopendir): Do not define if HAVE_FDOPENDIR.Jim Meyering
Remove AT_FDCWD test. Do not consume the fd unless successful.
2005-09-29"they wants" -> "they want"Paul Eggert
2005-09-29Rely on gettimeofday failure too.Paul Eggert
2005-09-29(settime): If settimeofday fails, give up right away.Paul Eggert
2005-09-29* settime.c (settime): Fix { typo in previous patch. Also, don'tPaul Eggert
bother returning ENOSYS; just let stime return whatever errno it wants to return.
2005-09-29(settime): Fix { typo in previous patch. Also, don'tPaul Eggert
boether returning ENOSYS; just let stime return whatever errno it wants to return.
2005-09-29* xtime.h (XTIME_PRECISION): Now of type int, not long long int.Paul Eggert
2005-09-29(XTIME_PRECISION): Now of type int, not long long int,Paul Eggert
so that the code works even with ancient cpp. Portability problem with GCC 2.7.2.1 reported by Thomas M.Ott.
2005-09-29*** empty log message ***Jim Meyering
2005-09-29(settime): Move the HAVE_STIME block `up' into an #elifJim Meyering
block, so that we don't even try to compile it if settimeofday is available. This works around a compilation failure on OSF1 V5.1, due to stime requiring a `long int*' while tv_sec is `int'.
2005-09-27*** empty log message ***Jim Meyering
2005-09-27*** empty log message ***Jim Meyering
2005-09-27[HAVE_CONFIG_H]: Include <config.h>.Jim Meyering
2005-09-27[HAVE_CONFIG_H]: Include <config.h> conditionally,Jim Meyering
to be consistent with gnulib.
2005-09-27Change #ifdef<TAB>HAVE_CONFIG_H to #ifdef HAVE_CONFIG_H.Jim Meyering
2005-09-27*** empty log message ***Jim Meyering
2005-09-27Include <config.h> here, now that strnumcmp-in.h no longer includes it.Jim Meyering
2005-09-26utimens.c portability fixes.Paul Eggert
2005-09-26Include unistd.h, for dup2.Paul Eggert
(futimens): Fix typo: HAVE_FUTIMESAT was misspelled in an #if. (futimens) [! HAVE_FUTIMESAT]: If !file, set errno before returning -1.
2005-09-25.Jim Meyering