summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-11-20*** empty log message ***Jim Meyering
2005-11-20New file, mostly from euidaccess.c.Jim Meyering
2005-11-19tweak grammar in a commentJim Meyering
2005-11-15Don't bother with #pragma STDC FENV_ACCESS ON, asPaul Eggert
coreutils no longer futzes with rounding modes.
2005-11-14Use #if !, not #ifndef, for AC_CHECK_DECLS.Jim Meyering
2005-11-14*** empty log message ***Jim Meyering
2005-11-13*** empty log message ***Jim Meyering
2005-11-13Include <config.h>, required for possible replacement of mkstemp.Jim Meyering
2005-11-12*** empty log message ***Jim Meyering
2005-11-12*** empty log message ***Jim Meyering
2005-11-12Emulate openat-family functions using Linux's procfs, if possible.Jim Meyering
Idea and some code from Ulrich Drepper's glibc changes. (BUILD_PROC_NAME): New macro. Include <stdio.h>, <string.h>, "alloca.h" and "intprops.h". (rpl_openat): Emulate by trying to open /proc/self/fd/%d/%s, before falling back on save_cwd and restore_cwd. (fdopendir, fstatat, unlinkat): Likewise.
2005-11-10*** empty log message ***Jim Meyering
2005-11-10(fstatat, unlinkat): Perform the syscall directly,Jim Meyering
skipping the save_cwd...restore_cwd overhead, if FILE is absolute.
2005-11-10Fix commentPaul Eggert
2005-11-10Include "timespec.h" rather than the sys/time / timePaul Eggert
business. (gethrxtime) [! (HAVE_NANOUPTIME || (defined CLOCK_MONOTONIC && HAVE_CLOCK_GETTIME) || HAVE_MICROUPTIME)]: Fall back on gettime rather than rolling our own approximation.
2005-11-10gethrxtime now uses gettimePaul Eggert
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.