Jim Meyering [Sun, 12 Mar 2006 22:52:46 +0000 (22:52 +0000)]
(set_author): Rename function, from preserve_author.
Jim Meyering [Sun, 12 Mar 2006 22:47:35 +0000 (22:47 +0000)]
.
Jim Meyering [Sun, 12 Mar 2006 22:21:12 +0000 (22:21 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 22:21:05 +0000 (22:21 +0000)]
(AD_pop_and_chdir): Use new macro,
CYCLE_CHECK_REFLECT_CHDIR_UP, rather than open-coding it.
Jim Meyering [Sun, 12 Mar 2006 22:05:59 +0000 (22:05 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 22:05:18 +0000 (22:05 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 22:05:12 +0000 (22:05 +0000)]
(gl_ROOT_DEV_INO): Add same-inode.h to the list.
Jim Meyering [Sun, 12 Mar 2006 22:03:37 +0000 (22:03 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 22:03:17 +0000 (22:03 +0000)]
(leave_dir): If cycle-check's saved dev-ino pair matches
that of the current directory (which we're about to chdir ".." out of),
then save the dev-ino of the parent, instead.
Jim Meyering [Sun, 12 Mar 2006 22:02:12 +0000 (22:02 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 22:02:03 +0000 (22:02 +0000)]
(SAME_INODE): Remove definition.
Jim Meyering [Sun, 12 Mar 2006 22:01:29 +0000 (22:01 +0000)]
Include "same-inode.h".
(CYCLE_CHECK_REFLECT_CHDIR_UP): Define.
Jim Meyering [Sun, 12 Mar 2006 21:59:55 +0000 (21:59 +0000)]
(SAME_INODE): Remove definition.
Include "same-inode.h", instead.
Jim Meyering [Sun, 12 Mar 2006 21:59:29 +0000 (21:59 +0000)]
(SAME_INODE): Remove definition.
Include "same-inode.h", instead.
Jim Meyering [Sun, 12 Mar 2006 21:50:12 +0000 (21:50 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 21:49:48 +0000 (21:49 +0000)]
(gl_SAME): Add same-inode.h to the list.
Jim Meyering [Sun, 12 Mar 2006 21:48:52 +0000 (21:48 +0000)]
(gl_CYCLE_CHECK): Add same-inode.h to the list.
Jim Meyering [Sun, 12 Mar 2006 20:46:36 +0000 (20:46 +0000)]
(gl_CHDIR_SAFER): Add same-inode.h to the list.
Jim Meyering [Sun, 12 Mar 2006 20:45:31 +0000 (20:45 +0000)]
(SAME_INODE): New file/macro.
Jim Meyering [Sun, 12 Mar 2006 20:45:10 +0000 (20:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 20:45:04 +0000 (20:45 +0000)]
(SAME_INODE): Remove definition.
Include "same-inode.h", instead.
Jim Meyering [Sun, 12 Mar 2006 19:24:52 +0000 (19:24 +0000)]
.
Paul Eggert [Sun, 12 Mar 2006 08:07:34 +0000 (08:07 +0000)]
Remove asctime_r, ctime_r, and let m4 specify the sources.
Paul Eggert [Sun, 12 Mar 2006 08:07:09 +0000 (08:07 +0000)]
Add time_r.m4.
Paul Eggert [Sun, 12 Mar 2006 08:06:49 +0000 (08:06 +0000)]
(gl_PREREQ): Require gl_TIME_R.
Paul Eggert [Sun, 12 Mar 2006 08:06:00 +0000 (08:06 +0000)]
(asctime_r, ctime_r): Remove.
Paul Eggert [Sun, 12 Mar 2006 08:05:22 +0000 (08:05 +0000)]
(libcoreutils_a_SOURCES): Remove time_r.c, time_r.h,
as this is now done in m4.
Paul Eggert [Sun, 12 Mar 2006 08:04:42 +0000 (08:04 +0000)]
New file, from gnulib.
Jim Meyering [Sat, 11 Mar 2006 20:40:23 +0000 (20:40 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Mar 2006 20:40:18 +0000 (20:40 +0000)]
(robust_getcwd): Prepend only one slash, not two.
Jim Meyering [Fri, 10 Mar 2006 21:47:34 +0000 (21:47 +0000)]
Fix a bug whereby a user with write access to a directory being removed
could cause the removal of that directory to fail with an erroneous
diagnostic about a directory cycle. Reported by Vineet Chadha.
(AD_pop_and_chdir): If the directory we're about to
leave (and try to rmdir) is the one whose dev_ino is being used to
detect a cycle, reset cycle_check_state.dev_ino to that of the parent.
Jim Meyering [Fri, 10 Mar 2006 21:44:30 +0000 (21:44 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Mar 2006 21:31:53 +0000 (21:31 +0000)]
mention today's rm -r fix.
Jim Meyering [Fri, 10 Mar 2006 21:24:38 +0000 (21:24 +0000)]
*** empty log message ***
Paul Eggert [Wed, 8 Mar 2006 18:58:39 +0000 (18:58 +0000)]
Handle dd's file-creation flags even on file descriptors. Improve
test cases and documentation for these flags.
Paul Eggert [Wed, 8 Mar 2006 18:57:55 +0000 (18:57 +0000)]
Add test cases for append, nofollow, directory,
and nolinks flags. Simplify redirection to /dev/null in some cases.
Paul Eggert [Wed, 8 Mar 2006 18:57:39 +0000 (18:57 +0000)]
(set_fd_flags): Handle file-creation flags on file
descriptors, rather than ignoring them.
Paul Eggert [Wed, 8 Mar 2006 18:57:21 +0000 (18:57 +0000)]
Document dd's new 'directory' and 'nolinks' flags.
Paul Eggert [Wed, 8 Mar 2006 18:21:54 +0000 (18:21 +0000)]
iflags->iflag. This fixes a typo that meant the
noatime test never tested anything.
Jim Meyering [Mon, 6 Mar 2006 15:27:56 +0000 (15:27 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Mar 2006 15:27:50 +0000 (15:27 +0000)]
Add `SEE ALSO' references to syscalls from utilities of the same name.
Paul Eggert [Mon, 6 Mar 2006 07:22:02 +0000 (07:22 +0000)]
Describe dd, ls changes. Convert from Latin-1 to UTF-8.
Paul Eggert [Mon, 6 Mar 2006 07:21:40 +0000 (07:21 +0000)]
(dd invocation): New flags directory, nolinks.
Alphabetize nofollow.
Paul Eggert [Mon, 6 Mar 2006 07:20:35 +0000 (07:20 +0000)]
(O_NOLINKS): Define to 0 if not already defined.
Paul Eggert [Mon, 6 Mar 2006 07:20:19 +0000 (07:20 +0000)]
(flags, usage): New flags directory, nolinks.
Paul Eggert [Mon, 6 Mar 2006 07:02:39 +0000 (07:02 +0000)]
(usage): Mention that -f disables --color.
Jim Meyering [Sun, 5 Mar 2006 17:29:13 +0000 (17:29 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Mar 2006 17:28:51 +0000 (17:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Mar 2006 17:28:42 +0000 (17:28 +0000)]
Set SHELL, if not already set, in order to
avoid failure when `make check' is run through debuild; dircolors
would fail due to lack of $SHELL. Reported by Sven Joachim.
Jim Meyering [Sun, 5 Mar 2006 11:23:15 +0000 (11:23 +0000)]
.
Jim Meyering [Sun, 5 Mar 2006 11:20:57 +0000 (11:20 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Mar 2006 11:20:53 +0000 (11:20 +0000)]
Make `base64 --wrap=N' work for N=0, and for N larger than SIZE_MAX.
(wrap_write, do_encode, main): Change type of
parameters and locals, wrap_column, form size_t to uintmax_t.
(main): Adjust to use xstrtoumax, accordingly.
Jim Meyering [Fri, 3 Mar 2006 07:49:39 +0000 (07:49 +0000)]
add warning comment
Jim Meyering [Fri, 3 Mar 2006 07:44:12 +0000 (07:44 +0000)]
*** empty log message ***
Jim Meyering [Fri, 3 Mar 2006 07:44:02 +0000 (07:44 +0000)]
Don't fail when run from an environment with SHELL not a Bourne
shell, e.g. `env SHELL=/bin/csh make check' would fail this test.
Invoke each non-failing test with -b.
Reported by Michael Stone.
Paul Eggert [Thu, 2 Mar 2006 07:37:12 +0000 (07:37 +0000)]
Require gl_USE_SYSTEM_EXTENSIONS, not merely AC_GNU_SOURCE, for the
benefit of Solaris 10 when compiled pedantically.
Paul Eggert [Thu, 2 Mar 2006 03:42:49 +0000 (03:42 +0000)]
(gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test", not "==".
Jim Meyering [Mon, 27 Feb 2006 14:40:58 +0000 (14:40 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 14:40:49 +0000 (14:40 +0000)]
Derive --decode-using tests from the encode-based ones.
Jim Meyering [Mon, 27 Feb 2006 13:46:09 +0000 (13:46 +0000)]
Factor out a long constant string.
Split lines to stay within 80 columns.
Jim Meyering [Mon, 27 Feb 2006 13:40:16 +0000 (13:40 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 13:38:42 +0000 (13:38 +0000)]
(TESTS): Add base64.
Jim Meyering [Mon, 27 Feb 2006 13:38:22 +0000 (13:38 +0000)]
Test base64. From Simon Josefsson.
Jim Meyering [Mon, 27 Feb 2006 13:31:17 +0000 (13:31 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 13:31:12 +0000 (13:31 +0000)]
(do_decode): Use correct type for parameter, ignore_garbage: s/size_t/bool/.
Jim Meyering [Mon, 27 Feb 2006 11:06:29 +0000 (11:06 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 11:06:27 +0000 (11:06 +0000)]
Add src/base64.c.
Jim Meyering [Mon, 27 Feb 2006 11:03:31 +0000 (11:03 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 11:03:12 +0000 (11:03 +0000)]
base64 comes first
Jim Meyering [Mon, 27 Feb 2006 10:54:09 +0000 (10:54 +0000)]
.
Jim Meyering [Mon, 27 Feb 2006 10:53:49 +0000 (10:53 +0000)]
Build base64.1.
Jim Meyering [Mon, 27 Feb 2006 10:52:48 +0000 (10:52 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:52:01 +0000 (10:52 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:51:36 +0000 (10:51 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:49:40 +0000 (10:49 +0000)]
(libcoreutils_a_SOURCES): Add base64.h and base64.c.
Jim Meyering [Mon, 27 Feb 2006 10:48:35 +0000 (10:48 +0000)]
Add base64 to the list.
Jim Meyering [Mon, 27 Feb 2006 10:48:04 +0000 (10:48 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:47:56 +0000 (10:47 +0000)]
mention new program: base64
Jim Meyering [Mon, 27 Feb 2006 10:47:29 +0000 (10:47 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:47:23 +0000 (10:47 +0000)]
Add base64 section.
Jim Meyering [Mon, 27 Feb 2006 10:44:34 +0000 (10:44 +0000)]
(bin_PROGRAMS): Add base64.
Jim Meyering [Mon, 27 Feb 2006 10:43:01 +0000 (10:43 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:42:36 +0000 (10:42 +0000)]
(wrap_write): Correct declaration syntax: s/size_t * V/size_t *V/.
Jim Meyering [Mon, 27 Feb 2006 10:41:03 +0000 (10:41 +0000)]
Don't include .h files already included by system.h:
<string.h>, <stdlib.h>, <stdbool.h>, <limits.h>, <errno.h>.
Include "system.h" before the other lib/*.h header files.
Include <sys/types.h> before "system.h".
(wrap_write): Remove declaration of unused local, initial_column.
Jim Meyering [Mon, 27 Feb 2006 10:35:37 +0000 (10:35 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Feb 2006 10:03:17 +0000 (10:03 +0000)]
(NOT_AN_INODE_NUMBER, D_INO): Define (moved here from pwd.c).
Jim Meyering [Sun, 26 Feb 2006 10:02:49 +0000 (10:02 +0000)]
(NOT_AN_INODE_NUMBER, D_INO): Move definitions to system.h
Jim Meyering [Sun, 26 Feb 2006 10:01:05 +0000 (10:01 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Feb 2006 10:01:00 +0000 (10:01 +0000)]
In ls, avoid calling stat for --inode (-i), when possible.
(main): Prefer dirent.d_ino to stat when possible.
(gobble_file): Add inode argument.
(print_dir): Pass inode if available.
(usage): Remove inaccuracy.
Jim Meyering [Fri, 24 Feb 2006 20:06:29 +0000 (20:06 +0000)]
update from gnulib
Jim Meyering [Fri, 24 Feb 2006 07:24:24 +0000 (07:24 +0000)]
*** empty log message ***
Jim Meyering [Fri, 24 Feb 2006 07:24:18 +0000 (07:24 +0000)]
(gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and gl_CHDIR_SAFER.
Jim Meyering [Thu, 23 Feb 2006 14:57:17 +0000 (14:57 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Feb 2006 14:57:08 +0000 (14:57 +0000)]
Update/correct some obsolete entries.
Paul Eggert [Tue, 21 Feb 2006 06:42:29 +0000 (06:42 +0000)]
(AT_FDCWD): Work around a bug in Solaris 9 and 10, where
AT_FDCWD exceeds INT_MAX.
Paul Eggert [Tue, 21 Feb 2006 02:56:21 +0000 (02:56 +0000)]
Mention `sort -k 1b,1'.
Paul Eggert [Tue, 21 Feb 2006 02:55:31 +0000 (02:55 +0000)]
(usage): Mention `sort -k 1b,1'.
Paul Eggert [Tue, 21 Feb 2006 02:55:10 +0000 (02:55 +0000)]
(join invocation): Mention `sort -k 1b,1'.
Jim Meyering [Mon, 20 Feb 2006 16:50:14 +0000 (16:50 +0000)]
*** empty log message ***
Jim Meyering [Mon, 20 Feb 2006 16:50:11 +0000 (16:50 +0000)]
(rm invocation): Fix typo in last patch.
(paste invocation): Fix whitespace.