Commit Graph
20889 Commits
Author SHA1 Message Date
Paul Eggert 1575fd4adc (gl_MACROS): Require AC_FUNC_LSTAT.
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 19:31:00 +00:00
Paul Eggert 30fd8394e1 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
2005-05-18 19:30:31 +00:00
Paul Eggert 85d0299334 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
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 19:30:06 +00:00
Paul Eggert 4dcf2356b7 (AC_FUNC_CANONICALIZE_FILE_NAME]): Don't check for stddef.h. 2005-05-18 19:29:41 +00:00
Paul Eggert ae2b26dd0d Do not include hash.h or cycle-check.h; no longer needed.
(FTS): Use struct hash_table * instead of Hash_table, so that
we no longer need to include hash.h here.
2005-05-18 19:29:11 +00:00
Paul Eggert b569baa020 Include fts_.h first, to check interface.
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-18 19:28:48 +00:00
Paul Eggert 0d3649e30d Include canonicalize.h first, to test interface.
Include <stddef.h> unconditionally, since we assume C89 now.
All uses of PTR_INT_TYPE replaced by ptrdiff_t.
2005-05-18 19:28:21 +00:00
Paul Eggert d067c0cde3 Add copyright notice. gl_LIB_CHECK -> cu_LIB_CHECK. 2005-05-18 19:27:39 +00:00
Paul Eggert 0f10230a24 Fix Cygwin porting problem reported by Eric Blake. 2005-05-16 20:29:08 +00:00
Paul Eggert 002c26a153 Fix Cygwin porting problem reported by Eric Blake.
(DT_IS_DIR): Remove.
(DT_IS_KNOWN, DT_MUST_BE): New macros.
(remove_entry): Use them.
2005-05-16 20:28:53 +00:00
Jim Meyering d3ea604602 *** empty log message *** 2005-05-16 13:11:04 +00:00
Jim Meyering 40cd9fdf30 (gl_FUNC_FTS): Don't require AC_FUNC_MALLOC or AC_FUNC_REALLOC.
They are not needed.
2005-05-16 13:10:53 +00:00
Paul Eggert 842c8c486f Sync from gnulib (scriptversion change only). 2005-05-15 07:03:04 +00:00
Paul Eggert 99ad01b0d5 Use geteuid, not getuid. Set "initialized" only if it was clear. 2005-05-15 05:57:31 +00:00
Paul Eggert 6517e41a01 Sync from gnulib. 2005-05-15 04:35:48 +00:00
Jim Meyering 53a152ff60 . 2005-05-14 19:13:51 +00:00
Jim Meyering 10f6a16c7b *** empty log message *** 2005-05-14 10:34:13 +00:00
Jim Meyering 4ecefdf18a Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.
Add `AC_LIBOBJ([unlinkdir])'.
2005-05-14 10:34:00 +00:00
Paul Eggert 070140df89 Regenerate. 2005-05-14 08:17:38 +00:00
Jim Meyering afae3029ef tweak cpp indentation on one line 2005-05-14 08:14:47 +00:00
Paul Eggert 676c76bee7 New unlinkdir module. 2005-05-14 08:12:17 +00:00
Paul Eggert fe7b1c00b9 (gl_PREREQ): Require gl_UNLINKDIR. 2005-05-14 08:11:32 +00:00
Paul Eggert 7b18bf3811 * unlinkdir.c, unlinkdir.h: New files. 2005-05-14 08:09:23 +00:00
Paul Eggert be13a1f653 * src/remove.c: Use new unlinkdir module. 2005-05-14 08:06:22 +00:00
Paul Eggert 0675749903 Include unlinkdir.h.
(UNLINK_CAN_UNLINK_DIRS): Remove.
(remove_entry): Use cannot_unlink_dirs () rather than
UNLINK_CAN_UNLINK_DIRS.
2005-05-14 08:05:35 +00:00
Jim Meyering effcdb2647 remove recent temporary additions 2005-05-14 08:05:04 +00:00
Jim Meyering 8ac343fffa Correct cpp indentation 2005-05-14 08:03:44 +00:00
Paul Eggert 2e71ba4dd2 New unlinkdir module. 2005-05-14 08:01:17 +00:00
Jim Meyering 44d59bb168 Update FSF postal mail address. 2005-05-14 07:58:31 +00:00
Jim Meyering 116e6fb244 Update FSF postal mail address. 2005-05-14 07:58:06 +00:00
Jim Meyering a5d7b5f8aa One more
gethrxtime.c
2005-05-14 07:57:58 +00:00
Jim Meyering f9be76236b Add these temporarily:
unlocked-io.h
gethrxtime.h
mountlist.h
xtime.h
path-concat.c
2005-05-14 07:57:36 +00:00
Jim Meyering c6db442aee unlocked-io.h 2005-05-14 07:56:31 +00:00
Jim Meyering 7e387bd78d . 2005-05-14 07:40:16 +00:00
Jim Meyering 979d7201a7 don't add gl_UNLINKDIR just yet :) 2005-05-14 07:36:16 +00:00
Jim Meyering e4a2650e94 . 2005-05-14 07:34:36 +00:00
Jim Meyering 3788003d66 *** empty log message *** 2005-05-14 07:27:24 +00:00
Jim Meyering 3c0cce93e2 Don't require gl_FUNC_STAT or gl_FUNC_LSTAT. 2005-05-14 07:27:21 +00:00
Jim Meyering 54cd404524 Remove unnecessary file. 2005-05-14 07:27:06 +00:00
Jim Meyering 48cf66ad55 *** empty log message *** 2005-05-14 07:25:57 +00:00
Jim Meyering 661e61bac5 Update FSF postal mail address. 2005-05-14 07:25:26 +00:00
Jim Meyering f096a0da75 *** empty log message *** 2005-05-14 06:58:11 +00:00
Jim Meyering c0c815af8d Update FSF postal mail address. 2005-05-14 06:57:06 +00:00
Paul Eggert 4a3c27dd70 "bytes, words and lines" -> "lines, words, and bytes" in comment 2005-05-13 19:35:06 +00:00
Jim Meyering 909dd8df1c fix grammar typo in comment 2005-05-13 08:42:35 +00:00
Jim Meyering a738692de4 . 2005-05-13 08:20:32 +00:00
Jim Meyering fbb6084338 rm now performs run-time test to work around buggy readdir implementations 2005-05-13 08:16:53 +00:00
Jim Meyering 79c068deb3 *** empty log message *** 2005-05-13 07:53:57 +00:00
Jim Meyering ac67bbc649 (gl_MACROS): Don't require GL_FUNC_READDIR. 2005-05-13 07:53:47 +00:00
Jim Meyering 94181613c3 (GL_FUNC_READDIR): Remove, now that remove.c no longer needs it. 2005-05-13 07:53:30 +00:00