summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-03-15*** empty log message ***Jim Meyering
2004-03-15`date --date="21:04 +0100" +%S' would print the seconds valueJim Meyering
from the current time, rather than `00'. For a date string like `10:23 +0100', set the number of seconds to zero. Reported by Marc Haber.
2004-03-11.Jim Meyering
2004-03-04.Jim Meyering
2004-03-04*** empty log message ***Jim Meyering
2004-03-04(getloadavg): Use `true', not `1'.Jim Meyering
2004-03-04*** empty log message ***Jim Meyering
2004-03-04(set_cloexec_flag) [ ! (F_GETFD && F_SETFD)]: Return true, not false.Jim Meyering
2004-03-04*** empty log message ***Jim Meyering
2004-03-04Include <stdbool.h>.Jim Meyering
Adjust signature to use `bool' rather than `int'.
2004-03-04Include "cloexec.h" first, and <unistd.h> before <fcntl.h>.Jim Meyering
(set_cloexec_flag): Use bool for booleans. All uses changed. If F_GETFD returns a negative number (not just -1), report a failure. Don't use F_SETFD if the flags are already right. Don't report a failure with F_SETFD unless it returns -1.
2004-03-03Include "cloexec.h".Jim Meyering
(getloadavg): Use set_cloexec_flag instead of manual fcntl call.
2004-03-03*** empty log message ***Jim Meyering
2004-03-03(libfetish_a_SOURCES): Add cloexec.c, cloexec.h.Jim Meyering
2004-03-03from Dmitry V. LevinJim Meyering
2004-03-03New file.Jim Meyering
The set_cloexec_flag implementation imported from GNU C Library Reference Manual.
2004-03-03*** empty log message ***Jim Meyering
2004-03-03Don't include "posixver.h".Jim Meyering
(parse_user_spec): Fall back on USER.GROUP parsing regardless of POSIX version, as POSIX 1003.1-2001 allows that behavior as a compatible extension. Simplify code by removing a boolean int that was always nonzero if a string was nonnull.
2004-03-02.Jim Meyering
2004-02-05*** empty log message ***Jim Meyering
2004-02-05(ST_TIME_CMP_NS, ST_TIME_CMP): Define.Jim Meyering
(ATIME_CMP, CTIME_CMP, MTIME_CMP, TIMESPEC_NS): Likewise. From coreutils' system.h.
2004-01-29*** empty log message ***Jim Meyering
2004-01-29[HAVE_SYS_UCRED_H]: Include grp.h before sys/ucred.h.Jim Meyering
2004-01-21*** empty log message ***Jim Meyering
2004-01-21Include "exitfail.h".Jim Meyering
(STRTOL_FATAL_ERROR): Exit with status exit_failure, not 2.
2004-01-21(obstack_exit_failure) [!defined _LIBC]:Jim Meyering
Now a macro referring to exit_failure, instead of a separate variable. Include "exitfail.h" to get it.
2004-01-21(parse_long_options): Use prototype for usage function arg.Jim Meyering
Pass it EXIT_SUCCESS rather than 0, for clarity.
2004-01-21Comment fix to match the above.Jim Meyering
2004-01-21(ARGMATCH_DIE) [! defined ARGMATCH_DIE]:Jim Meyering
Include "exitfail.h", and use exit_failure rather than EXIT_FAILURE.
2004-01-21tweak comment: from Paul EggertJim Meyering
2004-01-21*** empty log message ***Jim Meyering
2004-01-21(__mktime_internal) [!_LIBC]: Define to mktime_internalJim Meyering
so as not to conflict with a different-sized __mktime_internal function in GNU libc.
2004-01-16.Jim Meyering
2004-01-16Test HAVE_DECL_GETC_UNLOCKED, rather than HAVE_GETC_UNLOCKED.Jim Meyering
2004-01-16*** empty log message ***Jim Meyering
2004-01-16Merge from gnulib.Jim Meyering
Include <stdio.h>, so that the caller doesn't have to include <stdio.h> before us. (clearerr_unlocked, feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked, fputc_unlocked, fputs_unlocked, fread_unlocked, fwrite_unlocked, getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked): Define to the unlocked counterpart if not declared, so that we can use getpass.c code from libc without rewriting it. (flockfile, ftrylockfile, funlockfile): New macros.
2004-01-16*** empty log message ***Jim Meyering
2004-01-16Merge fnmatch patches from glibc.Jim Meyering
(mbsinit): Remove define. Add libc_hidden_ver (__fnmatch, fnmatch).
2004-01-16(ALLOCA_LIMIT): Remove macro, which collidedJim Meyering
with like-named macro in fnmatch.c. (EXT): Use an internal constant instead. Merge fnmatch patches from glibc. (FCT): Cast to int32_t and UCHAR when appropriate. Adjust to renaming of collseq_table_lookup to __collseq_table_lookup.
2004-01-16Remove dependency on xalloc module.Jim Meyering
(xalloc_die): Remove. (memory_full) [!defined emacs]: New macro. [!defined emacs]: Don't include xalloc.h. (alloca): Invoke memory_full, not xalloc_die, if malloc fails or address arithmetic overflows. Change datatypes a bit to avoid unnecessary casts.
2004-01-16update copyright to sync from gnulibJim Meyering
2004-01-16.Jim Meyering
2004-01-15*** empty log message ***Jim Meyering
2004-01-15Include posixver.h.Jim Meyering
2004-01-12.Jim Meyering
2004-01-11*** empty log message ***Jim Meyering
2004-01-11(DEFAULT_POSIX2_VERSION): Use definition of new,Jim Meyering
optional configure-time default.
2004-01-11.Jim Meyering
2004-01-11.Jim Meyering
2004-01-10*** empty log message ***Jim Meyering