summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2005-05-18Include canonicalize.h first, to test interface.Paul Eggert
Include <stddef.h> unconditionally, since we assume C89 now. All uses of PTR_INT_TYPE replaced by ptrdiff_t.
2005-05-18Add copyright notice. gl_LIB_CHECK -> cu_LIB_CHECK.Paul Eggert
2005-05-16Fix Cygwin porting problem reported by Eric Blake.Paul Eggert
2005-05-16Fix Cygwin porting problem reported by Eric Blake.Paul Eggert
(DT_IS_DIR): Remove. (DT_IS_KNOWN, DT_MUST_BE): New macros. (remove_entry): Use them.
2005-05-16*** empty log message ***Jim Meyering
2005-05-16(gl_FUNC_FTS): Don't require AC_FUNC_MALLOC or AC_FUNC_REALLOC.Jim Meyering
They are not needed.
2005-05-15Sync from gnulib (scriptversion change only).Paul Eggert
2005-05-15Use geteuid, not getuid. Set "initialized" only if it was clear.Paul Eggert
2005-05-15Sync from gnulib.Paul Eggert
2005-05-14.Jim Meyering
2005-05-14*** empty log message ***Jim Meyering
2005-05-14Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.Jim Meyering
Add `AC_LIBOBJ([unlinkdir])'.
2005-05-14Regenerate.Paul Eggert
2005-05-14tweak cpp indentation on one lineJim Meyering
2005-05-14New unlinkdir module.Paul Eggert
2005-05-14(gl_PREREQ): Require gl_UNLINKDIR.Paul Eggert
2005-05-14* unlinkdir.c, unlinkdir.h: New files.Paul Eggert
2005-05-14* src/remove.c: Use new unlinkdir module.Paul Eggert
2005-05-14Include unlinkdir.h.Paul Eggert
(UNLINK_CAN_UNLINK_DIRS): Remove. (remove_entry): Use cannot_unlink_dirs () rather than UNLINK_CAN_UNLINK_DIRS.
2005-05-14remove recent temporary additionsJim Meyering
2005-05-14Correct cpp indentationJim Meyering
2005-05-14New unlinkdir module.Paul Eggert
2005-05-14Update FSF postal mail address.Jim Meyering
2005-05-14Update FSF postal mail address.Jim Meyering