platform/upstream/coreutils.git
21 years ago(libfetish_a_SOURCES): Add full-read.c and full-read.h.
Jim Meyering [Mon, 6 Jan 2003 13:14:55 +0000 (13:14 +0000)]
(libfetish_a_SOURCES): Add full-read.c and full-read.h.

21 years ago.
Jim Meyering [Mon, 6 Jan 2003 13:08:59 +0000 (13:08 +0000)]
.

21 years agoInclude full_read.h.
Jim Meyering [Mon, 6 Jan 2003 13:08:19 +0000 (13:08 +0000)]
Include full_read.h.
(get_fs_usage): Use full_read instead of safe_read.

21 years ago*** empty log message ***
Jim Meyering [Mon, 6 Jan 2003 13:05:24 +0000 (13:05 +0000)]
*** empty log message ***

21 years ago(strdup): Remove unused declaration.
Jim Meyering [Mon, 6 Jan 2003 13:04:50 +0000 (13:04 +0000)]
(strdup): Remove unused declaration.

21 years ago(get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
Jim Meyering [Mon, 6 Jan 2003 13:02:33 +0000 (13:02 +0000)]
(get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.

21 years ago(utime_null): No need to call ftruncate if the file was
Jim Meyering [Mon, 6 Jan 2003 12:58:35 +0000 (12:58 +0000)]
(utime_null): No need to call ftruncate if the file was
nonempty.  Patch by Bruno Haible.
(utime_null): Use SAFE_READ_ERROR.

21 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jan 2003 10:51:46 +0000 (10:51 +0000)]
*** empty log message ***

21 years agoUpdate copyright date.
Jim Meyering [Sat, 4 Jan 2003 10:51:31 +0000 (10:51 +0000)]
Update copyright date.

21 years ago(TESTS): Add no-deref.
Jim Meyering [Sat, 4 Jan 2003 10:46:56 +0000 (10:46 +0000)]
(TESTS): Add no-deref.

21 years ago.
Jim Meyering [Sat, 4 Jan 2003 10:45:42 +0000 (10:45 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jan 2003 10:36:24 +0000 (10:36 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jan 2003 10:35:13 +0000 (10:35 +0000)]
*** empty log message ***

21 years agoRemove use of PARAMS.
Jim Meyering [Sat, 4 Jan 2003 10:34:59 +0000 (10:34 +0000)]
Remove use of PARAMS.

21 years agoRemove use of PARAMS.
Jim Meyering [Sat, 4 Jan 2003 10:33:01 +0000 (10:33 +0000)]
Remove use of PARAMS.

21 years agoRemove use of PARAMS.
Jim Meyering [Sat, 4 Jan 2003 10:32:21 +0000 (10:32 +0000)]
Remove use of PARAMS.

21 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jan 2003 10:08:07 +0000 (10:08 +0000)]
*** empty log message ***

21 years agorm could be tricked into mistakenly reporting a cycle.
Jim Meyering [Sat, 4 Jan 2003 10:07:44 +0000 (10:07 +0000)]
rm could be tricked into mistakenly reporting a cycle.
* src/remove.c: [cycle_check_state]: New global.
(remove_cwd_entries): Adapt to new semantics of cycle_check.
(rm): Call cycle_check_init and cycle_check_free for each file.

When rm detects a cycle, don't abort the entire command,
but rather just the affected command line argument.
* src/remove.c: Include <setjmp.h>
(struct dirstack_state) [current_arg_jumpbuf]: New member.
(remove_cwd_entries): Call longjmp if we detect a cycle.
(rm): Call setjmp here.

* src/remove.c (cycle_check, is_power_of_two): Remove functions.
Instead, include cycle-check.h and use it.

21 years ago(struct dev_ino): Remove declaration.
Jim Meyering [Sat, 4 Jan 2003 09:53:20 +0000 (09:53 +0000)]
(struct dev_ino): Remove declaration.

21 years agoDon't include trailing /. in diagnostics about directories.
Jim Meyering [Sat, 4 Jan 2003 09:45:54 +0000 (09:45 +0000)]
Don't include trailing /. in diagnostics about directories.

(full_filename_): When FILENAME is just `.'
and there is a nonempty directory-name part, don't append `/.'.

21 years ago(remove_cwd_entries): Fix typos in comment.
Jim Meyering [Sat, 4 Jan 2003 09:42:53 +0000 (09:42 +0000)]
(remove_cwd_entries): Fix typos in comment.

21 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jan 2003 09:41:35 +0000 (09:41 +0000)]
*** empty log message ***

21 years ago(struct dirstack_state): Define.
Jim Meyering [Sat, 4 Jan 2003 09:41:24 +0000 (09:41 +0000)]
(struct dirstack_state): Define.
To be used in place of these file-scoped globals ...
(dir_stack, len_stack, Active_dir): Remove globals.
(ds_init, ds_free): New functions.
(full_filename): Define.
(full_filename_): Rename from full_filename.

Begin to make AD_* functions more generic.

(AD_push_initial): Don't set status to RM_OK here.
(AD_push): Likewise.
(AD_INIT_OTHER_MEMBERS): Define.
(remove_dir): Define the `status' member manually after each
call to AD_push or AD_push_initial.

21 years ago(TESTS): Add cycle.
Jim Meyering [Sat, 4 Jan 2003 09:09:48 +0000 (09:09 +0000)]
(TESTS): Add cycle.

21 years agoRemove trailing /. from diagnostic.
Jim Meyering [Sat, 4 Jan 2003 09:03:45 +0000 (09:03 +0000)]
Remove trailing /. from diagnostic.

21 years agoEnable this test -- now that we have the --presume-input-tty option.
Jim Meyering [Sat, 4 Jan 2003 09:03:02 +0000 (09:03 +0000)]
Enable this test -- now that we have the --presume-input-tty option.

21 years agorm could be tricked into mistakenly reporting a cycle
Jim Meyering [Sat, 4 Jan 2003 09:01:04 +0000 (09:01 +0000)]
rm could be tricked into mistakenly reporting a cycle

21 years ago*** empty log message ***
Jim Meyering [Sat, 4 Jan 2003 08:59:19 +0000 (08:59 +0000)]
*** empty log message ***

21 years ago(check-misc): New rule, to ensure that no more
Jim Meyering [Sat, 4 Jan 2003 08:59:15 +0000 (08:59 +0000)]
(check-misc): New rule, to ensure that no more
S_IS* macro definitions sneak into the code.
(check): Depend on check-misc.

21 years ago[S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define.
Jim Meyering [Sat, 4 Jan 2003 08:58:12 +0000 (08:58 +0000)]
[S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define.
They're already defined in sys2.h.

21 years agoremove blank line
Jim Meyering [Sat, 4 Jan 2003 08:55:30 +0000 (08:55 +0000)]
remove blank line

21 years ago(count_entry) [S_ISLNK]: Don't define.
Jim Meyering [Sat, 4 Jan 2003 08:55:19 +0000 (08:55 +0000)]
(count_entry) [S_ISLNK]: Don't define.
It's already defined in sys2.h.

21 years ago[S_ISLNK]: Don't define. It's already defined in sys2.h.
Jim Meyering [Sat, 4 Jan 2003 08:44:11 +0000 (08:44 +0000)]
[S_ISLNK]: Don't define.  It's already defined in sys2.h.

21 years ago.
Jim Meyering [Sat, 4 Jan 2003 08:42:26 +0000 (08:42 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 3 Jan 2003 21:38:33 +0000 (21:38 +0000)]
*** empty log message ***

21 years agoAdd copyright.
Jim Meyering [Fri, 3 Jan 2003 21:38:27 +0000 (21:38 +0000)]
Add copyright.
(AUTHORS): I suppose I've written it.

21 years ago*** empty log message ***
Jim Meyering [Fri, 3 Jan 2003 21:34:16 +0000 (21:34 +0000)]
*** empty log message ***

21 years ago(false.c): Make the generated file be read-only.
Jim Meyering [Fri, 3 Jan 2003 21:34:06 +0000 (21:34 +0000)]
(false.c): Make the generated file be read-only.

21 years ago.
Jim Meyering [Fri, 3 Jan 2003 21:05:51 +0000 (21:05 +0000)]
.

21 years ago(do_copy): Tweak diagnostic to be consistent with the one
Jim Meyering [Fri, 3 Jan 2003 19:34:22 +0000 (19:34 +0000)]
(do_copy): Tweak diagnostic to be consistent with the one
from mv: s/missing file arguments/missing file argument/.
With --target-directory=DIR, cp and mv work with a single file argument.
Reported by Karl Berry.

21 years ago*** empty log message ***
Jim Meyering [Fri, 3 Jan 2003 19:33:59 +0000 (19:33 +0000)]
*** empty log message ***

21 years agoInclude "dev-ino.h".
Jim Meyering [Fri, 3 Jan 2003 19:33:52 +0000 (19:33 +0000)]
Include "dev-ino.h".
[struct dev_ino]: Remove declaration.

21 years ago*** empty log message ***
Jim Meyering [Fri, 3 Jan 2003 19:31:10 +0000 (19:31 +0000)]
*** empty log message ***

21 years ago(libfetish_a_SOURCES): Add cycle-check.c, cycle-check.h, and dev-ino.h.
Jim Meyering [Fri, 3 Jan 2003 19:31:01 +0000 (19:31 +0000)]
(libfetish_a_SOURCES): Add cycle-check.c, cycle-check.h, and dev-ino.h.

21 years ago.
Jim Meyering [Fri, 3 Jan 2003 19:30:29 +0000 (19:30 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 21 Dec 2002 14:53:26 +0000 (14:53 +0000)]
*** empty log message ***

21 years agoGenerate MML-formatted announcement.
Jim Meyering [Sat, 21 Dec 2002 14:53:18 +0000 (14:53 +0000)]
Generate MML-formatted announcement.
This makes it a *lot* harder to send stale MD5/SHA1 signatures.

21 years ago.
Jim Meyering [Sat, 21 Dec 2002 14:50:45 +0000 (14:50 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 21 Dec 2002 14:42:02 +0000 (14:42 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 21 Dec 2002 14:41:58 +0000 (14:41 +0000)]
.

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

21 years ago(touch): Change the wording of a diagnostic so
Jim Meyering [Fri, 20 Dec 2002 20:10:48 +0000 (20:10 +0000)]
(touch): Change the wording of a diagnostic so
that it makes sense both when the file exists and when it doesn't.

21 years ago.
Jim Meyering [Thu, 19 Dec 2002 20:30:39 +0000 (20:30 +0000)]
.

21 years ago(valid_options): Declare to be static.
Jim Meyering [Wed, 18 Dec 2002 08:54:01 +0000 (08:54 +0000)]
(valid_options): Declare to be static.

21 years ago.
Jim Meyering [Mon, 16 Dec 2002 07:43:45 +0000 (07:43 +0000)]
.

21 years ago.
Jim Meyering [Mon, 16 Dec 2002 07:43:25 +0000 (07:43 +0000)]
.

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

21 years ago.
Jim Meyering [Sun, 15 Dec 2002 21:40:56 +0000 (21:40 +0000)]
.

21 years agoRemove rules related to generating m4/jm-glibc-io.m4.
Jim Meyering [Sun, 15 Dec 2002 21:40:30 +0000 (21:40 +0000)]
Remove rules related to generating m4/jm-glibc-io.m4.

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

21 years agoRemove now-unused file.
Jim Meyering [Sun, 15 Dec 2002 21:39:28 +0000 (21:39 +0000)]
Remove now-unused file.

21 years ago(Makefile.am): Remove jm-glibc-io.m4 and jm-glibc-io.m4n.
Jim Meyering [Sun, 15 Dec 2002 21:38:44 +0000 (21:38 +0000)]
(Makefile.am): Remove jm-glibc-io.m4 and jm-glibc-io.m4n.

21 years ago(libfetish_a_SOURCES): Add strftime.h.
Jim Meyering [Sun, 15 Dec 2002 21:33:42 +0000 (21:33 +0000)]
(libfetish_a_SOURCES): Add strftime.h.

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

21 years agoNew file, for declaration of nstrftime.
Jim Meyering [Sun, 15 Dec 2002 21:33:29 +0000 (21:33 +0000)]
New file, for declaration of nstrftime.

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

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

21 years ago*** empty log message ***
Jim Meyering [Sun, 15 Dec 2002 20:54:49 +0000 (20:54 +0000)]
*** empty log message ***

21 years agoRemove all uses of `PARAMS'.
Jim Meyering [Sun, 15 Dec 2002 20:54:29 +0000 (20:54 +0000)]
Remove all uses of `PARAMS'.

21 years ago(PARAMS): Remove definition.
Jim Meyering [Sun, 15 Dec 2002 20:53:36 +0000 (20:53 +0000)]
(PARAMS): Remove definition.

21 years ago(PARAMS): Remove definition.
Jim Meyering [Sun, 15 Dec 2002 20:48:26 +0000 (20:48 +0000)]
(PARAMS): Remove definition.

21 years ago*** empty log message ***
Jim Meyering [Sun, 15 Dec 2002 20:46:06 +0000 (20:46 +0000)]
*** empty log message ***

21 years agoRemove declaration of nstrftime.
Jim Meyering [Sun, 15 Dec 2002 20:45:36 +0000 (20:45 +0000)]
Remove declaration of nstrftime.
Include strftime.h instead.

21 years ago.
Jim Meyering [Sun, 15 Dec 2002 19:21:40 +0000 (19:21 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 15 Dec 2002 08:40:42 +0000 (08:40 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 15 Dec 2002 07:43:12 +0000 (07:43 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 14 Dec 2002 19:51:04 +0000 (19:51 +0000)]
*** empty log message ***

21 years ago($(url_dir_list)): Use .../coreutils, not .../fetish.
Jim Meyering [Sat, 14 Dec 2002 19:50:29 +0000 (19:50 +0000)]
($(url_dir_list)): Use .../coreutils, not .../fetish.

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

21 years ago[! HAVE_DECL_MEMRCHR]: Declare memrchr.
Jim Meyering [Sat, 14 Dec 2002 17:34:13 +0000 (17:34 +0000)]
[! HAVE_DECL_MEMRCHR]: Declare memrchr.
This is necessary at least for Irix6.5 when using c89.
Reported by Nelson Beebe.

21 years ago*** empty log message ***
Jim Meyering [Sat, 14 Dec 2002 17:21:32 +0000 (17:21 +0000)]
*** empty log message ***

21 years ago(TESTS): Add cat-tty-eof.
Jim Meyering [Sat, 14 Dec 2002 17:21:25 +0000 (17:21 +0000)]
(TESTS): Add cat-tty-eof.

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

21 years agotest for a bug that appeared in cat from using a bad version of safe-read.c
Jim Meyering [Sat, 14 Dec 2002 17:19:32 +0000 (17:19 +0000)]
test for a bug that appeared in cat from using a bad version of safe-read.c

21 years ago*** empty log message ***
Jim Meyering [Sat, 14 Dec 2002 16:29:11 +0000 (16:29 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 14 Dec 2002 14:15:43 +0000 (14:15 +0000)]
*** empty log message ***

21 years ago(usage): Specify how major and minor mode numbers are interpreted.
Jim Meyering [Sat, 14 Dec 2002 14:15:38 +0000 (14:15 +0000)]
(usage): Specify how major and minor mode numbers are interpreted.

Remove now-redundant usage-specifying comment.

21 years ago*** empty log message ***
Jim Meyering [Sat, 14 Dec 2002 14:14:25 +0000 (14:14 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 14 Dec 2002 13:31:05 +0000 (13:31 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 14 Dec 2002 13:27:59 +0000 (13:27 +0000)]
*** empty log message ***

21 years ago(mknod invocation): Specify how major and minor mode numbers are interpreted.
Jim Meyering [Sat, 14 Dec 2002 13:27:53 +0000 (13:27 +0000)]
(mknod invocation): Specify how major and minor mode numbers are interpreted.

21 years agobump to 4.5.5
Jim Meyering [Sat, 14 Dec 2002 12:45:57 +0000 (12:45 +0000)]
bump to 4.5.5

21 years ago.
Jim Meyering [Fri, 13 Dec 2002 22:34:11 +0000 (22:34 +0000)]
.

21 years ago*** empty log message *** COREUTILS-4_5_4 v4.5.4
Jim Meyering [Fri, 13 Dec 2002 22:13:05 +0000 (22:13 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 13 Dec 2002 22:11:32 +0000 (22:11 +0000)]
*** empty log message ***

21 years agoAllow for a directory of size `0'.
Jim Meyering [Fri, 13 Dec 2002 22:11:28 +0000 (22:11 +0000)]
Allow for a directory of size `0'.
That happens at least on file systems of type tmpfs on linux-2.4.18.

21 years ago.
Jim Meyering [Fri, 13 Dec 2002 21:03:55 +0000 (21:03 +0000)]
.

21 years ago.
Jim Meyering [Fri, 13 Dec 2002 20:46:19 +0000 (20:46 +0000)]
.

21 years ago.
Jim Meyering [Fri, 13 Dec 2002 20:25:24 +0000 (20:25 +0000)]
.

21 years agoremove Ascend::Init
Jim Meyering [Fri, 13 Dec 2002 20:24:02 +0000 (20:24 +0000)]
remove Ascend::Init