Jim Meyering
32b9f22700
(safe_read): Also exit the loop when read returns zero.
2002-12-01 17:04:35 +00:00
Jim Meyering
0937f50e9e
comment tweak
2002-12-01 12:10:41 +00:00
Jim Meyering
3b6cb24f4b
*** empty log message ***
2002-12-01 12:04:35 +00:00
Jim Meyering
b1cfe31057
(CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.
2002-12-01 12:04:17 +00:00
Jim Meyering
4c6c221ee2
Merge from gnulib.
2002-12-01 11:53:02 +00:00
Jim Meyering
ef266f5a81
from gnulib
2002-12-01 11:36:50 +00:00
Jim Meyering
68fd2c3b68
(libfetish_a_SOURCES): Add safe-write.c and safe-write.h.
2002-12-01 11:36:32 +00:00
Jim Meyering
e04f07c363
*** empty log message ***
2002-12-01 10:57:07 +00:00
Jim Meyering
7730fc35b7
Update from gnulib (trivial changes).
2002-12-01 10:56:47 +00:00
Jim Meyering
61bbb627cc
Update from gnulib (trivial changes).
2002-12-01 10:54:01 +00:00
Jim Meyering
1ed5b3df2d
Add Copyright comment.
2002-12-01 10:44:15 +00:00
Jim Meyering
3447cf0995
Add Copyright comment.
2002-12-01 10:43:35 +00:00
Jim Meyering
6cffb5b26e
*** empty log message ***
2002-12-01 10:42:17 +00:00
Jim Meyering
c198111648
Update from gnulib (trivial changes).
2002-12-01 10:42:12 +00:00
Jim Meyering
422e4b4c3a
*** empty log message ***
2002-12-01 10:41:22 +00:00
Jim Meyering
43aee8594d
Update from gnulib (trivial changes).
2002-12-01 10:41:09 +00:00
Jim Meyering
3bd828af53
Update from gnulib (trivial changes).
2002-12-01 10:38:59 +00:00
Jim Meyering
440bb68abd
*** empty log message ***
2002-12-01 10:37:02 +00:00
Jim Meyering
cffed30681
update from gnulib
2002-12-01 10:36:33 +00:00
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