summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2005-09-25.Jim Meyering
2005-09-25Protect against multiple inclusion.Jim Meyering
2005-09-25Support having a null PATH if the file descriptor is nonnegative.Paul Eggert
2005-09-25(ENOSYS): Define if not already defined.Paul Eggert
(ftimens): Support having a null PATH if the file descriptor is nonnegative.
2005-09-25Upgrade regex_internal.h patch.Paul Eggert
2005-09-25(__GNUC_PREREQ, always_inline, inline, pure):Paul Eggert
Remove. (__attribute): Define to empty unless GCC 3.1 or later. This works around a core dump on OpenBSD 3.4, which has GCC 2.95.3, which dumps core when given __attribute__(()). It also simplifies other tests, since we really don't want to bother with worrying about which ancient version of GCC supported what. Original problem reported by Yoann Vandoorselaere, with part of the fix suggested by Derek Price.
2005-09-24* Makefile.am (libcoreutils_a_SOURCES): Remove mbchar.c.Paul Eggert
2005-09-24(libcoreutils_a_SOURCES): Remove mbchar.c, sincePaul Eggert
it doesn't build in OpenBSD 3.4. See <http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00242.html>.
2005-09-24* regex_internal.h (__attribute): Define to nothing for GCC 2.Paul Eggert
2005-09-24(__attribute): Define to nothing for GCC 2.Paul Eggert
This works around a core dump on OpenBSD 3.4, which has GCC 2.95.3, which dumps core when given __attribute__(()).
2005-09-24*** empty log message ***Jim Meyering