Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering d7f4b28a19 *** empty log message *** 2002-12-01 10:22:45 +00:00
Jim Meyering fbb44634f7 *** empty log message *** 2002-12-01 10:20:24 +00:00
Jim Meyering a372a5debe *** empty log message *** 2002-12-01 10:18:39 +00:00
Jim Meyering f40bc170b0 Don't include <ctype.h>.
That's already done via system.h.
2002-12-01 10:18:34 +00:00
Jim Meyering 98ae1bbb58 *** empty log message *** 2002-12-01 10:15:32 +00:00
Jim Meyering 78f06398b8 *** empty log message *** 2002-12-01 09:58:26 +00:00
Jim Meyering dcc3108267 *** empty log message *** 2002-12-01 09:57:39 +00:00
Jim Meyering cb173ced29 Don't include <string.h> or <ctype.h>.
That's already done via system.h.
2002-12-01 09:49:01 +00:00
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