platform/upstream/coreutils.git
21 years agoUpdate from gnulib.
Jim Meyering [Wed, 9 Jul 2003 17:54:54 +0000 (17:54 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 13:16:52 +0000 (13:16 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 10:00:46 +0000 (10:00 +0000)]
*** empty log message ***

21 years agoFix the bug that would make `du /' omit the `/' on the last line.
Jim Meyering [Wed, 9 Jul 2003 10:00:42 +0000 (10:00 +0000)]
Fix the bug that would make `du /' omit the `/' on the last line.
E.g., `du --exclude '[^/]*' -x /' would print only "4\t\n" for me.

(ftw_dir): Don't clobber the leading `/'.
Reported by Chris Lesniewski as http://bugs.debian.org/200542.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 10:00:15 +0000 (10:00 +0000)]
*** empty log message ***

21 years ago(TESTS): Add slash
Jim Meyering [Wed, 9 Jul 2003 10:00:09 +0000 (10:00 +0000)]
(TESTS): Add slash

21 years agoNew file/test for today's lib/ftw.c fix.
Jim Meyering [Wed, 9 Jul 2003 09:59:58 +0000 (09:59 +0000)]
New file/test for today's lib/ftw.c fix.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 09:51:34 +0000 (09:51 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 09:11:41 +0000 (09:11 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Jul 2003 08:54:30 +0000 (08:54 +0000)]
*** empty log message ***

21 years ago(xlseek): Avoid warning about ``return without value
Jim Meyering [Wed, 9 Jul 2003 08:54:24 +0000 (08:54 +0000)]
(xlseek): Avoid warning about ``return without value
from function returning non-void''.

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Jul 2003 21:08:27 +0000 (21:08 +0000)]
*** empty log message ***

21 years agoAdd END handler to close STDOUT and check for errors.
Jim Meyering [Tue, 8 Jul 2003 21:08:17 +0000 (21:08 +0000)]
Add END handler to close STDOUT and check for errors.

21 years agoUpdate to version 1.29.
Jim Meyering [Tue, 8 Jul 2003 21:00:01 +0000 (21:00 +0000)]
Update to version 1.29.

21 years ago*** empty log message ***
Jim Meyering [Sun, 6 Jul 2003 06:13:29 +0000 (06:13 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 6 Jul 2003 06:12:28 +0000 (06:12 +0000)]
*** empty log message ***

21 years agoAdd support for a "[" that conforms to the GNU coding standards,
Jim Meyering [Sun, 6 Jul 2003 06:12:20 +0000 (06:12 +0000)]
Add support for a "[" that conforms to the GNU coding standards,
i.e., that does not depend on its name.

(LBRACKET): Define to 0 if not defined.
(main): Use LBRACKET rather than argv[0].

----------
(one_argument): Do not check for -t if POSIXLY_CORRECT.

(main): Do not recognize --help or --version if
POSIXLY_CORRECT, when invoked as "test".  Handle "[ ]" correctly.
Do not bother testing that margv[margc] is non-null.

21 years ago(bin_PROGRAMS): Add "[".
Jim Meyering [Sun, 6 Jul 2003 06:10:36 +0000 (06:10 +0000)]
(bin_PROGRAMS): Add "[".
(__SOURCES): New var.

21 years ago(programs): Ignore "[", since it doesn't have a separate man page.
Jim Meyering [Sun, 6 Jul 2003 06:09:44 +0000 (06:09 +0000)]
(programs): Ignore "[", since it doesn't have a separate man page.

21 years agoNew file.
Jim Meyering [Sun, 6 Jul 2003 06:08:40 +0000 (06:08 +0000)]
New file.

21 years agoAdd [.
Jim Meyering [Sun, 6 Jul 2003 06:08:17 +0000 (06:08 +0000)]
Add [.

21 years agoupdate from master
Jim Meyering [Sat, 5 Jul 2003 09:03:44 +0000 (09:03 +0000)]
update from master

21 years ago*** empty log message ***
Jim Meyering [Fri, 4 Jul 2003 12:26:22 +0000 (12:26 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 4 Jul 2003 12:25:57 +0000 (12:25 +0000)]
*** empty log message ***

21 years ago(print_line): Rewrite to use asprintf, in order to be
Jim Meyering [Fri, 4 Jul 2003 12:25:29 +0000 (12:25 +0000)]
(print_line): Rewrite to use asprintf, in order to be
able to avoid emitting trailing blanks.

21 years ago*** empty log message ***
Jim Meyering [Fri, 4 Jul 2003 11:38:43 +0000 (11:38 +0000)]
*** empty log message ***

21 years agoInclude <sys/types.h> unconditionally, instead of
Jim Meyering [Fri, 4 Jul 2003 11:38:37 +0000 (11:38 +0000)]
Include <sys/types.h> unconditionally, instead of
having it depend on HAVE_SYS_TYPES_H.

21 years ago*** empty log message ***
Jim Meyering [Fri, 4 Jul 2003 10:15:52 +0000 (10:15 +0000)]
*** empty log message ***

21 years agoAdd tests of head's new --lines=-N
Jim Meyering [Fri, 4 Jul 2003 10:15:47 +0000 (10:15 +0000)]
Add tests of head's new --lines=-N
option, and perform the 1600 invocations of head IFF the envvar
RUN_EXPENSIVE_TESTS is set.

21 years ago(do_copy): Give a better diagnostic when failing due
Jim Meyering [Fri, 4 Jul 2003 10:01:35 +0000 (10:01 +0000)]
(do_copy): Give a better diagnostic when failing due
to nonexistent destination directory.  Reported by Dmitry Rutsky.
See http://bugs.debian.org/199730 for details.

21 years ago*** empty log message ***
Jim Meyering [Thu, 3 Jul 2003 17:09:10 +0000 (17:09 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 3 Jul 2003 17:09:03 +0000 (17:09 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Thu, 3 Jul 2003 14:15:08 +0000 (14:15 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 29 Jun 2003 06:35:37 +0000 (06:35 +0000)]
*** empty log message ***

21 years agotweak comment to fit in 80 columns
Jim Meyering [Sat, 28 Jun 2003 10:30:04 +0000 (10:30 +0000)]
tweak comment to fit in 80 columns

21 years ago*** empty log message ***
Jim Meyering [Fri, 27 Jun 2003 12:17:55 +0000 (12:17 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 27 Jun 2003 07:51:33 +0000 (07:51 +0000)]
*** empty log message ***

21 years agoAlso use --verbose and compare stderr output with what we'd expect.
Jim Meyering [Fri, 27 Jun 2003 07:51:30 +0000 (07:51 +0000)]
Also use --verbose and compare stderr output with what we'd expect.

21 years ago*** empty log message ***
Jim Meyering [Fri, 27 Jun 2003 07:44:23 +0000 (07:44 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 27 Jun 2003 07:42:02 +0000 (07:42 +0000)]
*** empty log message ***

21 years agosplit's --verbose option did nothing
Jim Meyering [Fri, 27 Jun 2003 07:41:55 +0000 (07:41 +0000)]
split's --verbose option did nothing

(longopts): Use `1', not `0' as the value for for &verbose.

21 years ago*** empty log message ***
Jim Meyering [Wed, 25 Jun 2003 09:48:49 +0000 (09:48 +0000)]
*** empty log message ***

21 years ago(Time directives) [%s]: Add a cross reference to the related examples.
Jim Meyering [Wed, 25 Jun 2003 09:48:43 +0000 (09:48 +0000)]
(Time directives) [%s]: Add a cross reference to the related examples.
(Examples of date): Add an @anchor here, along with a few more examples.

21 years ago*** empty log message ***
Jim Meyering [Thu, 19 Jun 2003 22:01:55 +0000 (22:01 +0000)]
*** empty log message ***

21 years ago(copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]:
Jim Meyering [Thu, 19 Jun 2003 22:01:47 +0000 (22:01 +0000)]
(copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]:
Use `error_t' (rather than int) as type for local `err'.

21 years ago*** empty log message ***
Jim Meyering [Thu, 19 Jun 2003 21:17:53 +0000 (21:17 +0000)]
*** empty log message ***

21 years ago(copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]:
Jim Meyering [Thu, 19 Jun 2003 21:17:48 +0000 (21:17 +0000)]
(copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]:
Fix author preservation code.

21 years ago*** empty log message ***
Jim Meyering [Thu, 19 Jun 2003 11:41:31 +0000 (11:41 +0000)]
*** empty log message ***

21 years ago(ENABLE_HARD_LINK_TO_SYMLINK_WARNING): Define to 0.
Jim Meyering [Thu, 19 Jun 2003 11:38:16 +0000 (11:38 +0000)]
(ENABLE_HARD_LINK_TO_SYMLINK_WARNING): Define to 0.
(do_link): Don't warn about hard link to symlink.

21 years agoupdate from upstream
Jim Meyering [Wed, 18 Jun 2003 13:21:05 +0000 (13:21 +0000)]
update from upstream

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 11:00:20 +0000 (11:00 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 10:19:36 +0000 (10:19 +0000)]
*** empty log message ***

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 10:19:33 +0000 (10:19 +0000)]
(PARAMS): Remove.  All uses removed.

21 years ago.
Jim Meyering [Wed, 18 Jun 2003 10:18:17 +0000 (10:18 +0000)]
.

21 years agoupdate from gnulib
Jim Meyering [Wed, 18 Jun 2003 10:16:47 +0000 (10:16 +0000)]
update from gnulib

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 09:24:50 +0000 (09:24 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 08:15:17 +0000 (08:15 +0000)]
*** empty log message ***

21 years agoMerge in change from gnulib.
Jim Meyering [Wed, 18 Jun 2003 08:15:14 +0000 (08:15 +0000)]
Merge in change from gnulib.

Remove block of alloca-related code in favor
of an unconditional `#include <alloca.h>'.

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 08:10:10 +0000 (08:10 +0000)]
*** empty log message ***

21 years agoUse `1990-2000' notation in Copyright line until Emacs'
Jim Meyering [Wed, 18 Jun 2003 08:10:03 +0000 (08:10 +0000)]
Use `1990-2000' notation in Copyright line until Emacs'
copyright-update function learns how to handle a comma-separated
list of years that spans a line boundary.

21 years agoInclude <stddef.h>.
Jim Meyering [Wed, 18 Jun 2003 08:07:02 +0000 (08:07 +0000)]
Include <stddef.h>.
Remove unnecessary parentheses.

21 years agofrom gnulib: add copyright notice
Jim Meyering [Wed, 18 Jun 2003 08:03:45 +0000 (08:03 +0000)]
from gnulib: add copyright notice

21 years agofrom gnulib: update comments
Jim Meyering [Wed, 18 Jun 2003 08:02:24 +0000 (08:02 +0000)]
from gnulib: update comments

21 years agofrom gnulib: add copyright notice
Jim Meyering [Wed, 18 Jun 2003 08:01:08 +0000 (08:01 +0000)]
from gnulib: add copyright notice

21 years agofrom gnulib: add copyright notice
Jim Meyering [Wed, 18 Jun 2003 08:00:31 +0000 (08:00 +0000)]
from gnulib: add copyright notice

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 07:59:22 +0000 (07:59 +0000)]
*** empty log message ***

21 years agoInclude "getdelim2.h", not "getstr.h".
Jim Meyering [Wed, 18 Jun 2003 07:59:14 +0000 (07:59 +0000)]
Include "getdelim2.h", not "getstr.h".
Reflect renaming: getstr -> getdelim2.

21 years ago.
Jim Meyering [Wed, 18 Jun 2003 07:58:08 +0000 (07:58 +0000)]
.

21 years ago(libfetish_a_SOURCES): Add getdelim2.c and getdelim2.h.
Jim Meyering [Wed, 18 Jun 2003 07:58:03 +0000 (07:58 +0000)]
(libfetish_a_SOURCES): Add getdelim2.c and getdelim2.h.

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:57:26 +0000 (07:57 +0000)]
(PARAMS): Remove.  All uses removed.

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:55:39 +0000 (07:55 +0000)]
(PARAMS): Remove.  All uses removed.

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:54:53 +0000 (07:54 +0000)]
(PARAMS): Remove.  All uses removed.

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:54:10 +0000 (07:54 +0000)]
(PARAMS): Remove.  All uses removed.

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:53:12 +0000 (07:53 +0000)]
(PARAMS): Remove.  All uses removed.
Do not include config.h; no longer needed.
Anyway, config.h should always be included before any other file.

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:52:28 +0000 (07:52 +0000)]
(PARAMS): Remove.  All uses removed.
Do not include config.h; no longer needed.
Anyway, config.h should always be included before any other file.

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:51:52 +0000 (07:51 +0000)]
(PARAMS): Remove.  All uses removed.

21 years agoremove bogus comment
Jim Meyering [Wed, 18 Jun 2003 07:51:08 +0000 (07:51 +0000)]
remove bogus comment

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:50:09 +0000 (07:50 +0000)]
(PARAMS): Remove.  All uses removed.
Do not include config.h; no longer needed.
Anyway, config.h should always be included before any other file.

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:49:35 +0000 (07:49 +0000)]
(PARAMS): Remove.  All uses removed.

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:48:56 +0000 (07:48 +0000)]
(PARAMS): Remove.  All uses removed.

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 07:48:38 +0000 (07:48 +0000)]
*** empty log message ***

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:48:30 +0000 (07:48 +0000)]
(PARAMS): Remove.  All uses removed.
Do not include config.h; no longer needed.
Anyway, config.h should always be included before any other file.

21 years ago(PARAMS): Remove. All uses removed.
Jim Meyering [Wed, 18 Jun 2003 07:46:31 +0000 (07:46 +0000)]
(PARAMS): Remove.  All uses removed.

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 07:45:11 +0000 (07:45 +0000)]
*** empty log message ***

21 years ago(getdelim2): Move this function into its own file.
Jim Meyering [Wed, 18 Jun 2003 07:44:56 +0000 (07:44 +0000)]
(getdelim2): Move this function into its own file.

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 07:42:50 +0000 (07:42 +0000)]
*** empty log message ***

21 years agoExtracted from getstr.c.
Jim Meyering [Wed, 18 Jun 2003 07:42:21 +0000 (07:42 +0000)]
Extracted from getstr.c.

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 07:40:49 +0000 (07:40 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 07:39:42 +0000 (07:39 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Wed, 18 Jun 2003 07:39:28 +0000 (07:39 +0000)]
Update from gnulib.

21 years ago.
Jim Meyering [Wed, 18 Jun 2003 07:38:28 +0000 (07:38 +0000)]
.

21 years agoReflect renaming: readline -> readlinebuffer.
Jim Meyering [Wed, 18 Jun 2003 07:37:29 +0000 (07:37 +0000)]
Reflect renaming: readline -> readlinebuffer.

21 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 06:53:30 +0000 (06:53 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Wed, 18 Jun 2003 06:53:26 +0000 (06:53 +0000)]
Update from gnulib.

21 years agoexpand copyright years to sync with gnulib
Jim Meyering [Wed, 18 Jun 2003 06:14:01 +0000 (06:14 +0000)]
expand copyright years to sync with gnulib

21 years agoUpdate from gnulib.
Jim Meyering [Wed, 18 Jun 2003 06:11:45 +0000 (06:11 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Tue, 17 Jun 2003 19:57:46 +0000 (19:57 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Tue, 17 Jun 2003 19:57:27 +0000 (19:57 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Tue, 17 Jun 2003 19:53:59 +0000 (19:53 +0000)]
*** empty log message ***

21 years agoMerge in changes from gnulib.
Jim Meyering [Tue, 17 Jun 2003 19:53:53 +0000 (19:53 +0000)]
Merge in changes from gnulib.

Include <stdbool.h> unconditionally.
Include <limits.h>.
(CHAR_BIT): Don't define.