summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2005-09-24Use `#ifdef HAVE_CONFIG_H', not `#if HAVE_CONFIG_H', for consistency with ↵Jim Meyering
gnulib.
2005-09-24*** empty log message ***Jim Meyering
2005-09-24Include <config.h> from strintcmp.c, not from here.Jim Meyering
2005-09-24Include <config.h> here, not from strnumcmp-in.h.Jim Meyering
2005-09-23*** empty log message ***Jim Meyering
2005-09-23(verify_type__): Use `unsigned int' as the bitfield typeJim Meyering
so we can once again use a positive bitfield width of 1 -- now we don't have to explain why we were using a bitfield width of 2.
2005-09-23*** empty log message ***Jim Meyering
2005-09-23Use 2, not 1, for bitfield size in verify.h.Paul Eggert
2005-09-23(verify_type__): Use 2, not 1, for bitfield size, to avoidPaul Eggert
a warning with Irix 6.5 cc.
2005-09-23Log recent changes.Paul Eggert
2005-09-23.Jim Meyering
2005-09-23* lib/utimens.c (futimens): Use futimesat if available.Paul Eggert
Prefer it to futimes since it doesn't have the futimes bug. * m4/utimens.m4 (gl_UTIMENS): Check for futimesat.
2005-09-23Fix typo in comment.Paul Eggert
2005-09-23(GL_CONCAT0, GL_CONCAT): Remove.Paul Eggert
(verify): Don't use the __LINE__ trick, as it doesn't work in general. Instead, declare a function that returns a pointer to an array, and use verify_type__ to declare the size of the array. Problem and germ of a solution reported by Bruno Haible.