Jim Meyering [Wed, 4 Dec 2002 08:59:13 +0000 (08:59 +0000)]
Reflect the fact that stat.c and lstat.c are no longer generated.
(BUILT_SOURCES): Remove stat.c and lstat.c.
(DISTCLEANFILES): Likewise.
(EXTRA_DIST): Likewise.
(all_local): Don't depend on stat.c or lstat.c.
(stat.c, lstat.c): Remove rules.
(EXTRA_DIST): Remove xstat.in.
Jim Meyering [Wed, 4 Dec 2002 08:56:58 +0000 (08:56 +0000)]
author hardly matters here :-)
Jim Meyering [Wed, 4 Dec 2002 08:55:54 +0000 (08:55 +0000)]
Simply #define LSTAT and include stat.c.
Jim Meyering [Wed, 4 Dec 2002 08:55:32 +0000 (08:55 +0000)]
Rework so that it may serve to define rpl_lstat, too.
Jim Meyering [Wed, 4 Dec 2002 08:16:02 +0000 (08:16 +0000)]
Remove file. Contents moved into stat.c.
Jim Meyering [Wed, 4 Dec 2002 07:55:38 +0000 (07:55 +0000)]
*** empty log message ***
Jim Meyering [Wed, 4 Dec 2002 07:51:45 +0000 (07:51 +0000)]
Simply #define SAFE_WRITE and include safe-read.c.
Jim Meyering [Wed, 4 Dec 2002 07:50:55 +0000 (07:50 +0000)]
Rework so that it may serve to define safe_write, too.
Jim Meyering [Wed, 4 Dec 2002 07:43:18 +0000 (07:43 +0000)]
.
Jim Meyering [Tue, 3 Dec 2002 18:30:29 +0000 (18:30 +0000)]
New file, from which to generate safe-read.c and safe-write.c.
Jim Meyering [Tue, 3 Dec 2002 18:20:38 +0000 (18:20 +0000)]
s/const void */void const */
Jim Meyering [Tue, 3 Dec 2002 18:19:51 +0000 (18:19 +0000)]
*** empty log message ***
Jim Meyering [Tue, 3 Dec 2002 18:19:45 +0000 (18:19 +0000)]
Update from gnulib (add comments, include stddef.h).
Jim Meyering [Tue, 3 Dec 2002 18:17:18 +0000 (18:17 +0000)]
regenerate using automake-1.7.1b
Jim Meyering [Tue, 3 Dec 2002 18:03:53 +0000 (18:03 +0000)]
no more ansi2nkr
Jim Meyering [Tue, 3 Dec 2002 17:50:46 +0000 (17:50 +0000)]
.
Jim Meyering [Tue, 3 Dec 2002 17:36:34 +0000 (17:36 +0000)]
*** empty log message ***
Jim Meyering [Tue, 3 Dec 2002 17:36:26 +0000 (17:36 +0000)]
(AUTOMAKE_OPTIONS): Remove definition (to ansi2knr)
since this package no longer panders to K&R compilers.
Jim Meyering [Tue, 3 Dec 2002 12:03:55 +0000 (12:03 +0000)]
tweak comment
Jim Meyering [Tue, 3 Dec 2002 12:02:19 +0000 (12:02 +0000)]
tweak comment
Jim Meyering [Tue, 3 Dec 2002 09:50:16 +0000 (09:50 +0000)]
Add dummy stmt in `then' branch.
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>.