Jim Meyering [Thu, 4 May 2000 05:34:55 +0000 (05:34 +0000)]
Update from glibc.
Jim Meyering [Wed, 3 May 2000 11:12:54 +0000 (11:12 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 May 2000 11:10:32 +0000 (11:10 +0000)]
During ls, set LANGUAGE (for GNU gettext)
and LC_ALL (for systems which look at LC_MESSAGES).
Jim Meyering [Wed, 3 May 2000 11:09:07 +0000 (11:09 +0000)]
use rm, not $RM
Jim Meyering [Wed, 3 May 2000 11:07:51 +0000 (11:07 +0000)]
Define LC_ALL instead of LANG, in case the user has
LC_CTYPE or LC_ALL set. Define it and LANGUAGE before the first "sort" call.
Jim Meyering [Wed, 3 May 2000 08:40:33 +0000 (08:40 +0000)]
Remove declaration of strndup.
Jim Meyering [Wed, 3 May 2000 08:39:29 +0000 (08:39 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 May 2000 08:37:57 +0000 (08:37 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 May 2000 08:37:40 +0000 (08:37 +0000)]
(!HAVE_DECL_STRNDUP): Declare strndup.
Jim Meyering [Wed, 3 May 2000 08:37:11 +0000 (08:37 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 May 2000 08:37:03 +0000 (08:37 +0000)]
(AC_CHECK_DECLS): Add strndup.
Jim Meyering [Wed, 3 May 2000 08:30:24 +0000 (08:30 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 May 2000 08:30:18 +0000 (08:30 +0000)]
(AC_SYS_LARGEFILE): Define _GNU_SOURCE if
this is needed to make ftello visible (e.g. glibc 2.1.3). Use
compile-time test, rather than inspecting host and OS, to
decide whether to define _LARGEFILE_SOURCE.
Jim Meyering [Tue, 2 May 2000 14:07:39 +0000 (14:07 +0000)]
.
Jim Meyering [Tue, 2 May 2000 06:57:00 +0000 (06:57 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 May 2000 06:56:31 +0000 (06:56 +0000)]
don't hard-code `rm'
Jim Meyering [Tue, 2 May 2000 06:55:49 +0000 (06:55 +0000)]
(usage): Add the answer to `How do I remove a file named -f?'
Jim Meyering [Mon, 1 May 2000 14:59:21 +0000 (14:59 +0000)]
*** empty log message ***
Jim Meyering [Mon, 1 May 2000 14:40:08 +0000 (14:40 +0000)]
(full_write): Remove `FIXME' part of comment.
Jim Meyering [Mon, 1 May 2000 14:15:17 +0000 (14:15 +0000)]
*** empty log message ***
Jim Meyering [Mon, 1 May 2000 14:10:38 +0000 (14:10 +0000)]
*** empty log message ***
Jim Meyering [Mon, 1 May 2000 14:09:19 +0000 (14:09 +0000)]
(change_attributes): Don't remove the destination file upon failure.
Jim Meyering [Mon, 1 May 2000 13:55:09 +0000 (13:55 +0000)]
[checked in with intention to back out...]
(change_attributes): Unlink the destination file
if either of the chown or the chmod calls fails. Don't even attempt
the chmod if the chown fails.
Suggestion from Marc Olzheim.
Jim Meyering [Mon, 1 May 2000 11:40:52 +0000 (11:40 +0000)]
.
Jim Meyering [Mon, 1 May 2000 08:36:29 +0000 (08:36 +0000)]
*** empty log message ***
Jim Meyering [Mon, 1 May 2000 08:36:13 +0000 (08:36 +0000)]
Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
Jim Meyering [Mon, 1 May 2000 08:32:35 +0000 (08:32 +0000)]
fix typos
Jim Meyering [Mon, 1 May 2000 08:29:38 +0000 (08:29 +0000)]
*** empty log message ***
Jim Meyering [Mon, 1 May 2000 08:29:28 +0000 (08:29 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
Based on a patch from Bruno Haible.
Jim Meyering [Mon, 1 May 2000 08:03:33 +0000 (08:03 +0000)]
(read_filesystem_list): Add BeOS support.
Jim Meyering [Mon, 1 May 2000 07:58:34 +0000 (07:58 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
Jim Meyering [Sun, 30 Apr 2000 21:48:27 +0000 (21:48 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Apr 2000 21:48:23 +0000 (21:48 +0000)]
(O_NOCTTY): Define if not defined already.
(touch): Add O_NOCTTY to the flags passed to open.
Jim Meyering [Sun, 30 Apr 2000 16:25:54 +0000 (16:25 +0000)]
.
Jim Meyering [Sun, 30 Apr 2000 16:25:30 +0000 (16:25 +0000)]
.
Jim Meyering [Sun, 30 Apr 2000 16:25:24 +0000 (16:25 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Apr 2000 16:24:00 +0000 (16:24 +0000)]
.
Jim Meyering [Sun, 30 Apr 2000 16:20:57 +0000 (16:20 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Apr 2000 16:19:57 +0000 (16:19 +0000)]
tweak comment
Jim Meyering [Sun, 30 Apr 2000 16:19:06 +0000 (16:19 +0000)]
Detect and terminate upon write failure.
Jim Meyering [Sun, 30 Apr 2000 11:19:35 +0000 (11:19 +0000)]
alphabetize
Jim Meyering [Sat, 29 Apr 2000 10:18:29 +0000 (10:18 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Apr 2000 10:17:42 +0000 (10:17 +0000)]
[LSTAT_FOLLOWS_SLASHED_SYMLINK] (lstat): Define to rpl_lstat.
Jim Meyering [Sat, 29 Apr 2000 09:37:44 +0000 (09:37 +0000)]
use an all-symbolic mode string
Jim Meyering [Sat, 29 Apr 2000 09:25:58 +0000 (09:25 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Apr 2000 09:25:09 +0000 (09:25 +0000)]
Declare strdup only if it's not defined.
Jim Meyering [Sat, 29 Apr 2000 08:44:40 +0000 (08:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Apr 2000 08:44:11 +0000 (08:44 +0000)]
*** empty log message ***
Jim Meyering [Fri, 28 Apr 2000 16:50:24 +0000 (16:50 +0000)]
*** empty log message ***
Jim Meyering [Fri, 28 Apr 2000 16:49:38 +0000 (16:49 +0000)]
[HAVE_LIMITS_H]: Include limits.h before regex.h to avoid
redefinition warning on some systems (HPUX). Otherwise, regex.h is
included first, then limits.h is included by locale.h by libintl.h.
From John David Anglin.
Jim Meyering [Thu, 27 Apr 2000 12:27:08 +0000 (12:27 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:23:59 +0000 (12:23 +0000)]
(pop_dir): Remove through_symlink arg; use null cwd
for that purpose instead.
(count_entry): Also save the directory if we're saving more
than one level.
Fix file descriptor and memory leak when chdir fails.
Jim Meyering [Thu, 27 Apr 2000 12:19:38 +0000 (12:19 +0000)]
.
Jim Meyering [Thu, 27 Apr 2000 12:17:43 +0000 (12:17 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:15:23 +0000 (12:15 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:13:20 +0000 (12:13 +0000)]
.
Jim Meyering [Thu, 27 Apr 2000 12:13:11 +0000 (12:13 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:12:42 +0000 (12:12 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:10:38 +0000 (12:10 +0000)]
fix typo
Jim Meyering [Thu, 27 Apr 2000 12:09:44 +0000 (12:09 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:08:59 +0000 (12:08 +0000)]
Use mkdir, not $MKDIR.
Jim Meyering [Thu, 27 Apr 2000 12:08:19 +0000 (12:08 +0000)]
(TESTS_ENVIRONMENT): Set PATH, not MKDIR.
Jim Meyering [Thu, 27 Apr 2000 08:31:18 +0000 (08:31 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:47:05 +0000 (06:47 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:46:13 +0000 (06:46 +0000)]
tweak comment
Jim Meyering [Thu, 27 Apr 2000 06:44:20 +0000 (06:44 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:36:05 +0000 (06:36 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:34:07 +0000 (06:34 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:30:59 +0000 (06:30 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:30:26 +0000 (06:30 +0000)]
(TESTS): Add special-1.
Jim Meyering [Wed, 26 Apr 2000 21:59:34 +0000 (21:59 +0000)]
*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 21:59:01 +0000 (21:59 +0000)]
*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 12:55:48 +0000 (12:55 +0000)]
*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 12:54:26 +0000 (12:54 +0000)]
*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 12:52:54 +0000 (12:52 +0000)]
*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 12:43:19 +0000 (12:43 +0000)]
*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 12:43:12 +0000 (12:43 +0000)]
Rename global: s/path_mode/create_parents/.
(main): No longer perform explicit chmod when creating
parent directories, since make_path now does the chmod.
Jim Meyering [Wed, 26 Apr 2000 12:36:49 +0000 (12:36 +0000)]
.
Jim Meyering [Wed, 26 Apr 2000 12:36:43 +0000 (12:36 +0000)]
(S_IRWXUGO): Define.
(make_path): Always perform explicit chmod if MODE specifies any
of the `special' permission bits.
Jim Meyering [Wed, 19 Apr 2000 15:36:15 +0000 (15:36 +0000)]
*** empty log message ***
Jim Meyering [Wed, 19 Apr 2000 15:36:05 +0000 (15:36 +0000)]
[__BEOS__]: Ignore O_BINARY and O_TEXT.
Jim Meyering [Tue, 18 Apr 2000 17:28:34 +0000 (17:28 +0000)]
*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 13:41:26 +0000 (13:41 +0000)]
add comment
Jim Meyering [Tue, 18 Apr 2000 13:40:29 +0000 (13:40 +0000)]
*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 13:40:25 +0000 (13:40 +0000)]
[!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define getpagesize.
For BeOS. Based on a patch from Bruno Haible.
Jim Meyering [Tue, 18 Apr 2000 13:35:22 +0000 (13:35 +0000)]
*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 13:35:18 +0000 (13:35 +0000)]
(jm_PREREQ_GETPAGESIZE): New macro.
(jm_PREREQ): Use it.
Jim Meyering [Mon, 17 Apr 2000 11:39:36 +0000 (11:39 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Apr 2000 11:39:26 +0000 (11:39 +0000)]
(my_strftime) [strftime]: Declare strftime here, since the definition
of it to rpl_strftime also defined-away the system's declaration.
Jim Meyering [Mon, 17 Apr 2000 11:26:33 +0000 (11:26 +0000)]
.
Jim Meyering [Mon, 17 Apr 2000 09:56:02 +0000 (09:56 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Apr 2000 09:55:53 +0000 (09:55 +0000)]
Get it right :-)
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
Suggestion from Akim Demaille.
Jim Meyering [Mon, 17 Apr 2000 08:19:52 +0000 (08:19 +0000)]
Accept new option: --from=CURRENT_OWNER:CURRENT_GROUP.
(enum) [FROM_OPTION]: New member.
(long_options): New getopt spec.
(change_file_owner): Add old_user, old_group parameters. Use them.
(change_dir_owner): Likewise.
(usage): Describe.
(main): New case.
Jim Meyering [Mon, 17 Apr 2000 06:49:07 +0000 (06:49 +0000)]
Don't remove support for --max-consecutive-size-changes just yet...
Jim Meyering [Sun, 16 Apr 2000 16:28:46 +0000 (16:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Apr 2000 16:03:44 +0000 (16:03 +0000)]
(tail invocation): Remove description.
Jim Meyering [Sun, 16 Apr 2000 16:03:34 +0000 (16:03 +0000)]
Remove option: --max-consecutive-size-changes=N.
Doesn't seem useful.
(usage): Remove description.
Jim Meyering [Sun, 16 Apr 2000 13:51:27 +0000 (13:51 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Apr 2000 13:51:22 +0000 (13:51 +0000)]
New option: --strip-trailing-slashes.
(enum) [STRIP_TRAILING_SLASHES_OPTION]: New member.
(remove_trailing_slashes): New global.
(long_opts): New getopt spec.
(usage): Describe.
(do_copy): Strip trailing slashes on SOURCE names only if the new
option has been specified.
(main): New case.
Jim Meyering [Sun, 16 Apr 2000 13:49:22 +0000 (13:49 +0000)]
(TESTS): Add symlink-slash.