Jim Meyering [Mon, 2 Dec 2002 17:46:00 +0000 (17:46 +0000)]
*** empty log message ***
Jim Meyering [Mon, 2 Dec 2002 17:45:54 +0000 (17:45 +0000)]
Skip this test if `.' is on a non-local file system.
Jim Meyering [Mon, 2 Dec 2002 17:28:21 +0000 (17:28 +0000)]
*** empty log message ***
Jim Meyering [Mon, 2 Dec 2002 09:31:04 +0000 (09:31 +0000)]
.
Jim Meyering [Mon, 2 Dec 2002 09:30:47 +0000 (09:30 +0000)]
*** empty log message ***
Jim Meyering [Mon, 2 Dec 2002 09:30:41 +0000 (09:30 +0000)]
(_at_replace): Do the substitution only if there's something to replace.
Jim Meyering [Mon, 2 Dec 2002 08:11:45 +0000 (08:11 +0000)]
(EINTR): Define.
(safe_read): Rewrite to loop IFF read fails with EINTR.
Jim Meyering [Sun, 1 Dec 2002 17:04:49 +0000 (17:04 +0000)]
*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 17:04:35 +0000 (17:04 +0000)]
(safe_read): Also exit the loop when read returns zero.
Jim Meyering [Sun, 1 Dec 2002 12:10:41 +0000 (12:10 +0000)]
comment tweak
Jim Meyering [Sun, 1 Dec 2002 12:04:35 +0000 (12:04 +0000)]
*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 12:04:17 +0000 (12:04 +0000)]
(CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.
Jim Meyering [Sun, 1 Dec 2002 11:53:02 +0000 (11:53 +0000)]
Merge from gnulib.
Jim Meyering [Sun, 1 Dec 2002 11:36:50 +0000 (11:36 +0000)]
from gnulib
Jim Meyering [Sun, 1 Dec 2002 11:36:32 +0000 (11:36 +0000)]
(libfetish_a_SOURCES): Add safe-write.c and safe-write.h.
Jim Meyering [Sun, 1 Dec 2002 10:57:07 +0000 (10:57 +0000)]
*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:56:47 +0000 (10:56 +0000)]
Update from gnulib (trivial changes).
Jim Meyering [Sun, 1 Dec 2002 10:54:01 +0000 (10:54 +0000)]
Update from gnulib (trivial changes).
Jim Meyering [Sun, 1 Dec 2002 10:44:15 +0000 (10:44 +0000)]
Add Copyright comment.
Jim Meyering [Sun, 1 Dec 2002 10:43:35 +0000 (10:43 +0000)]
Add Copyright comment.
Jim Meyering [Sun, 1 Dec 2002 10:42:17 +0000 (10:42 +0000)]
*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:42:12 +0000 (10:42 +0000)]
Update from gnulib (trivial changes).
Jim Meyering [Sun, 1 Dec 2002 10:41:22 +0000 (10:41 +0000)]
*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:41:09 +0000 (10:41 +0000)]
Update from gnulib (trivial changes).
Jim Meyering [Sun, 1 Dec 2002 10:38:59 +0000 (10:38 +0000)]
Update from gnulib (trivial changes).
Jim Meyering [Sun, 1 Dec 2002 10:37:02 +0000 (10:37 +0000)]
*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:36:33 +0000 (10:36 +0000)]
update from gnulib
Jim Meyering [Sun, 1 Dec 2002 10:22:45 +0000 (10:22 +0000)]
*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:20:24 +0000 (10:20 +0000)]
*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:18:39 +0000 (10:18 +0000)]
*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:18:34 +0000 (10:18 +0000)]
Don't include <ctype.h>.
That's already done via system.h.
Jim Meyering [Sun, 1 Dec 2002 10:15:32 +0000 (10:15 +0000)]
*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 09:58:26 +0000 (09:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 09:57:39 +0000 (09:57 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 1 Dec 2002 08:59:05 +0000 (08:59 +0000)]
update from master
Jim Meyering [Sun, 1 Dec 2002 08:57:31 +0000 (08:57 +0000)]
*** empty log message ***
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.
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.
Jim Meyering [Sat, 30 Nov 2002 22:35:37 +0000 (22:35 +0000)]
add comment
Jim Meyering [Sat, 30 Nov 2002 22:34:59 +0000 (22:34 +0000)]
(sl-F-color, sl-dF-color): New tests for the above.
Jim Meyering [Sat, 30 Nov 2002 17:13:33 +0000 (17:13 +0000)]
*** empty log message ***
Jim Meyering [Sat, 30 Nov 2002 16:34:20 +0000 (16:34 +0000)]
*** empty log message ***
Jim Meyering [Sat, 30 Nov 2002 16:17:29 +0000 (16:17 +0000)]
.
Jim Meyering [Thu, 28 Nov 2002 09:48:47 +0000 (09:48 +0000)]
*** empty log message ***
Jim Meyering [Thu, 28 Nov 2002 09:48:40 +0000 (09:48 +0000)]
Merge from gnulib/libc, for a slightly uglier solution.
Jim Meyering [Thu, 28 Nov 2002 09:38:06 +0000 (09:38 +0000)]
.
Jim Meyering [Thu, 28 Nov 2002 09:37:58 +0000 (09:37 +0000)]
(STATIC): Remvoe definitions.
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.
Jim Meyering [Thu, 28 Nov 2002 09:09:55 +0000 (09:09 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 24 Nov 2002 16:59:41 +0000 (16:59 +0000)]
*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:58:50 +0000 (16:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:53:59 +0000 (16:53 +0000)]
(TESTS): Add trailing-slash.
Jim Meyering [Sun, 24 Nov 2002 16:53:06 +0000 (16:53 +0000)]
*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:25:26 +0000 (16:25 +0000)]
More clean-up, not that / means /.
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.
Jim Meyering [Sun, 24 Nov 2002 16:12:28 +0000 (16:12 +0000)]
*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:03:14 +0000 (16:03 +0000)]
*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 10:01:15 +0000 (10:01 +0000)]
Remove 2002 from copyright line,
to sync with gnulib.
Jim Meyering [Sat, 23 Nov 2002 16:45:51 +0000 (16:45 +0000)]
.
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.
Jim Meyering [Sat, 23 Nov 2002 16:28:52 +0000 (16:28 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 23 Nov 2002 15:44:59 +0000 (15:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:44:51 +0000 (15:44 +0000)]
Include gettext.h instead of <libintl.h>.
Jim Meyering [Sat, 23 Nov 2002 15:44:07 +0000 (15:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:44:01 +0000 (15:44 +0000)]
Include gettext.h instead of <libintl.h>.
Jim Meyering [Sat, 23 Nov 2002 15:43:16 +0000 (15:43 +0000)]
*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:43:13 +0000 (15:43 +0000)]
Include gettext.h instead of <libintl.h>.
Jim Meyering [Sat, 23 Nov 2002 15:42:11 +0000 (15:42 +0000)]
Update from gnulib.
Jim Meyering [Sat, 23 Nov 2002 15:42:04 +0000 (15:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:40:44 +0000 (15:40 +0000)]
*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:40:40 +0000 (15:40 +0000)]
Include gettext.h instead of <libintl.h>.
Jim Meyering [Sat, 23 Nov 2002 15:38:47 +0000 (15:38 +0000)]
*** empty log message ***
Jim Meyering [Sat, 23 Nov 2002 15:38:42 +0000 (15:38 +0000)]
Include gettext.h instead of <libintl.h>.
Jim Meyering [Sat, 23 Nov 2002 15:05:52 +0000 (15:05 +0000)]
*** empty log message ***
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>.
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>.
Jim Meyering [Sat, 23 Nov 2002 15:00:17 +0000 (15:00 +0000)]
.
Jim Meyering [Sat, 23 Nov 2002 14:59:39 +0000 (14:59 +0000)]
Update from gnulib.
Jim Meyering [Sat, 23 Nov 2002 07:10:25 +0000 (07:10 +0000)]
*** empty log message ***
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.
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.
Jim Meyering [Fri, 22 Nov 2002 13:23:55 +0000 (13:23 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Nov 2002 13:23:52 +0000 (13:23 +0000)]
From gnulib:
Don't include <sys/types.h>. It's unnecessary.
Jim Meyering [Fri, 22 Nov 2002 11:13:32 +0000 (11:13 +0000)]
fix typo in comment
Jim Meyering [Fri, 22 Nov 2002 11:07:31 +0000 (11:07 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Nov 2002 11:04:05 +0000 (11:04 +0000)]
*** empty log message ***
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.
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.
Jim Meyering [Fri, 22 Nov 2002 10:28:50 +0000 (10:28 +0000)]
*** empty log message ***
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.
Jim Meyering [Thu, 21 Nov 2002 19:17:26 +0000 (19:17 +0000)]
*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 19:17:22 +0000 (19:17 +0000)]
Add ms (Malay).
Jim Meyering [Thu, 21 Nov 2002 19:16:44 +0000 (19:16 +0000)]
version: 4.5.3
Jim Meyering [Thu, 21 Nov 2002 13:31:07 +0000 (13:31 +0000)]
*** empty log message ***
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.
Jim Meyering [Thu, 21 Nov 2002 13:25:31 +0000 (13:25 +0000)]
*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:25:22 +0000 (13:25 +0000)]
Update from gnulib.