platform/upstream/coreutils.git
19 years ago(re_protect): Remove unnecessary call to geteuid.
Paul Eggert [Tue, 31 May 2005 06:15:48 +0000 (06:15 +0000)]
(re_protect): Remove unnecessary call to geteuid.
Use chown_failure_ok rather than our own code.
(cp_options_init): Use chown_privileges rather than getuid.

19 years agoAdd copyright notice.
Paul Eggert [Tue, 31 May 2005 06:15:18 +0000 (06:15 +0000)]
Add copyright notice.
(struct cp_options): Remove myeuid member.  Add chown_privileges
member.
(chown_privileges, chown_failure_ok): New function decls.

19 years agoPort to Solaris 10's rules for whether programs can chown files.
Paul Eggert [Tue, 31 May 2005 06:14:24 +0000 (06:14 +0000)]
Port to Solaris 10's rules for whether programs can chown files.
[HAVE_PRIV_H]: Include <priv.h>.
(DO_CHOWN): Remove.  Replaced by chown_failure_ok.  All callers
changed.
(copy_internal): If chown failed, don't worry about what happened
to the mode bits; they can't have changed.
(chown_privileges, chown_failure_ok): New functions.

19 years ago* jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for priv.h.
Paul Eggert [Tue, 31 May 2005 06:13:44 +0000 (06:13 +0000)]
* jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for priv.h.

19 years ago(gl_CHECK_ALL_HEADERS): Check for priv.h.
Paul Eggert [Tue, 31 May 2005 06:13:25 +0000 (06:13 +0000)]
(gl_CHECK_ALL_HEADERS): Check for priv.h.

19 years ago.
Jim Meyering [Mon, 30 May 2005 09:04:13 +0000 (09:04 +0000)]
.

19 years agoRegenerate.
Paul Eggert [Mon, 30 May 2005 07:41:32 +0000 (07:41 +0000)]
Regenerate.

19 years ago_POSIX_VERSION cleanup
Paul Eggert [Mon, 30 May 2005 07:37:02 +0000 (07:37 +0000)]
_POSIX_VERSION cleanup

19 years agoInclude sys/param.h if it exists, not if _POSIX_VERSION
Paul Eggert [Mon, 30 May 2005 07:34:23 +0000 (07:34 +0000)]
Include sys/param.h if it exists, not if _POSIX_VERSION
isn't defined.
Don't include <sys/file.h>; no longer needed.
(getegid, geteuid): Remove no-longer-necessary decls.

19 years agoDon't bother mentioning _POSIX_VERSION in comment.
Paul Eggert [Mon, 30 May 2005 07:33:55 +0000 (07:33 +0000)]
Don't bother mentioning _POSIX_VERSION in comment.

19 years ago(OPENOPTS, TEXT1T01, TEXTCNVT): Remove.
Paul Eggert [Mon, 30 May 2005 07:33:38 +0000 (07:33 +0000)]
(OPENOPTS, TEXT1T01, TEXTCNVT): Remove.
(digest_file): Use O_BINARY-using expr instead of OPENOPTS.

19 years ago(getpwnam, getgrnam): Remove decl.
Paul Eggert [Mon, 30 May 2005 07:33:16 +0000 (07:33 +0000)]
(getpwnam, getgrnam): Remove decl.
(getuid, getgid) [!defined _POSIX_VERSION]: Remove decls.

19 years ago(getpwuid, getgrgid, getuid, getgid, geteuid, getegid)
Paul Eggert [Mon, 30 May 2005 07:33:00 +0000 (07:33 +0000)]
(getpwuid, getgrgid, getuid, getgid, geteuid, getegid)
[!defined _POSIX_VERSION]: Remove decls.

19 years ago(geteuid) [!defined _POSIX_VERSION]: Remove decl.
Paul Eggert [Mon, 30 May 2005 07:32:16 +0000 (07:32 +0000)]
(geteuid) [!defined _POSIX_VERSION]: Remove decl.

19 years ago(getgrnam, getgrgid) [!defined _POSIX_VERSION]:
Paul Eggert [Mon, 30 May 2005 07:31:51 +0000 (07:31 +0000)]
(getgrnam, getgrgid) [!defined _POSIX_VERSION]:
Remove decls.

19 years ago(getgrnam) [!defined _POSIX_VERSION]: Remove decl.
Paul Eggert [Mon, 30 May 2005 07:31:31 +0000 (07:31 +0000)]
(getgrnam) [!defined _POSIX_VERSION]: Remove decl.

19 years ago(getpwnam, getgrnam, getgrgid)
Paul Eggert [Mon, 30 May 2005 07:31:12 +0000 (07:31 +0000)]
(getpwnam, getgrnam, getgrgid)
[!defined _POSIX_VERSION]: Remove decls; not needed these days.

19 years agoInclude <limits.h> unconditionally, since other
Paul Eggert [Mon, 30 May 2005 07:30:51 +0000 (07:30 +0000)]
Include <limits.h> unconditionally, since other
files have been getting away with it for years (MORE/BSD 4.3
is extinct now).

19 years ago(getpwuid, getpwnam, getgrgid, getgrnam)
Paul Eggert [Mon, 30 May 2005 07:30:31 +0000 (07:30 +0000)]
(getpwuid, getpwnam, getgrgid, getgrnam)
[!defined _POSIX_VERSION]: Remove decls; not needed these days.

19 years ago(getuid, getgid, getuid, getegid)
Paul Eggert [Mon, 30 May 2005 07:30:01 +0000 (07:30 +0000)]
(getuid, getgid, getuid, getegid)
[!defined _POSIX_VERSION]: Remove decls; not needed these days.

19 years ago(_POSIX_PATH_MAX) [!defined _POSIX_PATH_MAX]:
Paul Eggert [Mon, 30 May 2005 07:05:07 +0000 (07:05 +0000)]
(_POSIX_PATH_MAX) [!defined _POSIX_PATH_MAX]:
Define to 256, not 255, as per modern POSIX.

19 years agodd seek=N now conforms to POSIX if the output isn't seekable.
Paul Eggert [Sat, 28 May 2005 04:24:14 +0000 (04:24 +0000)]
dd seek=N now conforms to POSIX if the output isn't seekable.

19 years agodd seek=N now conforms to POSIX if the output isn't seekable.
Paul Eggert [Sat, 28 May 2005 04:22:43 +0000 (04:22 +0000)]
dd seek=N now conforms to POSIX if the output isn't seekable.

19 years ago(skip): Return the number of records that were not
Paul Eggert [Sat, 28 May 2005 04:22:26 +0000 (04:22 +0000)]
(skip): Return the number of records that were not
skipped due to encountering EOF.
(dd_copy): If the file wasn't seekable and EOF was encountered,
write zeros past EOF until the desired offset is reached.

19 years ago* fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
Paul Eggert [Sat, 28 May 2005 00:01:15 +0000 (00:01 +0000)]
* fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
and don't require gt_INTTYPES_PRI.

19 years ago(gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
Paul Eggert [Sat, 28 May 2005 00:01:00 +0000 (00:01 +0000)]
(gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
and don't require gt_INTTYPES_PRI.

19 years agofts.c: Don't worry about debugging on pre-C99-comopatible hosts.
Paul Eggert [Sat, 28 May 2005 00:00:38 +0000 (00:00 +0000)]
fts.c: Don't worry about debugging on pre-C99-comopatible hosts.

19 years agoDon't worry about debugging on pre-C99-comopatible hosts;
Paul Eggert [Sat, 28 May 2005 00:00:06 +0000 (00:00 +0000)]
Don't worry about debugging on pre-C99-comopatible hosts;
the configuration hassle isn't worth it.
Include inttypes.h and stdint.h unconditionally if FTS_DEBUG.
(LONGEST_MODIFIER, PRIuMAX): Remove.

19 years agoexpr and test now correctly compare integers of unlimited size.
Paul Eggert [Fri, 27 May 2005 20:37:14 +0000 (20:37 +0000)]
expr and test now correctly compare integers of unlimited size.

19 years agoInclude inttostr.h, strnumcmp.h.
Paul Eggert [Fri, 27 May 2005 20:36:58 +0000 (20:36 +0000)]
Include inttostr.h, strnumcmp.h.
(whitespace, digit, digit_value, integer_expected_error): Remove.
(is_int): Remove; replaced by...
(find_int): New function.
(binary_operator): Don't let integers overflow in comparisons;
return the correct answer instead.  Simplify the code.
(unary_operator): Convert the integer ourself, since find_int
no longer does so.

19 years agoRefactor so that others can use large-integer
Paul Eggert [Fri, 27 May 2005 20:36:40 +0000 (20:36 +0000)]
Refactor so that others can use large-integer
comparison functions.
Include "strnumcmp.h".
(NEGATION_SIGN, NUMERIC_ZERO, fraccompare):
Remove; moved to strnumcmp.
(decimal_point): Now int, to simplify converison overhead with
new API.  All uses changed.
(thousands_sep): Now -1 if there isn't one, as per new API.
All uses changed.
(numcompare): Move contents to strnumcmp module, except for
skipping blanks.

19 years agoInclude strnumcmp.h, xstrtol.h.
Paul Eggert [Fri, 27 May 2005 20:36:20 +0000 (20:36 +0000)]
Include strnumcmp.h, xstrtol.h.
(looks_like_integer): New function.
(toarith): Use it.  Also, use xstrtoimax rather than rolling our
own diagnostics.
(eval2): Don't look for trouble if !evaluate; this simplifies things.
Compare numbers using string comparison, so that overflow is
not possible.

19 years agoBreak integer-in-string comparison code out from src/sort.
Paul Eggert [Fri, 27 May 2005 20:35:33 +0000 (20:35 +0000)]
Break integer-in-string comparison code out from src/sort.

19 years ago(gl_PREREQ): Require gl_STRINTCMP, gl_STRNUMCMP.
Paul Eggert [Fri, 27 May 2005 20:35:07 +0000 (20:35 +0000)]
(gl_PREREQ): Require gl_STRINTCMP, gl_STRNUMCMP.

19 years agoCompare numeric strings.
Paul Eggert [Fri, 27 May 2005 20:34:48 +0000 (20:34 +0000)]
Compare numeric strings.

19 years agoBreak integer-in-string comparison code out from src/sort.
Paul Eggert [Fri, 27 May 2005 20:34:03 +0000 (20:34 +0000)]
Break integer-in-string comparison code out from src/sort.

19 years ago(eq-6, gt-5, lt-5): New tests.
Paul Eggert [Fri, 27 May 2005 20:32:43 +0000 (20:32 +0000)]
(eq-6, gt-5, lt-5): New tests.

19 years ago(bigcmp): New test.
Paul Eggert [Fri, 27 May 2005 20:32:28 +0000 (20:32 +0000)]
(bigcmp): New test.

19 years agoexpr and test now correctly compare integers of unlimited size.
Paul Eggert [Fri, 27 May 2005 20:31:59 +0000 (20:31 +0000)]
expr and test now correctly compare integers of unlimited size.
(Also, correct a comment that claimed that expr detects integer
overflow; it does so only when converting from strings.)

19 years agoFix typo in comment.
Paul Eggert [Thu, 26 May 2005 19:30:04 +0000 (19:30 +0000)]
Fix typo in comment.

19 years agonohup now redirects a tty stdin to an unreadable fd instead of closing it.
Paul Eggert [Thu, 26 May 2005 19:27:50 +0000 (19:27 +0000)]
nohup now redirects a tty stdin to an unreadable fd instead of closing it.

19 years ago*** empty log message ***
Jim Meyering [Thu, 26 May 2005 18:35:59 +0000 (18:35 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Thu, 26 May 2005 18:35:33 +0000 (18:35 +0000)]
*** empty log message ***

19 years ago.
Jim Meyering [Thu, 26 May 2005 18:34:18 +0000 (18:34 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Thu, 26 May 2005 16:09:43 +0000 (16:09 +0000)]
*** empty log message ***

19 years ago(toarith): Fix a sign error introduced on 2005-01-14.
Jim Meyering [Thu, 26 May 2005 16:09:38 +0000 (16:09 +0000)]
(toarith): Fix a sign error introduced on 2005-01-14.

19 years agoAdd tests using arithmetic on negative integers.
Jim Meyering [Thu, 26 May 2005 16:09:29 +0000 (16:09 +0000)]
Add tests using arithmetic on negative integers.

19 years ago(fd_safer) [_LGPL_PACKAGE]: New static function,
Paul Eggert [Sun, 22 May 2005 17:29:46 +0000 (17:29 +0000)]
(fd_safer) [_LGPL_PACKAGE]: New static function,
so that unistd-safer.h (GPL'ed code) need not be included.

19 years ago*** empty log message ***
Jim Meyering [Sat, 21 May 2005 06:44:36 +0000 (06:44 +0000)]
*** empty log message ***

19 years agofix typo in a comment
Jim Meyering [Sat, 21 May 2005 06:42:41 +0000 (06:42 +0000)]
fix typo in a comment

19 years agoImport chown fixes from gnulib.
Paul Eggert [Fri, 20 May 2005 22:48:40 +0000 (22:48 +0000)]
Import chown fixes from gnulib.

19 years ago(gl_FUNC_CHOWN): Correct sense of test for honoring IDs of -1.
Paul Eggert [Fri, 20 May 2005 22:48:25 +0000 (22:48 +0000)]
(gl_FUNC_CHOWN): Correct sense of test for honoring IDs of -1.

19 years ago(rpl_chown): Return -1 on failure.
Paul Eggert [Fri, 20 May 2005 22:48:08 +0000 (22:48 +0000)]
(rpl_chown): Return -1 on failure.

19 years agoRegenerate.
Paul Eggert [Fri, 20 May 2005 22:38:38 +0000 (22:38 +0000)]
Regenerate.

19 years ago* config.guess: Sync from gnulib.
Paul Eggert [Fri, 20 May 2005 22:37:58 +0000 (22:37 +0000)]
* config.guess: Sync from gnulib.

19 years agoSync from gnulib.
Paul Eggert [Fri, 20 May 2005 22:37:45 +0000 (22:37 +0000)]
Sync from gnulib.

19 years agoSplit fts into LGPL'ed and GPL'ed parts.
Paul Eggert [Fri, 20 May 2005 22:34:44 +0000 (22:34 +0000)]
Split fts into LGPL'ed and GPL'ed parts.

19 years agoDon't include "cycle-check.h" or "hash.h".
Paul Eggert [Fri, 20 May 2005 22:34:19 +0000 (22:34 +0000)]
Don't include "cycle-check.h" or "hash.h".
(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.

19 years ago(_LGPL_PACKAGE) [defined _LIBC]: New macro.
Paul Eggert [Fri, 20 May 2005 22:33:59 +0000 (22:33 +0000)]
(_LGPL_PACKAGE) [defined _LIBC]: New macro.
(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.

19 years ago* fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
Paul Eggert [Fri, 20 May 2005 22:33:32 +0000 (22:33 +0000)]
* fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
(gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.

19 years ago(gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
Paul Eggert [Fri, 20 May 2005 22:33:12 +0000 (22:33 +0000)]
(gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
(gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.

19 years agoNew file, containing GPL'ed code migrated out of
Paul Eggert [Fri, 20 May 2005 22:32:50 +0000 (22:32 +0000)]
New file, containing GPL'ed code migrated out of
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.

19 years ago*** empty log message ***
Jim Meyering [Fri, 20 May 2005 04:27:00 +0000 (04:27 +0000)]
*** empty log message ***

19 years ago(fts_open): Remove useless but otherwise harmless malloc call.
Jim Meyering [Fri, 20 May 2005 04:26:35 +0000 (04:26 +0000)]
(fts_open): Remove useless but otherwise harmless malloc call.
Spotted by Paul Eggert.

19 years ago*** empty log message ***
Jim Meyering [Thu, 19 May 2005 10:37:43 +0000 (10:37 +0000)]
*** empty log message ***

19 years ago(AD_mark_helper, AD_mark_current_as_unremovable):
Jim Meyering [Thu, 19 May 2005 10:37:40 +0000 (10:37 +0000)]
(AD_mark_helper, AD_mark_current_as_unremovable):
Remove inaccurate-but-harmless `const' attributes.

19 years ago*** empty log message ***
Jim Meyering [Thu, 19 May 2005 10:34:52 +0000 (10:34 +0000)]
*** empty log message ***

19 years ago(decode_field_spec): Add an abort after
Jim Meyering [Thu, 19 May 2005 10:34:46 +0000 (10:34 +0000)]
(decode_field_spec): Add an abort after
`error (EXIT_FAILURE, ...' to avoid a gcc warning in caller,
about variables being used uninitialized.

19 years ago*** empty log message ***
Jim Meyering [Thu, 19 May 2005 08:54:44 +0000 (08:54 +0000)]
*** empty log message ***

19 years ago(cannot_unlink_dir) [UNLINK_CANNOT_UNLINK_DIR]:
Jim Meyering [Thu, 19 May 2005 08:54:40 +0000 (08:54 +0000)]
(cannot_unlink_dir) [UNLINK_CANNOT_UNLINK_DIR]:
Use #define rather than a static function, to avoid a warning
when the function was not used.

19 years agoremove trailing blanks
Jim Meyering [Wed, 18 May 2005 21:39:11 +0000 (21:39 +0000)]
remove trailing blanks

19 years agoRegenerate.
Paul Eggert [Wed, 18 May 2005 19:36:47 +0000 (19:36 +0000)]
Regenerate.

19 years agoImport localcharset.m4 from gnulib.
Paul Eggert [Wed, 18 May 2005 19:34:04 +0000 (19:34 +0000)]
Import localcharset.m4 from gnulib.

19 years agoRemove some dependencies and old cruft from fts etc.
Paul Eggert [Wed, 18 May 2005 19:32:57 +0000 (19:32 +0000)]
Remove some dependencies and old cruft from fts etc.

19 years agoRemove test for HAVE_LIMITS_H; we can assume
Paul Eggert [Wed, 18 May 2005 19:32:28 +0000 (19:32 +0000)]
Remove test for HAVE_LIMITS_H; we can assume
it's always true now.

19 years agoAdd copyright notice.
Paul Eggert [Wed, 18 May 2005 19:32:11 +0000 (19:32 +0000)]
Add copyright notice.
(factor_LDADD): Remove, as factor no longer needs sqrt.

19 years agoAdd copyright notice.
Paul Eggert [Wed, 18 May 2005 19:31:47 +0000 (19:31 +0000)]
Add copyright notice.
(gl_PREREQ): Add gl_LOCALCHARSET.

19 years agolib-check.m4: Add copyright notice.
Paul Eggert [Wed, 18 May 2005 19:31:20 +0000 (19:31 +0000)]
lib-check.m4: Add copyright notice.
(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".

19 years ago(gl_MACROS): Require AC_FUNC_LSTAT.
Paul Eggert [Wed, 18 May 2005 19:31:00 +0000 (19:31 +0000)]
(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.

19 years ago(AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
Paul Eggert [Wed, 18 May 2005 19:30:31 +0000 (19:30 +0000)]
(AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.

19 years ago(gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
Paul Eggert [Wed, 18 May 2005 19:30:06 +0000 (19:30 +0000)]
(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.

19 years ago(AC_FUNC_CANONICALIZE_FILE_NAME]): Don't check for stddef.h.
Paul Eggert [Wed, 18 May 2005 19:29:41 +0000 (19:29 +0000)]
(AC_FUNC_CANONICALIZE_FILE_NAME]): Don't check for stddef.h.

19 years agoDo not include hash.h or cycle-check.h; no longer needed.
Paul Eggert [Wed, 18 May 2005 19:29:11 +0000 (19:29 +0000)]
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.

19 years agoInclude fts_.h first, to check interface.
Paul Eggert [Wed, 18 May 2005 19:28:48 +0000 (19:28 +0000)]
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.

19 years agoInclude canonicalize.h first, to test interface.
Paul Eggert [Wed, 18 May 2005 19:28:21 +0000 (19:28 +0000)]
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.

19 years agoAdd copyright notice. gl_LIB_CHECK -> cu_LIB_CHECK.
Paul Eggert [Wed, 18 May 2005 19:27:39 +0000 (19:27 +0000)]
Add copyright notice.  gl_LIB_CHECK -> cu_LIB_CHECK.

19 years agoFix Cygwin porting problem reported by Eric Blake.
Paul Eggert [Mon, 16 May 2005 20:29:08 +0000 (20:29 +0000)]
Fix Cygwin porting problem reported by Eric Blake.

19 years agoFix Cygwin porting problem reported by Eric Blake.
Paul Eggert [Mon, 16 May 2005 20:28:53 +0000 (20:28 +0000)]
Fix Cygwin porting problem reported by Eric Blake.
(DT_IS_DIR): Remove.
(DT_IS_KNOWN, DT_MUST_BE): New macros.
(remove_entry): Use them.

19 years ago*** empty log message ***
Jim Meyering [Mon, 16 May 2005 13:11:04 +0000 (13:11 +0000)]
*** empty log message ***

19 years ago(gl_FUNC_FTS): Don't require AC_FUNC_MALLOC or AC_FUNC_REALLOC.
Jim Meyering [Mon, 16 May 2005 13:10:53 +0000 (13:10 +0000)]
(gl_FUNC_FTS): Don't require AC_FUNC_MALLOC or AC_FUNC_REALLOC.
They are not needed.

19 years agoSync from gnulib (scriptversion change only).
Paul Eggert [Sun, 15 May 2005 07:03:04 +0000 (07:03 +0000)]
Sync from gnulib (scriptversion change only).

19 years agoUse geteuid, not getuid. Set "initialized" only if it was clear.
Paul Eggert [Sun, 15 May 2005 05:57:31 +0000 (05:57 +0000)]
Use geteuid, not getuid.  Set "initialized" only if it was clear.

19 years agoSync from gnulib.
Paul Eggert [Sun, 15 May 2005 04:35:48 +0000 (04:35 +0000)]
Sync from gnulib.

19 years ago.
Jim Meyering [Sat, 14 May 2005 19:13:51 +0000 (19:13 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Sat, 14 May 2005 10:34:13 +0000 (10:34 +0000)]
*** empty log message ***

19 years agoRegister unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.
Jim Meyering [Sat, 14 May 2005 10:34:00 +0000 (10:34 +0000)]
Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.
Add `AC_LIBOBJ([unlinkdir])'.

19 years agoRegenerate.
Paul Eggert [Sat, 14 May 2005 08:17:38 +0000 (08:17 +0000)]
Regenerate.

19 years agotweak cpp indentation on one line
Jim Meyering [Sat, 14 May 2005 08:14:47 +0000 (08:14 +0000)]
tweak cpp indentation on one line

19 years agoNew unlinkdir module.
Paul Eggert [Sat, 14 May 2005 08:12:17 +0000 (08:12 +0000)]
New unlinkdir module.

19 years ago(gl_PREREQ): Require gl_UNLINKDIR.
Paul Eggert [Sat, 14 May 2005 08:11:32 +0000 (08:11 +0000)]
(gl_PREREQ): Require gl_UNLINKDIR.