summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-11-09Use /dev/full if possible for descriptor 0 -- like glibc now does.Jim Meyering
Fall back on /dev/null if opening /dev/full fails.
2005-11-01"touch 0101000000" now operates as POSIX 1002.1-2001 requires.Paul Eggert
2005-11-01(PDS_PRE_2000): New macro.Paul Eggert
2005-11-01(year): Arg is now syntax_bits rather than allow_century.Paul Eggert
All usages changed. Reject dates outside the range 1969-1999 if PDS_PRE_2000 is used.
2005-10-30Fix porting problems reported by Theodoros V. Kalamatianos.Paul Eggert
2005-10-30[defined HAVE_CONFIG_H]: Include <config.h>, so that large files can be opened.Paul Eggert
2005-10-30(futimens) [HAVE_WORKING_UTIMES && HAVE_FUTIMES]:Paul Eggert
Don't assume that futimes failing means we must fail.
2005-10-30(__getcwd): Don't assume that system calls after readdirPaul Eggert
leave errno alone. Problem reported by Dmitry V. Levin.
2005-10-28(savedir): Don't assume that xrealloc etc. leave errno alone.Paul Eggert
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