summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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.
2005-09-23*** empty log message ***Jim Meyering
2005-09-23Include <config.h>. Otherwise builds with strictJim Meyering
C89 (e.g., Sun's /opt/SUNWspro/bin/c89) would fail due to the use of `inline'.
2005-09-23* lib/getaddrinfo.c [HAVE_NETINET_IN_H]: Include <netinet/in.h>.Paul Eggert
Problem reported by Eric Blake. (getaddrinfo): Initialize se so that it's not garbage. Redo internal storage allocation so that it doesn't make unportable assumptions about alignment. Fix a memory leak.
2005-09-22.Jim Meyering
2005-09-22Regenerate.Paul Eggert
2005-09-22Sync from gnulib.Paul Eggert
2005-09-22(libcoreutils_a_SOURCES): Add getaddrinfo.h,Paul Eggert
mbchar.c, mbchar.h, mbuiter.h, strcase.h, strlen1.c, strnlen1.h, strstr.h.
2005-09-22Nontrivial sync from gnulib.Paul Eggert
2005-09-22Add getline.h, getpass.cPaul Eggert
2005-09-22(GL_CONCAT): Remove.Paul Eggert
Include "verify.h" instead. (ARGMATCH_CONSTRAINT, ARGMATCH_ASSERT): Remove. (ARGMATCH_VERIFY): Rewrite in terms of new verify macros.
2005-09-22(VERIFY_EXPR, X2NREALLOC, X2REALLOC): Remove.Paul Eggert
The latter two macros are moving to ../src/system.h for now. This reverts this file to the gnulib version.