summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2002-08-31*** empty log message ***Jim Meyering
2002-08-31Update from GNU libc.Jim Meyering
2002-08-31Update from GNU libc.Jim Meyering
2002-08-31Update from GNU libc.Jim Meyering
2002-08-31*** empty log message ***Jim Meyering
2002-08-31Update from GNU libc.Jim Meyering
2002-08-07*** empty log message ***Jim Meyering
2002-08-07(posixtime): Return bool instead of time_t, soJim Meyering
that we can return (time_t) -1 successfully.
2002-08-07Fix some minor time-related bugs with POSIX time arguments.Jim Meyering
Some valid time stamps were being rejected (notably -1, and time stamps before 1900 on 64-bit hosts). And some invalid time stamps were being accepted, e.g. September 31. * lib/posixtm.h (posixtime): Return bool instead of time_t, so that we can return (time_t) -1 successfully. * lib/posixtm.c: Likewise. [HAVE_STDBOOL_H]: Include <stdbool.h>. (bool, false, true) [!HAVE_STDBOOL_H]: New type. (t): Remove static var. (year, posix_time_parse): Now takes struct tm * arg to modify, instead of static var. All uses changed. (year): Do not reject years before 1900; they can occur with 64-bit time_t. (posix_time_parse): Do not check for out-of-range components; that is now the caller's responsibility, since our checks were only approximations. (posixtime): Use mktime to check for out-of-range components, since it knows them exactly. If mktime returns (time_t) -1, check whether an error actually occurred by invoking localtime on -1. (main) [TEST_POSIXTIME]: Check for input data errors, and report posixtime failures better. Improve the test data (in comments only).
2002-07-28.Jim Meyering
2002-07-27.Jim Meyering
2002-07-27If we have both utmpx.h and utmp.h, and there existsJim Meyering
the utmp.ut_exit member, but not the utmpx.ut_exit member, then undefine HAVE_UTMPX_H. For AIX 4.3.3. Doing all this in cpp is a big kludge; someday we'll put the brains in an autoconf macro. (UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Define.
2002-07-20.Jim Meyering
2002-07-20.Jim Meyering
2002-07-20.Jim Meyering
2002-07-20Adjust to work with new autoconf macros, AC_FUNC_MALLOCJim Meyering
and AC_FUNC_REALLOC: test #ifndef HAVE_MALLOC/HAVE_REALLOC.
2002-07-20.Jim Meyering
2002-07-20Upgrade to gettext-0.11.3.Jim Meyering
2002-07-15*** empty log message ***Jim Meyering
2002-07-15#undef MNT_IGNORE before defining it, to avoid warning on FreeBSD.Jim Meyering
2002-07-15Include <string.h>.Jim Meyering
2002-07-09*** empty log message ***Jim Meyering
2002-07-09(ME_DUMMY): Don't count entries of type `auto' as dummy ones.Jim Meyering
At least on GNU/Linux systems, `auto' means something else. From Michael Stone.
2002-07-01*** empty log message ***Jim Meyering
2002-07-01Include sys/time.h.Jim Meyering
From Volker Borchert.
2002-06-26*** empty log message ***Jim Meyering
2002-06-26(WIDE_CHAR_SUPPORT): New macro. Use it uniformly instead ofJim Meyering
(defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H). It also uses HAVE_BTOWC, to fix a porting bug on Solaris 2.5.1 reported by Vin Shelton.
2002-06-26from libcJim Meyering
2002-06-22*** empty log message ***Jim Meyering
2002-06-22(ISASCII, ISPRINT): Undefine, to avoid warning aboutJim Meyering
redefinition due to Solaris5.6's definition in /usr/include/sys/euc.h.
2002-06-22*** empty log message ***Jim Meyering
2002-06-22(segv_handler, c_stack_action) [! defined SA_SIGINFO]:Jim Meyering
Do not assume SA_SIGINFO behavior. Bug reported by Jim Meyering on NetBSD 1.5.2.
2002-06-22*** empty log message ***Jim Meyering
2002-06-22Update from diffutils-2.8.2.Jim Meyering
2002-06-22.Jim Meyering
2002-06-22(libfetish_a_SOURCES): Add exitfail.c and exitfail.h.Jim Meyering
2002-06-22New files, from diffutils-2.8.2.Jim Meyering
2002-06-22*** empty log message ***Jim Meyering
2002-06-22(libfetish_a_SOURCES): Add c-stack.c, too.Jim Meyering
2002-06-22New file, from diffutils-2.8.2.Jim Meyering
2002-06-22*** empty log message ***Jim Meyering
2002-06-22(libfetish_a_SOURCES): Add fnmatch_.h in place of fnmatch.h.Jim Meyering
(EXTRA_DIST): Add fnmatch_loop.c.
2002-06-22.Jim Meyering
2002-06-19*** empty log message ***Jim Meyering
2002-06-19Report an error if neither S_ISREG norJim Meyering
S_IFREG is defined, instead of using a test specific to glibc 2.2. This should be safe, since POSIX requires S_ISREG and Unix Version 7 had S_IFREG. We don't need to check for <sys/types.h> since we don't use any symbols that it defines.
2002-06-15*** empty log message ***Jim Meyering
2002-06-15(lstat.c, stat.c, .sin.sed): Use t-$@, rather than $@-t,Jim Meyering
so that each temporary file name is unique and valid in the first 8 characters, for operation under DOS.
2002-06-15(FILE_TYPE_H): Guard entire contents with #ifndef.Jim Meyering
For GNU libc 2.2 and newer, ensure that <sys/types.h> and <sys/stat.h> have been included before this file.
2002-06-15.Jim Meyering
2002-06-15*** empty log message ***Jim Meyering