summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2003-05-08*** empty log message ***Jim Meyering
2003-05-08(timespec_subtract): Don't modify the 2nd arg.Jim Meyering
Work even if X-Y overflows when subtracting. Make explicit the assumption that tv_nsec must be in range. (clock_get_realtime): Remove. All callers changed to invoke gettime, for simplicity. (xnanosleep): Check for gettime failure every time.
2003-05-08(clock_get_realtime): Use gettime.c's gettime function,Jim Meyering
rather than an inferior, open-coded version that would fail on AIX systems due to clock_gettime failing with errno == ENOSYS.
2003-05-06*** empty log message ***Jim Meyering
2003-05-05*** empty log message ***Jim Meyering
2003-05-05(struct dummy): Ensure that at least the number ofJim Meyering
initializers matches the number of members in the corresponding enum.
2003-05-05(enum Ftw_option): Name this previously-anonymous enum.Jim Meyering
(enum Ftw_option) [FTW_N_MEMBERS]: New member.
2003-05-05Avoid array overrun.Jim Meyering
(nftw_arr): Update to reflect complete list of members. (ftw_arr): Likewise
2003-05-04*** empty log message ***Jim Meyering
2003-05-04*** empty log message ***Jim Meyering
2003-05-04(__set_errno, LOCK, UNLOCK): Define.Jim Meyering
(unsetenv): Update from GNU libc. Ifdef-out this function, since the only caller is putenv.c and that file now has its own copy.
2003-05-04*** empty log message ***Jim Meyering
2003-05-04This avoids a core dump on systems without GNU putenv,Jim Meyering
when running `env -u SOME_ALREADY_UNSET_VARIABLE'. (unsetenv): New static function, from libc. (rpl_putenv): Use it.
2003-05-02*** empty log message ***Jim Meyering
2003-05-02(canonicalize_file_name) [!HAVE_RESOLVEPATH]:Jim Meyering
A memory-allocation error could result in heap corruption. Fix it by also updating `dest' when rpath may be changed by xrealloc.
2003-04-24.Jim Meyering
2003-04-15*** empty log message ***Jim Meyering
2003-04-15Remove (or replace-with-TAB(s) to retain alignment)Jim Meyering
each sequence of spaces before a TAB character.
2003-04-15Remove (or replace-with-TAB(s) to retain alignment)Jim Meyering
each sequence of spaces before a TAB character.
2003-04-15Remove (or replace-with-TAB(s) to retain alignment)Jim Meyering
each sequence of spaces before a TAB character.
2003-04-15Remove (or replace-with-TAB(s) to retain alignment)Jim Meyering
each sequence of spaces before a TAB character.
2003-04-15Remove (or replace-with-TAB(s) to retain alignment)Jim Meyering
each sequence of spaces before a TAB character.
2003-04-15Remove (or replace-with-TAB(s) to retain alignment)Jim Meyering
each sequence of spaces before a TAB character.
2003-04-11Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.Jim Meyering
2003-04-11*** empty log message ***Jim Meyering
2003-04-11Include <string.h> and <stdlib.h> unconditionally.Jim Meyering
2003-04-11Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.Jim Meyering
2003-04-11Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.Jim Meyering
2003-04-11.Jim Meyering
2003-04-11(XMALLOC, XCALLOC, XREALLOC): Remove unnecessary casts.Jim Meyering
2003-04-11*** empty log message ***Jim Meyering
2003-04-11Remove use of PARAMS.Jim Meyering
2003-04-11(PARAMS): Remove definitions and uses.Jim Meyering
2003-04-10*** empty log message ***Jim Meyering
2003-04-10(canonicalize_file_name): NUL-terminate the result.Jim Meyering
2003-04-10(canonicalize_file_name): Always free `extra_buf' before returning.Jim Meyering
2003-04-10(canonicalize_file_name): Return NULL immediately if resolvepath fails.Jim Meyering
Otherwise, `readlink --canonical /no-such-file' would exhaust virtual memory on some systems (e.g. Solaris).
2003-04-10*** empty log message ***Jim Meyering
2003-04-10(canonicalize_file_name): Remove stray semicolonJim Meyering
that caused `readlink --canonical RELATIVE_NAME' to fail on e.g., Solaris systems.
2003-04-05.Jim Meyering
2003-04-05*** empty log message ***Jim Meyering
2003-04-05(DEFS): Use += notation rather than `DEFS = ... @DEFS@'.Jim Meyering
Use $(VAR) rather than @VAR@, now that we can rely on automake to emit a definition for each substituted variable.
2003-04-04*** empty log message ***Jim Meyering
2003-04-04[TEST_DIRNAME]: Update build instructions for test.Jim Meyering
Add test-cases for DOS filenames. Declare program_name. (main): Set up program_name.
2003-03-22*** empty log message ***Jim Meyering
2003-03-22(widen): Cast alloca return value to proper type.Jim Meyering
2003-03-22*** empty log message ***Jim Meyering
2003-03-22(NEW_PATTERN): Cast alloca to proper type.Jim Meyering
Otherwise, it wouldn't compile with at least /bin/cc on ymp-cray-unicos9.0.2.X. Combine two mostly-identical uses of alloca into one.
2003-03-20.Jim Meyering
2003-03-19*** empty log message ***Jim Meyering