platform/upstream/coreutils.git
21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:15:32 +0000 (10:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 09:58:26 +0000 (09:58 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 09:57:39 +0000 (09:57 +0000)]
*** empty log message ***

21 years agoDon't include <string.h> or <ctype.h>.
Jim Meyering [Sun, 1 Dec 2002 09:49:01 +0000 (09:49 +0000)]
Don't include <string.h> or <ctype.h>.
That's already done via system.h.

21 years agoupdate from master
Jim Meyering [Sun, 1 Dec 2002 08:59:05 +0000 (08:59 +0000)]
update from master

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 08:57:31 +0000 (08:57 +0000)]
*** empty log message ***

21 years agols is now more efficient: it no longer needs to stat each directory
Jim Meyering [Sun, 1 Dec 2002 08:57:26 +0000 (08:57 +0000)]
ls is now more efficient: it no longer needs to stat each directory
entry on systems with valid dirent.d_type.

(print_dir): Add DT_LNK and DT_REG.
(main): Make --recursive set format_needs_type, not format_needs_stat.
(gobble_file): Remove a FIXME comment, now that this is fixed.

21 years ago(gobble_file): Remove the block of code that caused
Jim Meyering [Sun, 1 Dec 2002 08:55:45 +0000 (08:55 +0000)]
(gobble_file): Remove the block of code that caused
`ls --color -F symlink-to-dir' to list the files in
`symlink-to-dir/.'.  Now, it prints `symlink-to-dir@',
(just like `ls -F symlink-to-dir') but with the addition
of highlighting.

21 years agoadd comment
Jim Meyering [Sat, 30 Nov 2002 22:35:37 +0000 (22:35 +0000)]
add comment

21 years ago(sl-F-color, sl-dF-color): New tests for the above.
Jim Meyering [Sat, 30 Nov 2002 22:34:59 +0000 (22:34 +0000)]
(sl-F-color, sl-dF-color): New tests for the above.

21 years ago*** empty log message ***
Jim Meyering [Sat, 30 Nov 2002 17:13:33 +0000 (17:13 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 30 Nov 2002 16:34:20 +0000 (16:34 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 30 Nov 2002 16:17:29 +0000 (16:17 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 28 Nov 2002 09:48:47 +0000 (09:48 +0000)]
*** empty log message ***

21 years agoMerge from gnulib/libc, for a slightly uglier solution.
Jim Meyering [Thu, 28 Nov 2002 09:48:40 +0000 (09:48 +0000)]
Merge from gnulib/libc, for a slightly uglier solution.

21 years ago.
Jim Meyering [Thu, 28 Nov 2002 09:38:06 +0000 (09:38 +0000)]
.

21 years ago(STATIC): Remvoe definitions.
Jim Meyering [Thu, 28 Nov 2002 09:37:58 +0000 (09:37 +0000)]
(STATIC): Remvoe definitions.

21 years agoMerge some more, in preparation for merge back into libc.
Jim Meyering [Thu, 28 Nov 2002 09:19:26 +0000 (09:19 +0000)]
Merge some more, in preparation for merge back into libc.

(_): Define only if not already defined.
Move definition to follow all #include directives.
Include unlocked-io.h only if !_LIBC.

21 years ago*** empty log message ***
Jim Meyering [Thu, 28 Nov 2002 09:09:55 +0000 (09:09 +0000)]
*** empty log message ***

21 years agoMerge in changes from libc.
Jim Meyering [Thu, 28 Nov 2002 09:09:29 +0000 (09:09 +0000)]
Merge in changes from libc.

[_LIBC]: Include <libio/libioP.h>.
[USE_IN_LIBIO]: Include <libio/iolibio.h>
(fflush): Tweak definition to use INTUSE.
(putc): Define.

21 years ago*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:59:41 +0000 (16:59 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:58:50 +0000 (16:58 +0000)]
*** empty log message ***

21 years ago(TESTS): Add trailing-slash.
Jim Meyering [Sun, 24 Nov 2002 16:53:59 +0000 (16:53 +0000)]
(TESTS): Add trailing-slash.

21 years ago*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:53:06 +0000 (16:53 +0000)]
*** empty log message ***

21 years agoMore clean-up, not that / means /.
Jim Meyering [Sun, 24 Nov 2002 16:25:26 +0000 (16:25 +0000)]
More clean-up, not that / means /.

21 years ago(du_files): Don't strip any trailing slash.
Jim Meyering [Sun, 24 Nov 2002 16:12:52 +0000 (16:12 +0000)]
(du_files): Don't strip any trailing slash.
Rewrite so that `/' is no longer represented internally as
the empty string.
(count_entry): When appending a file name component,
account for the fact that the current path may end in `/'.
François Pinard reported that `du symlink-to-dir/' was not
equivalent to `du symlink-to-dir/.'.  Now it is.

21 years ago*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:12:28 +0000 (16:12 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:03:14 +0000 (16:03 +0000)]
*** empty log message ***

21 years agoRemove 2002 from copyright line,
Jim Meyering [Sun, 24 Nov 2002 10:01:15 +0000 (10:01 +0000)]
Remove 2002 from copyright line,
to sync with gnulib.

21 years ago.
Jim Meyering [Sat, 23 Nov 2002 16:45:51 +0000 (16:45 +0000)]
.

21 years ago(decode_switches): Use case-sensitive matching to
Jim Meyering [Sat, 23 Nov 2002 16:43:49 +0000 (16:43 +0000)]
(decode_switches): Use case-sensitive matching to
decode the QUOTING_STYLE environment variable.  This is more
consistent with the documentation, and with --quoting-style.

21 years ago*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 16:28:52 +0000 (16:28 +0000)]
*** empty log message ***

21 years ago(output): Declare some local variables to be of type size_t,
Jim Meyering [Sat, 23 Nov 2002 16:28:44 +0000 (16:28 +0000)]
(output): Declare some local variables to be of type size_t,
rather than `int' to avoid warnings from gcc.

21 years ago*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:44:59 +0000 (15:44 +0000)]
*** empty log message ***

21 years agoInclude gettext.h instead of <libintl.h>.
Jim Meyering [Sat, 23 Nov 2002 15:44:51 +0000 (15:44 +0000)]
Include gettext.h instead of <libintl.h>.

21 years ago*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:44:07 +0000 (15:44 +0000)]
*** empty log message ***

21 years agoInclude gettext.h instead of <libintl.h>.
Jim Meyering [Sat, 23 Nov 2002 15:44:01 +0000 (15:44 +0000)]
Include gettext.h instead of <libintl.h>.

21 years ago*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:43:16 +0000 (15:43 +0000)]
*** empty log message ***

21 years agoInclude gettext.h instead of <libintl.h>.
Jim Meyering [Sat, 23 Nov 2002 15:43:13 +0000 (15:43 +0000)]
Include gettext.h instead of <libintl.h>.

21 years agoUpdate from gnulib.
Jim Meyering [Sat, 23 Nov 2002 15:42:11 +0000 (15:42 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:42:04 +0000 (15:42 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:40:44 +0000 (15:40 +0000)]
*** empty log message ***

21 years agoInclude gettext.h instead of <libintl.h>.
Jim Meyering [Sat, 23 Nov 2002 15:40:40 +0000 (15:40 +0000)]
Include gettext.h instead of <libintl.h>.

21 years ago*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:38:47 +0000 (15:38 +0000)]
*** empty log message ***

21 years agoInclude gettext.h instead of <libintl.h>.
Jim Meyering [Sat, 23 Nov 2002 15:38:42 +0000 (15:38 +0000)]
Include gettext.h instead of <libintl.h>.

21 years ago*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:05:52 +0000 (15:05 +0000)]
*** empty log message ***

21 years agoFrom gnulib, by Bruno Haible
Jim Meyering [Sat, 23 Nov 2002 15:05:32 +0000 (15:05 +0000)]
From gnulib, by Bruno Haible
  Include gettext.h instead of <libintl.h>.

21 years agoFrom gnulib, by Bruno Haible
Jim Meyering [Sat, 23 Nov 2002 15:03:40 +0000 (15:03 +0000)]
From gnulib, by Bruno Haible
* closeout.c: Include gettext.h instead of <libintl.h>.

21 years ago.
Jim Meyering [Sat, 23 Nov 2002 15:00:17 +0000 (15:00 +0000)]
.

21 years agoUpdate from gnulib.
Jim Meyering [Sat, 23 Nov 2002 14:59:39 +0000 (14:59 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 07:10:25 +0000 (07:10 +0000)]
*** empty log message ***

21 years agoAllow multiple inclusion by surrounding with
Jim Meyering [Sat, 23 Nov 2002 07:10:19 +0000 (07:10 +0000)]
Allow multiple inclusion by surrounding with
"#ifndef QUOTEARG_H_".  Include <stddef.h>, for size_t,
so that we can be included first.
(PARAMS): Remove; we now assume C89 or later.  All uses removed.

21 years agoInclude quotearg.h immediately after config.h.
Jim Meyering [Sat, 23 Nov 2002 07:08:50 +0000 (07:08 +0000)]
Include quotearg.h immediately after config.h.
No need to include stddef.h or sys/types.h any more.
Surround local include files with "", not "<>".
Assume HAVE_LIMITS_H unconditionally, as we assume C89.
Similarly, assume HAVE_C_BACKSLASH_A, CHAR_BIT, UCHAR_MAX, UINT_MAX,
HAVE_STDLIB_H, HAVE_STRING_H, STDC_HEADERS.
(HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
(mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
(ISPRINT): Remove; no longer needed now that we assume C89.

(clone_quoting_options, quotearg_buffer, quotearg_n_options):
Preserve errno.

(quotearg_buffer_restyled, quotearg_n, quotearg_n_style,
quotearg_char): Use SIZE_MAX rather than
(size_t) -1 when we are talking about "infinity".

(quotearg_buffer_restyled): Fix bug when quoting trigraphs.

21 years ago*** empty log message ***
Jim Meyering [Fri, 22 Nov 2002 13:23:55 +0000 (13:23 +0000)]
*** empty log message ***

21 years agoFrom gnulib:
Jim Meyering [Fri, 22 Nov 2002 13:23:52 +0000 (13:23 +0000)]
From gnulib:
Don't include <sys/types.h>.  It's unnecessary.

21 years agofix typo in comment
Jim Meyering [Fri, 22 Nov 2002 11:13:32 +0000 (11:13 +0000)]
fix typo in comment

21 years ago*** empty log message ***
Jim Meyering [Fri, 22 Nov 2002 11:07:31 +0000 (11:07 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 22 Nov 2002 11:04:05 +0000 (11:04 +0000)]
*** empty log message ***

21 years agoRemove case insensitive option matching.
Jim Meyering [Fri, 22 Nov 2002 11:04:01 +0000 (11:04 +0000)]
Remove case insensitive option matching.

(argcasematch): Remove declaration.
(ARGCASEMATCH): Remove macro.
(__xargmatch_internal): Remove case_sensitive argument.
(XARGMATCH): Update.
(XARGCASEMATCH): Remove macro.

21 years agoInclude gettext.h instead of <locale.h> and <libintl.h>.
Jim Meyering [Fri, 22 Nov 2002 11:03:26 +0000 (11:03 +0000)]
Include gettext.h instead of <locale.h> and <libintl.h>.

Remove case insensitive option matching.
  (argmatch): Renamed from __argmatch_internal. Remove
  case_sensitive argument.
  (argcasematch): Remove function.
  (__xargmatch_internal): Remove case_sensitive argument.
  (main): Use XARGMATCH instead of XARGCASEMATCH.

21 years ago*** empty log message ***
Jim Meyering [Fri, 22 Nov 2002 10:28:50 +0000 (10:28 +0000)]
*** empty log message ***

21 years agoChange compile-time error message. Add comment about
Jim Meyering [Fri, 22 Nov 2002 10:28:44 +0000 (10:28 +0000)]
Change compile-time error message. Add comment about
required autoconf version.

Include gettext.h instead of <libintl.h>.
(textdomain): Remove definition.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 19:17:26 +0000 (19:17 +0000)]
*** empty log message ***

21 years agoAdd ms (Malay).
Jim Meyering [Thu, 21 Nov 2002 19:17:22 +0000 (19:17 +0000)]
Add ms (Malay).

21 years agoversion: 4.5.3
Jim Meyering [Thu, 21 Nov 2002 19:16:44 +0000 (19:16 +0000)]
version: 4.5.3

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:31:07 +0000 (13:31 +0000)]
*** empty log message ***

21 years ago(strdup): Merge in changes from gnulib; mainly to
Jim Meyering [Thu, 21 Nov 2002 13:31:03 +0000 (13:31 +0000)]
(strdup): Merge in changes from gnulib; mainly to
use memcpy rather than strcpy.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:25:31 +0000 (13:25 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Thu, 21 Nov 2002 13:25:22 +0000 (13:25 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:18:07 +0000 (13:18 +0000)]
*** empty log message ***

21 years ago(str2signum): Use unsigned, not size_t.
Jim Meyering [Thu, 21 Nov 2002 13:17:47 +0000 (13:17 +0000)]
(str2signum): Use unsigned, not size_t.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:16:49 +0000 (13:16 +0000)]
*** empty log message ***

21 years agoUse `"'s when including quotearg.h and xalloc.h, not the `<...>' notation.
Jim Meyering [Thu, 21 Nov 2002 13:16:04 +0000 (13:16 +0000)]
Use `"'s when including quotearg.h and xalloc.h, not the `<...>' notation.
Include <errno.h> and declare errno if necessary.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 12:22:56 +0000 (12:22 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 12:22:03 +0000 (12:22 +0000)]
*** empty log message ***

21 years agostty doesn't support all baud rates available in current Linux kernels.
Jim Meyering [Thu, 21 Nov 2002 12:21:55 +0000 (12:21 +0000)]
stty doesn't support all baud rates available in current Linux kernels.
When trying to set a high baud rate using stty, it says "invalid
argument". When the high rate is already configured, "stty -a"
returns 0 instead of the true baud rate.

(struct speeds): Add support for all baud rates defined
in linux-2.4.19.

21 years ago.
Jim Meyering [Thu, 21 Nov 2002 10:56:27 +0000 (10:56 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 10:22:10 +0000 (10:22 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 10:21:01 +0000 (10:21 +0000)]
*** empty log message ***

21 years agoupdate copyright date
Jim Meyering [Thu, 21 Nov 2002 09:39:58 +0000 (09:39 +0000)]
update copyright date

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 09:36:25 +0000 (09:36 +0000)]
*** empty log message ***

21 years agoMerge argmatch cleanups from Bison. Assume C89.
Jim Meyering [Thu, 21 Nov 2002 09:35:51 +0000 (09:35 +0000)]
Merge argmatch cleanups from Bison.  Assume C89.

Do not include <config.h> or <sys/types.h>.
Include <stddef.h> instead, since it's all we need for size_t.
(PARAMS): Remove.  All uses removed.
(ARRAY_CARDINALITY): Do not bother to #undef.
(ARRAY_CARDINALITY, ARGMATCH, ARGCASEMATCH, invalid_arg,
ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Remove unnecessary parentheses.
(ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Insert necessary parentheses.
(ARGMATCH_CONSTRAINT, ARGMATCH_VERIFY): New macros.
(ARGMATCH_ASSERT): Use ARGMATCH_CONSTRAINT.

21 years agoMerge argmatch cleanups from Bison. Assume C89.
Jim Meyering [Thu, 21 Nov 2002 09:24:43 +0000 (09:24 +0000)]
Merge argmatch cleanups from Bison.  Assume C89.

Include config.h here, not in argmatch.h.
Include stdlib.h, for EXIT_FAILURE.
Always include <string.h>, since we assume C89.
(EXIT_FAILURE): Remove pre-C89 bug workaround.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:48:08 +0000 (08:48 +0000)]
*** empty log message ***

21 years ago(quotearg_buffer_restyled): If mbrtowc returns
Jim Meyering [Thu, 21 Nov 2002 08:47:44 +0000 (08:47 +0000)]
(quotearg_buffer_restyled): If mbrtowc returns
`(size_t) -1' (at which point it would also set errno to EILSEQ),
then restore errno to its previous value.
Reported by Phillip Jones via Tim Waugh as
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=76334.

21 years agosort
Jim Meyering [Thu, 21 Nov 2002 08:46:39 +0000 (08:46 +0000)]
sort

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:45:10 +0000 (08:45 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Thu, 21 Nov 2002 08:45:05 +0000 (08:45 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:35:24 +0000 (08:35 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:32:28 +0000 (08:32 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 14:08:50 +0000 (14:08 +0000)]
*** empty log message ***

21 years agoExport LC_ALL=C, to avoid failure when run in a UTF locale.
Jim Meyering [Tue, 19 Nov 2002 14:08:45 +0000 (14:08 +0000)]
Export LC_ALL=C, to avoid failure when run in a UTF locale.
Report and suggested fix by Bruno Haible.

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 14:08:20 +0000 (14:08 +0000)]
*** empty log message ***

21 years agoExport LC_ALL=C, to avoid failure when run in a UTF locale.
Jim Meyering [Tue, 19 Nov 2002 14:07:20 +0000 (14:07 +0000)]
Export LC_ALL=C, to avoid failure when run in a UTF locale.
Report and suggested fix by Bruno Haible.

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 10:15:25 +0000 (10:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 09:14:24 +0000 (09:14 +0000)]
*** empty log message ***

21 years agoRequire Autoconf-2.56.
Jim Meyering [Tue, 19 Nov 2002 09:14:18 +0000 (09:14 +0000)]
Require Autoconf-2.56.

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 08:05:34 +0000 (08:05 +0000)]
*** empty log message ***

21 years agoAvoid a link-time failure on some Linux systems.
Jim Meyering [Tue, 19 Nov 2002 08:05:29 +0000 (08:05 +0000)]
Avoid a link-time failure on some Linux systems.
(STATIC): Define to be empty (_LIBC) or `static' (otherwise).
(__mon_yday): Declare with the STATIC attribute.
(__mktime_internal): Likewise.
Based on a report from Greg Schafer.

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 07:50:44 +0000 (07:50 +0000)]
*** empty log message ***