platform/upstream/coreutils.git
21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Dec 2002 14:16:13 +0000 (14:16 +0000)]
*** empty log message ***

21 years ago(gobble_file): Also stat the file if it's a
Jim Meyering [Fri, 6 Dec 2002 14:16:09 +0000 (14:16 +0000)]
(gobble_file): Also stat the file if it's a
regular file and --indicator-style=classify (aka -F).

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Dec 2002 13:47:50 +0000 (13:47 +0000)]
*** empty log message ***

21 years agoA test to contrast ls -F and ls --indicator-style=file-type.
Jim Meyering [Fri, 6 Dec 2002 13:47:40 +0000 (13:47 +0000)]
A test to contrast ls -F and ls --indicator-style=file-type.

21 years agoAdd copyright notice.
Jim Meyering [Fri, 6 Dec 2002 13:38:15 +0000 (13:38 +0000)]
Add copyright notice.
(libfetish_a_SOURCES): Add unlocked-io.h.
(BUILT_SOURCES, all-local): Remove unlocked-io.h.
(DISTCLEANFILES, io_functions): Remove macros.
(EXTRA_DIST): Remove gen_uio.
(unlocked-io.h): Remove rule.

21 years agoremove, now that unlocked-io.h is maintained manually
Jim Meyering [Fri, 6 Dec 2002 13:37:49 +0000 (13:37 +0000)]
remove, now that unlocked-io.h is maintained manually

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Dec 2002 13:37:15 +0000 (13:37 +0000)]
*** empty log message ***

21 years agoNew file, but with proper copyright notice and
Jim Meyering [Fri, 6 Dec 2002 13:37:11 +0000 (13:37 +0000)]
New file, but with proper copyright notice and
attribution.  Note: this is *not* the same as the file in gnulib.
This uses #if HAVE_FUNC_UNLOCKED for each `FUNC', rather than
HAVE_DECL_FUNC_UNLOCKED.  This usage is consistent with the autoconf
macro in ../m4/jm-glibc-io.m4.  Modulo comments, this file still
contains exactly what was generated by gen-uio.

21 years ago.
Jim Meyering [Fri, 6 Dec 2002 13:33:23 +0000 (13:33 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Dec 2002 08:33:28 +0000 (08:33 +0000)]
*** empty log message ***

21 years agothis is the old, generated version
Jim Meyering [Fri, 6 Dec 2002 08:28:58 +0000 (08:28 +0000)]
this is the old, generated version

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Dec 2002 08:23:55 +0000 (08:23 +0000)]
*** empty log message ***

21 years ago[defined emacs]: Include "lisp.h".
Jim Meyering [Fri, 6 Dec 2002 08:23:28 +0000 (08:23 +0000)]
[defined emacs]: Include "lisp.h".
(xalloc_die) [defined emacs]: New macro.
(free) [defined emacs && defined EMACS_FREE]: Define to EMACS_FREE.
[! defined emacs]: Include <xalloc.h>.
(POINTER_TYPE) [!defined POINTER_TYPE]: New macro.
(pointer): Typedef to POINTER_TYPE *.
(malloc): Remove decl; we now always use xmalloc.
(alloca): Use old-style definition, since Emacs needs this.
Check for arithmetic overflow when computing combined size.

21 years agoupdate copyright from gnulib
Jim Meyering [Fri, 6 Dec 2002 08:09:12 +0000 (08:09 +0000)]
update copyright from gnulib

21 years ago.
Jim Meyering [Fri, 6 Dec 2002 07:36:39 +0000 (07:36 +0000)]
.

21 years agoupdate comment
Jim Meyering [Wed, 4 Dec 2002 19:33:57 +0000 (19:33 +0000)]
update comment

21 years ago*** empty log message ***
Jim Meyering [Wed, 4 Dec 2002 19:29:46 +0000 (19:29 +0000)]
*** empty log message ***

21 years agowhoops. Add -F
Jim Meyering [Wed, 4 Dec 2002 19:28:22 +0000 (19:28 +0000)]
whoops.  Add -F

21 years agoMake sure the symlink was created.
Jim Meyering [Wed, 4 Dec 2002 19:23:33 +0000 (19:23 +0000)]
Make sure the symlink was created.
Richard Dawe reported that `ln -s link link' succeeds, but creates
no file on systems running some version of the DJGPP libc.

21 years ago*** empty log message ***
Jim Meyering [Wed, 4 Dec 2002 10:07:59 +0000 (10:07 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Wed, 4 Dec 2002 08:59:41 +0000 (08:59 +0000)]
.

21 years agoReflect the fact that stat.c and lstat.c are no longer generated.
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.

21 years agoauthor hardly matters here :-)
Jim Meyering [Wed, 4 Dec 2002 08:56:58 +0000 (08:56 +0000)]
author hardly matters here :-)

21 years agoSimply #define LSTAT and include stat.c.
Jim Meyering [Wed, 4 Dec 2002 08:55:54 +0000 (08:55 +0000)]
Simply #define LSTAT and include stat.c.

21 years agoRework so that it may serve to define rpl_lstat, too.
Jim Meyering [Wed, 4 Dec 2002 08:55:32 +0000 (08:55 +0000)]
Rework so that it may serve to define rpl_lstat, too.

21 years agoRemove file. Contents moved into stat.c.
Jim Meyering [Wed, 4 Dec 2002 08:16:02 +0000 (08:16 +0000)]
Remove file.  Contents moved into stat.c.

21 years ago*** empty log message ***
Jim Meyering [Wed, 4 Dec 2002 07:55:38 +0000 (07:55 +0000)]
*** empty log message ***

21 years agoSimply #define SAFE_WRITE and include safe-read.c.
Jim Meyering [Wed, 4 Dec 2002 07:51:45 +0000 (07:51 +0000)]
Simply #define SAFE_WRITE and include safe-read.c.

21 years agoRework so that it may serve to define safe_write, too.
Jim Meyering [Wed, 4 Dec 2002 07:50:55 +0000 (07:50 +0000)]
Rework so that it may serve to define safe_write, too.

21 years ago.
Jim Meyering [Wed, 4 Dec 2002 07:43:18 +0000 (07:43 +0000)]
.

21 years agoNew file, from which to generate safe-read.c and safe-write.c.
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.

21 years agos/const void */void const */
Jim Meyering [Tue, 3 Dec 2002 18:20:38 +0000 (18:20 +0000)]
s/const void */void const */

21 years ago*** empty log message ***
Jim Meyering [Tue, 3 Dec 2002 18:19:51 +0000 (18:19 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib (add comments, include stddef.h).
Jim Meyering [Tue, 3 Dec 2002 18:19:45 +0000 (18:19 +0000)]
Update from gnulib (add comments, include stddef.h).

21 years agoregenerate using automake-1.7.1b
Jim Meyering [Tue, 3 Dec 2002 18:17:18 +0000 (18:17 +0000)]
regenerate using automake-1.7.1b

21 years agono more ansi2nkr
Jim Meyering [Tue, 3 Dec 2002 18:03:53 +0000 (18:03 +0000)]
no more ansi2nkr

21 years ago.
Jim Meyering [Tue, 3 Dec 2002 17:50:46 +0000 (17:50 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Tue, 3 Dec 2002 17:36:34 +0000 (17:36 +0000)]
*** empty log message ***

21 years ago(AUTOMAKE_OPTIONS): Remove definition (to ansi2knr)
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.

21 years agotweak comment
Jim Meyering [Tue, 3 Dec 2002 12:03:55 +0000 (12:03 +0000)]
tweak comment

21 years agotweak comment
Jim Meyering [Tue, 3 Dec 2002 12:02:19 +0000 (12:02 +0000)]
tweak comment

21 years agoAdd dummy stmt in `then' branch.
Jim Meyering [Tue, 3 Dec 2002 09:50:16 +0000 (09:50 +0000)]
Add dummy stmt in `then' branch.

21 years ago*** empty log message ***
Jim Meyering [Mon, 2 Dec 2002 17:46:00 +0000 (17:46 +0000)]
*** empty log message ***

21 years agoSkip this test if `.' is on a non-local file system.
Jim Meyering [Mon, 2 Dec 2002 17:45:54 +0000 (17:45 +0000)]
Skip this test if `.' is on a non-local file system.

21 years ago*** empty log message ***
Jim Meyering [Mon, 2 Dec 2002 17:28:21 +0000 (17:28 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Mon, 2 Dec 2002 09:31:04 +0000 (09:31 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 2 Dec 2002 09:30:47 +0000 (09:30 +0000)]
*** empty log message ***

21 years ago(_at_replace): Do the substitution only if there's something to replace.
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.

21 years ago(EINTR): Define.
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.

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 17:04:49 +0000 (17:04 +0000)]
*** empty log message ***

21 years ago(safe_read): Also exit the loop when read returns zero.
Jim Meyering [Sun, 1 Dec 2002 17:04:35 +0000 (17:04 +0000)]
(safe_read): Also exit the loop when read returns zero.

21 years agocomment tweak
Jim Meyering [Sun, 1 Dec 2002 12:10:41 +0000 (12:10 +0000)]
comment tweak

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 12:04:35 +0000 (12:04 +0000)]
*** empty log message ***

21 years ago(CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.
Jim Meyering [Sun, 1 Dec 2002 12:04:17 +0000 (12:04 +0000)]
(CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.

21 years agoMerge from gnulib.
Jim Meyering [Sun, 1 Dec 2002 11:53:02 +0000 (11:53 +0000)]
Merge from gnulib.

21 years agofrom gnulib
Jim Meyering [Sun, 1 Dec 2002 11:36:50 +0000 (11:36 +0000)]
from gnulib

21 years ago(libfetish_a_SOURCES): Add safe-write.c and safe-write.h.
Jim Meyering [Sun, 1 Dec 2002 11:36:32 +0000 (11:36 +0000)]
(libfetish_a_SOURCES): Add safe-write.c and safe-write.h.

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:57:07 +0000 (10:57 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib (trivial changes).
Jim Meyering [Sun, 1 Dec 2002 10:56:47 +0000 (10:56 +0000)]
Update from gnulib (trivial changes).

21 years agoUpdate from gnulib (trivial changes).
Jim Meyering [Sun, 1 Dec 2002 10:54:01 +0000 (10:54 +0000)]
Update from gnulib (trivial changes).

21 years agoAdd Copyright comment.
Jim Meyering [Sun, 1 Dec 2002 10:44:15 +0000 (10:44 +0000)]
Add Copyright comment.

21 years agoAdd Copyright comment.
Jim Meyering [Sun, 1 Dec 2002 10:43:35 +0000 (10:43 +0000)]
Add Copyright comment.

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:42:17 +0000 (10:42 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib (trivial changes).
Jim Meyering [Sun, 1 Dec 2002 10:42:12 +0000 (10:42 +0000)]
Update from gnulib (trivial changes).

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:41:22 +0000 (10:41 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib (trivial changes).
Jim Meyering [Sun, 1 Dec 2002 10:41:09 +0000 (10:41 +0000)]
Update from gnulib (trivial changes).

21 years agoUpdate from gnulib (trivial changes).
Jim Meyering [Sun, 1 Dec 2002 10:38:59 +0000 (10:38 +0000)]
Update from gnulib (trivial changes).

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:37:02 +0000 (10:37 +0000)]
*** empty log message ***

21 years agoupdate from gnulib
Jim Meyering [Sun, 1 Dec 2002 10:36:33 +0000 (10:36 +0000)]
update from gnulib

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:22:45 +0000 (10:22 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:20:24 +0000 (10:20 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:18:39 +0000 (10:18 +0000)]
*** empty log message ***

21 years agoDon't include <ctype.h>.
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.

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 10:15:32 +0000 (10:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 09:58:26 +0000 (09:58 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 09:57:39 +0000 (09:57 +0000)]
*** empty log message ***

21 years agoDon't include <string.h> or <ctype.h>.
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.

21 years agoupdate from master
Jim Meyering [Sun, 1 Dec 2002 08:59:05 +0000 (08:59 +0000)]
update from master

21 years ago*** empty log message ***
Jim Meyering [Sun, 1 Dec 2002 08:57:31 +0000 (08:57 +0000)]
*** empty log message ***

21 years agols is now more efficient: it no longer needs to stat each directory
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.

21 years ago(gobble_file): Remove the block of code that caused
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.

21 years agoadd comment
Jim Meyering [Sat, 30 Nov 2002 22:35:37 +0000 (22:35 +0000)]
add comment

21 years ago(sl-F-color, sl-dF-color): New tests for the above.
Jim Meyering [Sat, 30 Nov 2002 22:34:59 +0000 (22:34 +0000)]
(sl-F-color, sl-dF-color): New tests for the above.

21 years ago*** empty log message ***
Jim Meyering [Sat, 30 Nov 2002 17:13:33 +0000 (17:13 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 30 Nov 2002 16:34:20 +0000 (16:34 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 30 Nov 2002 16:17:29 +0000 (16:17 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 28 Nov 2002 09:48:47 +0000 (09:48 +0000)]
*** empty log message ***

21 years agoMerge from gnulib/libc, for a slightly uglier solution.
Jim Meyering [Thu, 28 Nov 2002 09:48:40 +0000 (09:48 +0000)]
Merge from gnulib/libc, for a slightly uglier solution.

21 years ago.
Jim Meyering [Thu, 28 Nov 2002 09:38:06 +0000 (09:38 +0000)]
.

21 years ago(STATIC): Remvoe definitions.
Jim Meyering [Thu, 28 Nov 2002 09:37:58 +0000 (09:37 +0000)]
(STATIC): Remvoe definitions.

21 years agoMerge some more, in preparation for merge back into libc.
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.

21 years ago*** empty log message ***
Jim Meyering [Thu, 28 Nov 2002 09:09:55 +0000 (09:09 +0000)]
*** empty log message ***

21 years agoMerge in changes from libc.
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.

21 years ago*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:59:41 +0000 (16:59 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:58:50 +0000 (16:58 +0000)]
*** empty log message ***

21 years ago(TESTS): Add trailing-slash.
Jim Meyering [Sun, 24 Nov 2002 16:53:59 +0000 (16:53 +0000)]
(TESTS): Add trailing-slash.

21 years ago*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:53:06 +0000 (16:53 +0000)]
*** empty log message ***

21 years agoMore clean-up, not that / means /.
Jim Meyering [Sun, 24 Nov 2002 16:25:26 +0000 (16:25 +0000)]
More clean-up, not that / means /.

21 years ago(du_files): Don't strip any trailing slash.
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.

21 years ago*** empty log message ***
Jim Meyering [Sun, 24 Nov 2002 16:12:28 +0000 (16:12 +0000)]
*** empty log message ***