summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-04-04getdate patch for empty string near dst changes.Paul Eggert
2005-04-04(parser_control): rels_seen is now a boolean, not aPaul Eggert
count, since there's no maximum. All uses changed. Add member dsts_seen. (local_zone): Accumulate dsts_seen rather than relying on tm_isdst not being INT_MAX. (get_date): Initialize dsts_seen, and check that it doesn't go over 1. Use pc_rels_seen to decide whther a date is absolute. (number): Don't overwrite year. (get_date): Initialize pc.year.digits to 0, not 4, to enable above check.
2005-03-30* readutmp.c (read_utmp) [!defined UTMP_NAME_FUNCTION]: Don't assumePaul Eggert
utmp file is a regular file.
2005-03-30(read_utmp) [!defied UTMP_NAME_FUNCTION]: Add support for options.Paul Eggert
Don't assume the file is a regular file.
2005-03-30readutmp changes to allow checking for live pidsPaul Eggert
2005-03-30(read_utmp): New arg OPTIONS. All uses changed.Paul Eggert
(UT_PID): Moved here from ../src/who.c. (READ_UTMP_CHECK_PIDS): New constant.
2005-03-30(read_utmp): New arg OPTIONS. All uses changed.Paul Eggert
Include signal.h, stdbool.h. (desirable_utmp_entry): New function. (read_utmp) [defined UTMP_NAME_FUNCTION]: Redo memory allocation using x2nrealloc, to simplify logic. (read_utmp) [!defined UTMP_NAME_FUNCTION]: Check for overflow in size calculation.
2005-03-29*** empty log message ***Jim Meyering
2005-03-29(long_options): Use NULL, not `0'.Jim Meyering
2005-03-27*** empty log message ***Jim Meyering
2005-03-27(argmatch): Clarify comment: null-terminated -> NULL-terminated.Jim Meyering
2005-03-26Propagate intprops.h comment fixes to mktime.c and strftime.c.Paul Eggert
2005-03-26one's complement -> ones' complementPaul Eggert
2005-03-26one's complement -> ones' complementPaul Eggert
2005-03-26Fix comment nits in intprops.h.Paul Eggert
2005-03-26Fix comment nits.Paul Eggert
2005-03-23*** empty log message ***Jim Meyering
2005-03-23Remove duplicate `#include "stat-macros.h"'.Jim Meyering
2005-03-22.Jim Meyering
2005-03-21Regenerate.Paul Eggert
2005-03-21* Makefile.am (libfetish_a_SOURCES): Remove stat-macros.h, xstrtoul.c,Paul Eggert
as they are now done by Autoconf macros.
2005-03-21(libfetish_a_SOURCES): Remove stat-macros.h, xstrtoul.c,Paul Eggert
as they are now done by Autoconf macros.
2005-03-21Regenerate.Paul Eggert
2005-03-21Sync from gnulib.Paul Eggert
2005-03-19.Jim Meyering
2005-03-19* strftime.c (my_strftime): If the underlying strftime returns 0Paul Eggert
(which shouldn't happen), generate nothing instead of returning 0 immediately, so that nstrftime (NULL, ...) doesn't return 0.
2005-03-19(my_strftime): If the underlying strftime returns 0Paul Eggert
(which shouldn't happen), generate nothing instead of returning 0 immediately, so that nstrftime (NULL, ...) doesn't return 0.
2005-03-16* strftime.c (my_strftime): Prepend space to format.Paul Eggert
2005-03-16(my_strftime): Prepend space to format so that we canPaul Eggert
reliably distinguish strftime failure from empty output on POSIX hosts.
2005-03-15Fix comments and indenting.Paul Eggert
2005-03-15Sync mktime.c and strtol.c macros from intprops.h.Paul Eggert
2005-03-14* strftime.c (my_strftime) [HAVE_STRFTIME && ! (_NL_CURRENTPaul Eggert
&& HAVE_STRUCT_ERA_ENTRY)]: Initialize the first byte of ubuf[].
2005-03-11*** empty log message ***Jim Meyering
2005-03-09Add TYPE_ONES_COMPLEMENT and TYPE_SIGNED_MAGNITUDE, and usePaul Eggert
less-tricky TYPE_MINIMUM and TYPE_MAXIMUM.
2005-03-09*** empty log message ***Jim Meyering
2005-03-09[!HAVE_FCHDIR]: Define open, fchdir, and chdir_longJim Meyering
so that this module works on systems without fchdir.
2005-03-09.Jim Meyering
2005-03-09*** empty log message ***Jim Meyering
2005-03-09(libfetish_a_SOURCES): Remove xstrtol.c and xstrtol.h.Jim Meyering
2005-03-09Factor int-properties macros into a single file, except forPaul Eggert
glibc-related files.
2005-03-09Include xstrtol.h first, to test interface.Paul Eggert
Include intprops.h. (TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Remove.
2005-03-09Include intprops.h.Paul Eggert
(TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Remove.
2005-03-09Include intprops.h.Paul Eggert
(TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Remove. (utimecmp): Use TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT instead of rolling our own expressions.
2005-03-09Include intprops.h.Paul Eggert
(TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Remove.
2005-03-09Adjust comments to match intprops.h.Paul Eggert
2005-03-09(TYPE_SIGNED): Remove.Paul Eggert
(INT_STRLEN_BOUND): Switch to same implementation as intprops.h.
2005-03-09Include <signal.h>, intprops.h.Paul Eggert
(INT_STRLEN_BOUND): Remove.
2005-03-09(TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT): New macros,Paul Eggert
for consistency with intprops.h. (time_t_is_integer, twos_complement_arithmetic): Use them.
2005-03-09Include intprops.h instead of limits.h.Paul Eggert
(INT_STRLEN_BOUND, INT_BUFSIZE_BOUND): Remove.
2005-03-09(LONGEST_HUMAN_READABLE): Use 146/485 rather than 302/1000.Paul Eggert