Jim Meyering
275bdd3966
update from master
2002-12-01 08:59:05 +00:00
Jim Meyering
067fc3f4ef
*** empty log message ***
2002-12-01 08:57:31 +00:00
Jim Meyering
4966d758f2
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.
2002-12-01 08:57:26 +00:00
Jim Meyering
7274f62b83
(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.
2002-12-01 08:55:45 +00:00
Jim Meyering
d577b81792
add comment
2002-11-30 22:35:37 +00:00
Jim Meyering
6c1d1df92f
(sl-F-color, sl-dF-color): New tests for the above.
2002-11-30 22:34:59 +00:00
Jim Meyering
ab1fbe7dda
*** empty log message ***
2002-11-30 17:13:33 +00:00
Jim Meyering
42a42f7e4f
*** empty log message ***
2002-11-30 16:34:20 +00:00
Jim Meyering
95cb2ed037
.
2002-11-30 16:17:29 +00:00
Jim Meyering
7f190fb12b
*** empty log message ***
2002-11-28 09:48:47 +00:00
Jim Meyering
015aa7dfc4
Merge from gnulib/libc, for a slightly uglier solution.
2002-11-28 09:48:40 +00:00
Jim Meyering
80cff991e8
.
2002-11-28 09:38:06 +00:00
Jim Meyering
2dc7779bce
(STATIC): Remvoe definitions.
2002-11-28 09:37:58 +00:00
Jim Meyering
8f5674daf9
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.
2002-11-28 09:19:26 +00:00
Jim Meyering
bb07ab9b5c
*** empty log message ***
2002-11-28 09:09:55 +00:00
Jim Meyering
d604ec9937
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.
2002-11-28 09:09:29 +00:00
Jim Meyering
e1938a7929
*** empty log message ***
2002-11-24 16:59:41 +00:00
Jim Meyering
d22a04e396
*** empty log message ***
2002-11-24 16:58:50 +00:00
Jim Meyering
8601971967
(TESTS): Add trailing-slash.
2002-11-24 16:53:59 +00:00
Jim Meyering
5857813649
*** empty log message ***
2002-11-24 16:53:06 +00:00
Jim Meyering
ce2fb08258
More clean-up, not that / means /.
2002-11-24 16:25:26 +00:00
Jim Meyering
4b8fa5d8ad
(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.
2002-11-24 16:12:52 +00:00
Jim Meyering
6f5375c038
*** empty log message ***
2002-11-24 16:12:28 +00:00
Jim Meyering
40d8af4244
*** empty log message ***
2002-11-24 16:03:14 +00:00
Jim Meyering
4d314289c3
Remove 2002 from copyright line,
...
to sync with gnulib.
2002-11-24 10:01:15 +00:00
Jim Meyering
c82be3d2ce
.
2002-11-23 16:45:51 +00:00
Jim Meyering
5649aebdef
(decode_switches): Use case-sensitive matching to
...
decode the QUOTING_STYLE environment variable. This is more
consistent with the documentation, and with --quoting-style.
2002-11-23 16:43:49 +00:00
Jim Meyering
0c64e08266
*** empty log message ***
2002-11-23 16:28:52 +00:00
Jim Meyering
6533eac241
(output): Declare some local variables to be of type size_t,
...
rather than `int' to avoid warnings from gcc.
2002-11-23 16:28:44 +00:00
Jim Meyering
8442061b30
*** empty log message ***
2002-11-23 15:44:59 +00:00
Jim Meyering
f10340e27b
Include gettext.h instead of <libintl.h>.
2002-11-23 15:44:51 +00:00
Jim Meyering
d6fac2ac6c
*** empty log message ***
2002-11-23 15:44:07 +00:00
Jim Meyering
a14ac3568f
Include gettext.h instead of <libintl.h>.
2002-11-23 15:44:01 +00:00
Jim Meyering
42cd3beba9
*** empty log message ***
2002-11-23 15:43:16 +00:00
Jim Meyering
5bd75e7682
Include gettext.h instead of <libintl.h>.
2002-11-23 15:43:13 +00:00
Jim Meyering
4372bf5619
Update from gnulib.
2002-11-23 15:42:11 +00:00
Jim Meyering
01ff25beb7
*** empty log message ***
2002-11-23 15:42:04 +00:00
Jim Meyering
4cab2486a5
*** empty log message ***
2002-11-23 15:40:44 +00:00
Jim Meyering
70212bf28b
Include gettext.h instead of <libintl.h>.
2002-11-23 15:40:40 +00:00
Jim Meyering
cc7aeee22c
*** empty log message ***
2002-11-23 15:38:47 +00:00
Jim Meyering
83415a7c5f
Include gettext.h instead of <libintl.h>.
2002-11-23 15:38:42 +00:00
Jim Meyering
ac63441825
*** empty log message ***
2002-11-23 15:05:52 +00:00
Jim Meyering
ebd76c09f4
From gnulib, by Bruno Haible
...
Include gettext.h instead of <libintl.h>.
2002-11-23 15:05:32 +00:00
Jim Meyering
f1b9a8744c
From gnulib, by Bruno Haible
...
* closeout.c: Include gettext.h instead of <libintl.h>.
2002-11-23 15:03:40 +00:00
Jim Meyering
98e5192525
.
2002-11-23 15:00:17 +00:00
Jim Meyering
ba986c2928
Update from gnulib.
2002-11-23 14:59:39 +00:00
Jim Meyering
34c25ed945
*** empty log message ***
2002-11-23 07:10:25 +00:00
Jim Meyering
08228013af
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.
2002-11-23 07:10:19 +00:00
Jim Meyering
a328e26342
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.
2002-11-23 07:08:50 +00:00
Jim Meyering
38ba9564d1
*** empty log message ***
2002-11-22 13:23:55 +00:00