platform/upstream/coreutils.git
18 years ago(basename invocation, dirname invocation):
Jim Meyering [Sun, 26 Mar 2006 12:11:40 +0000 (12:11 +0000)]
(basename invocation, dirname invocation):
Improve documentation to match recent // patches.

18 years ago*** empty log message ***
Jim Meyering [Sun, 26 Mar 2006 12:09:09 +0000 (12:09 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sun, 26 Mar 2006 12:08:27 +0000 (12:08 +0000)]
*** empty log message ***

18 years ago(log_su, run_shell): Use new last_component, in place of base_name.
Jim Meyering [Sun, 26 Mar 2006 12:08:20 +0000 (12:08 +0000)]
(log_su, run_shell): Use new last_component, in place of base_name.

18 years ago(next_file_name): Use new last_component, in place of base_name.
Jim Meyering [Sun, 26 Mar 2006 12:08:10 +0000 (12:08 +0000)]
(next_file_name): Use new last_component, in place of base_name.

18 years ago(wipename): Use new last_component, in place of base_name.
Jim Meyering [Sun, 26 Mar 2006 12:07:59 +0000 (12:07 +0000)]
(wipename): Use new last_component, in place of base_name.

18 years ago(rm_1): Use new last_component, in place of base_name.
Jim Meyering [Sun, 26 Mar 2006 12:07:47 +0000 (12:07 +0000)]
(rm_1): Use new last_component, in place of base_name.

18 years ago(target_directory_operand, movefile): Use new last_component, in place of base_name.
Jim Meyering [Sun, 26 Mar 2006 12:07:34 +0000 (12:07 +0000)]
(target_directory_operand, movefile): Use new last_component, in place of base_name.

18 years ago(basename_is_dot_or_dotdot): Use new last_component, in place of base_name.
Jim Meyering [Sun, 26 Mar 2006 12:07:20 +0000 (12:07 +0000)]
(basename_is_dot_or_dotdot): Use new last_component, in place of base_name.

18 years ago(target_directory_operand, main): Use new last_component, in place of base_name.
Jim Meyering [Sun, 26 Mar 2006 12:07:04 +0000 (12:07 +0000)]
(target_directory_operand, main): Use new last_component, in place of base_name.

18 years ago(target_directory_operand, install_file_in_dir): Use new last_component, in place...
Jim Meyering [Sun, 26 Mar 2006 12:06:45 +0000 (12:06 +0000)]
(target_directory_operand, install_file_in_dir): Use new last_component, in place of base_name.

18 years ago(guess_shell_syntax): Use new last_component.
Jim Meyering [Sun, 26 Mar 2006 12:06:05 +0000 (12:06 +0000)]
(guess_shell_syntax): Use new last_component.

18 years ago(target_directory_operand): Use new last_component.
Jim Meyering [Sun, 26 Mar 2006 12:05:51 +0000 (12:05 +0000)]
(target_directory_operand): Use new last_component.
(ASSIGN_BASENAME_STRDUPA): Likewise.  Reduce time spent
traversing the string.

18 years ago(main): Don't strip suffix from file system roots.
Jim Meyering [Sun, 26 Mar 2006 11:59:58 +0000 (11:59 +0000)]
(main): Don't strip suffix from file system roots.

18 years agoImprovements to dirname/basename handling on platforms like
Jim Meyering [Sun, 26 Mar 2006 11:59:31 +0000 (11:59 +0000)]
Improvements to dirname/basename handling on platforms like
cygwin with distinct // and with drive letters.

18 years ago(AC_CONFIG_FILES): Remove tests/basename.
Jim Meyering [Sun, 26 Mar 2006 11:58:57 +0000 (11:58 +0000)]
(AC_CONFIG_FILES): Remove tests/basename.

18 years ago.
Jim Meyering [Sun, 26 Mar 2006 11:56:09 +0000 (11:56 +0000)]
.

18 years agoremove this entire directory
Jim Meyering [Sun, 26 Mar 2006 11:55:38 +0000 (11:55 +0000)]
remove this entire directory

18 years agoremove this entire directory
Jim Meyering [Sun, 26 Mar 2006 11:54:50 +0000 (11:54 +0000)]
remove this entire directory

18 years ago(SUBDIRS): Remove basename.
Jim Meyering [Sun, 26 Mar 2006 11:52:47 +0000 (11:52 +0000)]
(SUBDIRS): Remove basename.

18 years ago(TESTS): Sort. Add basename, dirname.
Jim Meyering [Sun, 26 Mar 2006 11:48:19 +0000 (11:48 +0000)]
(TESTS): Sort.  Add basename, dirname.

18 years agonew file -- from Eric Blake
Jim Meyering [Sun, 26 Mar 2006 11:47:51 +0000 (11:47 +0000)]
new file -- from Eric Blake

18 years agoMove to ../misc/basename
Jim Meyering [Sun, 26 Mar 2006 11:47:24 +0000 (11:47 +0000)]
Move to ../misc/basename

18 years agoMoved from ../basename/basic.
Jim Meyering [Sun, 26 Mar 2006 11:46:46 +0000 (11:46 +0000)]
Moved from ../basename/basic.
Add some tests, including fixed behavior for //.

18 years ago(gl_REGEX): Fix a longstanding typo in the
Paul Eggert [Sat, 25 Mar 2006 09:49:24 +0000 (09:49 +0000)]
(gl_REGEX): Fix a longstanding typo in the
implementation of Spencer ERE test #75 from grep 2.3.  Problem
reported by Emanuele Giaquinta.  Also, change sense of cached
variable, so that the message makes sense.

18 years ago(gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
Paul Eggert [Sat, 25 Mar 2006 09:10:28 +0000 (09:10 +0000)]
(gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
REG_SYNTAX_EMACS, and REG_IGNORE_CASE.  Settle for the traditional
glibc names.

18 years agoversion: 5.94
Jim Meyering [Sat, 25 Mar 2006 08:43:48 +0000 (08:43 +0000)]
version: 5.94

18 years ago(main): Ignore fd_reopen return value when ignoring input, since
Paul Eggert [Thu, 23 Mar 2006 23:56:34 +0000 (23:56 +0000)]
(main): Ignore fd_reopen return value when ignoring input, since
we've closed input at that point so we are ignoring input.

18 years agonohup diagnostics are now more precise, and nohup now
Paul Eggert [Thu, 23 Mar 2006 23:47:37 +0000 (23:47 +0000)]
nohup diagnostics are now more precise, and nohup now
redirects stderr to nohup.out if stdout is closed and stderr is a tty.

18 years agoTest the new nohup behavior.
Paul Eggert [Thu, 23 Mar 2006 23:35:32 +0000 (23:35 +0000)]
Test the new nohup behavior.

18 years ago(main): nohup diagnostics are now more precise, and nohup now
Paul Eggert [Thu, 23 Mar 2006 23:35:13 +0000 (23:35 +0000)]
(main): nohup diagnostics are now more precise, and nohup now
redirects stderr to nohup.out if stdout is closed and stderr
is a tty.

18 years ago(nohup invocation): nohup now redirects stderr to
Paul Eggert [Thu, 23 Mar 2006 23:34:42 +0000 (23:34 +0000)]
(nohup invocation): nohup now redirects stderr to
nohup.out if stdout is closed and stderr is a tty.

18 years agonohup diagnostics are now more precise, and nohup now
Paul Eggert [Thu, 23 Mar 2006 23:34:22 +0000 (23:34 +0000)]
nohup diagnostics are now more precise, and nohup now
redirects stderr to nohup.out if stdout is closed and stderr is a tty.

18 years agoupdate from gnulib
Jim Meyering [Wed, 22 Mar 2006 15:59:58 +0000 (15:59 +0000)]
update from gnulib

18 years ago*** empty log message ***
Jim Meyering [Sun, 19 Mar 2006 18:27:55 +0000 (18:27 +0000)]
*** empty log message ***

18 years agoWork even in a chroot where d_ino values for entries in "/"
Jim Meyering [Sun, 19 Mar 2006 18:27:51 +0000 (18:27 +0000)]
Work even in a chroot where d_ino values for entries in "/"
don't match the stat.st_ino values for the same names.

(__getcwd): When no d_ino value matches the target inode
number, iterate through all entries again, using lstat instead.
Reported by Kenshi Muto in http://bugs.debian.org/355810.

18 years ago(__getcwd): Clarify a comment.
Jim Meyering [Sun, 19 Mar 2006 17:18:32 +0000 (17:18 +0000)]
(__getcwd): Clarify a comment.
Use memcpy in place of a call to strcpy.

18 years ago.
Jim Meyering [Fri, 17 Mar 2006 16:41:30 +0000 (16:41 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Fri, 17 Mar 2006 10:12:37 +0000 (10:12 +0000)]
*** empty log message ***

18 years ago(gl_REGEX): Fix typo in last change:
Jim Meyering [Fri, 17 Mar 2006 10:07:28 +0000 (10:07 +0000)]
(gl_REGEX): Fix typo in last change:
s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.

18 years agoremove trailing space
Jim Meyering [Fri, 17 Mar 2006 08:35:50 +0000 (08:35 +0000)]
remove trailing space

18 years agoregex fixes for future POSIX and --without-included-regex.
Paul Eggert [Fri, 17 Mar 2006 07:35:25 +0000 (07:35 +0000)]
regex fixes for future POSIX and --without-included-regex.

18 years ago(regoff_t) [defined _REGEX_LARGE_OFFSETS]:
Paul Eggert [Fri, 17 Mar 2006 07:33:40 +0000 (07:33 +0000)]
(regoff_t) [defined _REGEX_LARGE_OFFSETS]:
Typedef to long int, not to off_t, as POSIX will likely change
in that direction.

18 years ago(gl_REGEX): Don't check for off_t, since the code
Paul Eggert [Fri, 17 Mar 2006 07:33:06 +0000 (07:33 +0000)]
(gl_REGEX): Don't check for off_t, since the code
no longer needs it.  Instead, check that regoff_t is as least
as wide as ptrdiff_t.

Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
so that our regex.h stays compatible with the installed regex.
This is helpful for installers who configure --without-included-regex.
Problem reported by Emanuele Giaquinta.

18 years agoversion: 5.94
Jim Meyering [Thu, 16 Mar 2006 10:33:28 +0000 (10:33 +0000)]
version: 5.94

18 years agoupdate from gnulib
Jim Meyering [Wed, 15 Mar 2006 06:53:11 +0000 (06:53 +0000)]
update from gnulib

18 years agoupdate from gnulib
Jim Meyering [Wed, 15 Mar 2006 06:52:39 +0000 (06:52 +0000)]
update from gnulib

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 22:52:51 +0000 (22:52 +0000)]
*** empty log message ***

18 years ago(set_author): Rename function, from preserve_author.
Jim Meyering [Sun, 12 Mar 2006 22:52:46 +0000 (22:52 +0000)]
(set_author): Rename function, from preserve_author.

18 years ago.
Jim Meyering [Sun, 12 Mar 2006 22:47:35 +0000 (22:47 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 22:21:12 +0000 (22:21 +0000)]
*** empty log message ***

18 years ago(AD_pop_and_chdir): Use new macro,
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.

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 22:05:59 +0000 (22:05 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 22:05:18 +0000 (22:05 +0000)]
*** empty log message ***

18 years ago(gl_ROOT_DEV_INO): Add same-inode.h to the list.
Jim Meyering [Sun, 12 Mar 2006 22:05:12 +0000 (22:05 +0000)]
(gl_ROOT_DEV_INO): Add same-inode.h to the list.

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 22:03:37 +0000 (22:03 +0000)]
*** empty log message ***

18 years ago(leave_dir): If cycle-check's saved dev-ino pair matches
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.

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 22:02:12 +0000 (22:02 +0000)]
*** empty log message ***

18 years ago(SAME_INODE): Remove definition.
Jim Meyering [Sun, 12 Mar 2006 22:02:03 +0000 (22:02 +0000)]
(SAME_INODE): Remove definition.

18 years agoInclude "same-inode.h".
Jim Meyering [Sun, 12 Mar 2006 22:01:29 +0000 (22:01 +0000)]
Include "same-inode.h".
(CYCLE_CHECK_REFLECT_CHDIR_UP): Define.

18 years ago(SAME_INODE): Remove definition.
Jim Meyering [Sun, 12 Mar 2006 21:59:55 +0000 (21:59 +0000)]
(SAME_INODE): Remove definition.
Include "same-inode.h", instead.

18 years ago(SAME_INODE): Remove definition.
Jim Meyering [Sun, 12 Mar 2006 21:59:29 +0000 (21:59 +0000)]
(SAME_INODE): Remove definition.
Include "same-inode.h", instead.

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 21:50:12 +0000 (21:50 +0000)]
*** empty log message ***

18 years ago(gl_SAME): Add same-inode.h to the list.
Jim Meyering [Sun, 12 Mar 2006 21:49:48 +0000 (21:49 +0000)]
(gl_SAME): Add same-inode.h to the list.

18 years ago(gl_CYCLE_CHECK): 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.

18 years ago(gl_CHDIR_SAFER): 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.

18 years ago(SAME_INODE): New file/macro.
Jim Meyering [Sun, 12 Mar 2006 20:45:31 +0000 (20:45 +0000)]
(SAME_INODE): New file/macro.

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Mar 2006 20:45:10 +0000 (20:45 +0000)]
*** empty log message ***

18 years ago(SAME_INODE): Remove definition.
Jim Meyering [Sun, 12 Mar 2006 20:45:04 +0000 (20:45 +0000)]
(SAME_INODE): Remove definition.
Include "same-inode.h", instead.

18 years ago.
Jim Meyering [Sun, 12 Mar 2006 19:24:52 +0000 (19:24 +0000)]
.

18 years agoRemove asctime_r, ctime_r, and let m4 specify the sources.
Paul Eggert [Sun, 12 Mar 2006 08:07:34 +0000 (08:07 +0000)]
Remove asctime_r, ctime_r, and let m4 specify the sources.

18 years agoAdd time_r.m4.
Paul Eggert [Sun, 12 Mar 2006 08:07:09 +0000 (08:07 +0000)]
Add time_r.m4.

18 years ago(gl_PREREQ): Require gl_TIME_R.
Paul Eggert [Sun, 12 Mar 2006 08:06:49 +0000 (08:06 +0000)]
(gl_PREREQ): Require gl_TIME_R.

18 years ago(asctime_r, ctime_r): Remove.
Paul Eggert [Sun, 12 Mar 2006 08:06:00 +0000 (08:06 +0000)]
(asctime_r, ctime_r): Remove.

18 years ago(libcoreutils_a_SOURCES): Remove time_r.c, time_r.h,
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.

18 years agoNew file, from gnulib.
Paul Eggert [Sun, 12 Mar 2006 08:04:42 +0000 (08:04 +0000)]
New file, from gnulib.

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Mar 2006 20:40:23 +0000 (20:40 +0000)]
*** empty log message ***

18 years ago(robust_getcwd): Prepend only one slash, not two.
Jim Meyering [Sat, 11 Mar 2006 20:40:18 +0000 (20:40 +0000)]
(robust_getcwd): Prepend only one slash, not two.

18 years agoFix a bug whereby a user with write access to a directory being removed
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.

18 years ago*** empty log message ***
Jim Meyering [Fri, 10 Mar 2006 21:44:30 +0000 (21:44 +0000)]
*** empty log message ***

18 years agomention today's rm -r fix.
Jim Meyering [Fri, 10 Mar 2006 21:31:53 +0000 (21:31 +0000)]
mention today's rm -r fix.

18 years ago*** empty log message ***
Jim Meyering [Fri, 10 Mar 2006 21:24:38 +0000 (21:24 +0000)]
*** empty log message ***

18 years agoHandle dd's file-creation flags even on file descriptors. Improve
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.

18 years agoAdd test cases for append, nofollow, directory,
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.

18 years ago(set_fd_flags): Handle file-creation flags on file
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.

18 years agoDocument dd's new 'directory' and 'nolinks' flags.
Paul Eggert [Wed, 8 Mar 2006 18:57:21 +0000 (18:57 +0000)]
Document dd's new 'directory' and 'nolinks' flags.

18 years agoiflags->iflag. This fixes a typo that meant the
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.

18 years ago*** empty log message ***
Jim Meyering [Mon, 6 Mar 2006 15:27:56 +0000 (15:27 +0000)]
*** empty log message ***

18 years agoAdd `SEE ALSO' references to syscalls from utilities of the same name.
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.

18 years agoDescribe dd, ls changes. Convert from Latin-1 to UTF-8.
Paul Eggert [Mon, 6 Mar 2006 07:22:02 +0000 (07:22 +0000)]
Describe dd, ls changes.  Convert from Latin-1 to UTF-8.

18 years ago(dd invocation): New flags directory, nolinks.
Paul Eggert [Mon, 6 Mar 2006 07:21:40 +0000 (07:21 +0000)]
(dd invocation): New flags directory, nolinks.
Alphabetize nofollow.

18 years ago(O_NOLINKS): Define to 0 if not already defined.
Paul Eggert [Mon, 6 Mar 2006 07:20:35 +0000 (07:20 +0000)]
(O_NOLINKS): Define to 0 if not already defined.

18 years ago(flags, usage): New flags directory, nolinks.
Paul Eggert [Mon, 6 Mar 2006 07:20:19 +0000 (07:20 +0000)]
(flags, usage): New flags directory, nolinks.

18 years ago(usage): Mention that -f disables --color.
Paul Eggert [Mon, 6 Mar 2006 07:02:39 +0000 (07:02 +0000)]
(usage): Mention that -f disables --color.

18 years ago*** empty log message ***
Jim Meyering [Sun, 5 Mar 2006 17:29:13 +0000 (17:29 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sun, 5 Mar 2006 17:28:51 +0000 (17:28 +0000)]
*** empty log message ***

18 years agoSet SHELL, if not already set, in order to
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.

18 years ago.
Jim Meyering [Sun, 5 Mar 2006 11:23:15 +0000 (11:23 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sun, 5 Mar 2006 11:20:57 +0000 (11:20 +0000)]
*** empty log message ***

18 years agoMake `base64 --wrap=N' work for N=0, and for N larger than SIZE_MAX.
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.