summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-05-27Compare numeric strings.Paul Eggert
2005-05-27Break integer-in-string comparison code out from src/sort.Paul Eggert
2005-05-27(eq-6, gt-5, lt-5): New tests.Paul Eggert
2005-05-27(bigcmp): New test.Paul Eggert
2005-05-27expr and test now correctly compare integers of unlimited size.Paul Eggert
(Also, correct a comment that claimed that expr detects integer overflow; it does so only when converting from strings.)
2005-05-26Fix typo in comment.Paul Eggert
2005-05-26nohup now redirects a tty stdin to an unreadable fd instead of closing it.Paul Eggert
2005-05-26*** empty log message ***Jim Meyering
2005-05-26*** empty log message ***Jim Meyering
2005-05-26.Jim Meyering
2005-05-26*** empty log message ***Jim Meyering
2005-05-26(toarith): Fix a sign error introduced on 2005-01-14.Jim Meyering
2005-05-26Add tests using arithmetic on negative integers.Jim Meyering
2005-05-22(fd_safer) [_LGPL_PACKAGE]: New static function,Paul Eggert
so that unistd-safer.h (GPL'ed code) need not be included.
2005-05-21*** empty log message ***Jim Meyering
2005-05-21fix typo in a commentJim Meyering
2005-05-20Import chown fixes from gnulib.Paul Eggert
2005-05-20(gl_FUNC_CHOWN): Correct sense of test for honoring IDs of -1.Paul Eggert
2005-05-20(rpl_chown): Return -1 on failure.Paul Eggert
2005-05-20Regenerate.Paul Eggert
2005-05-20* config.guess: Sync from gnulib.Paul Eggert
2005-05-20Sync from gnulib.Paul Eggert
2005-05-20Split fts into LGPL'ed and GPL'ed parts.Paul Eggert
2005-05-20Don't include "cycle-check.h" or "hash.h".Paul Eggert
(setup_dir, free_dir): New functions. (enter_dir, leave_dir): Define trivial alternatives of _LGPL_PACKAGE. Move to fts-cycle.c if !_LGPL_PACKAGE. (HT_INITIAL_SIZE, ENTER_DIR): Remove. All uses removed. (LEAVE_DIR): Fix typo: pass Fts and Ent to leave_dir. (struct Active_dir, AD_compare, AD_hash, enter_dir, leave_dir): Move to fts-cycle.c. (fts_open): Use setup_dir. (fts_close): Use free_dir. (fts_read): Have just one copy of the ENTER_DIR code rather than three. This adds a label and some gotos, but the alternatives were messier. Check for memory allocation failure when entering a dir. (fts_stat) [_LGPL_PACKAGE]: Bring back glibc cycle detection code.
2005-05-20(_LGPL_PACKAGE) [defined _LIBC]: New macro.Paul Eggert
(FTS): New member fts_cycle, that is a union that contains the old active_dir_ht and cycle_state. All uses changed to mention fts_cycle.ht and fts_cycle.state.
2005-05-20* fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.Paul Eggert
(gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
2005-05-20(gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.Paul Eggert
(gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
2005-05-20New file, containing GPL'ed code migrated out ofPaul Eggert
fts.c, with the following changes: (setup_dir, free_dir): New functions. (enter_dir): Now returns bool. Return true if successful, false if memory exhausted. All callers changed. Do not bother partly cleaning up on memory allocation failure; that is free_dir's job. However, free ad if hash_insert fails, to avoid memory leak. (enter_dir, leave_dir): Accommodate change to FTS by inspecting fts->fts_options to see which union member to use.
2005-05-20*** empty log message ***Jim Meyering
2005-05-20(fts_open): Remove useless but otherwise harmless malloc call.Jim Meyering
Spotted by Paul Eggert.
2005-05-19*** empty log message ***Jim Meyering
2005-05-19(AD_mark_helper, AD_mark_current_as_unremovable):Jim Meyering
Remove inaccurate-but-harmless `const' attributes.
2005-05-19*** empty log message ***Jim Meyering
2005-05-19(decode_field_spec): Add an abort afterJim Meyering
`error (EXIT_FAILURE, ...' to avoid a gcc warning in caller, about variables being used uninitialized.
2005-05-19*** empty log message ***Jim Meyering
2005-05-19(cannot_unlink_dir) [UNLINK_CANNOT_UNLINK_DIR]:Jim Meyering
Use #define rather than a static function, to avoid a warning when the function was not used.
2005-05-18remove trailing blanksJim Meyering
2005-05-18Regenerate.Paul Eggert
2005-05-18Import localcharset.m4 from gnulib.Paul Eggert
2005-05-18Remove some dependencies and old cruft from fts etc.Paul Eggert
2005-05-18Remove test for HAVE_LIMITS_H; we can assumePaul Eggert
it's always true now.
2005-05-18Add copyright notice.Paul Eggert
(factor_LDADD): Remove, as factor no longer needs sqrt.
2005-05-18Add copyright notice.Paul Eggert
(gl_PREREQ): Add gl_LOCALCHARSET.
2005-05-18lib-check.m4: Add copyright notice.Paul Eggert
(cu_LIB_CHECK): Renamed from gl_LIB_CHECK. Don't check for sqrt; factor no longer needs it. Revamp tests for floor, modf, rint, to define SEQ_LIBM. Redo tests for fesetround to act like the other wons. Use "cu_saved_libs" for local var name, not "ac_su_saved_lib".
2005-05-18(gl_MACROS): Require AC_FUNC_LSTAT.Paul Eggert
Don't check for memcpy, strchr, strerror, strrchr, float.h. Use AC_REQUIRE on AM_LANGINFO_CODESET and gl_GLIBC21 rather than invoking them directly. (gl_CHECK_ALL_HEADERS): Don't check for errno.h, float.h, limits.h, stddef.h, since we assume C89 now.
2005-05-18(AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't definePaul Eggert
GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
2005-05-18(gl_FUNC_FTS): Don't require AC_HEADER_STDC, as wePaul Eggert
don't use its results. Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h, since we include them unconditionally. Don't require AM_STDBOOL_H, since stdbool is a prerequisite. Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t since we assume C89 or better. Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT, as we don't use their results. Don't check for fchdir, memmove, memset, strrchr, as we use them unconditionally.
2005-05-18(AC_FUNC_CANONICALIZE_FILE_NAME]): Don't check for stddef.h.Paul Eggert
2005-05-18Do not include hash.h or cycle-check.h; no longer needed.Paul Eggert
(FTS): Use struct hash_table * instead of Hash_table, so that we no longer need to include hash.h here.
2005-05-18Include fts_.h first, to check interface.Paul Eggert
Do not include intprops.h; no longer needed. Include cycle-check.h and hash.h, since fts_.h no longer does. Remove unnecessary casts of closedir to void. (fts_build): Use a simpler method (not involving TYPE_SIGNED) to decide whether to decrement nlinks.