Commit Graph
24019 Commits
Author SHA1 Message Date
Jim Meyering 818c25f686 (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.
2003-01-04 09:41:24 +00:00
Jim Meyering 7e4c16df3d (TESTS): Add cycle. 2003-01-04 09:09:48 +00:00
Jim Meyering c146a76b5d Remove trailing /. from diagnostic. 2003-01-04 09:03:45 +00:00
Jim Meyering 874f367c0a Enable this test -- now that we have the --presume-input-tty option. 2003-01-04 09:03:02 +00:00
Jim Meyering 432a5017a2 rm could be tricked into mistakenly reporting a cycle 2003-01-04 09:01:04 +00:00
Jim Meyering 5a0e8b1ab1 *** empty log message *** 2003-01-04 08:59:19 +00:00
Jim Meyering 10a0b7c14d (check-misc): New rule, to ensure that no more
S_IS* macro definitions sneak into the code.
(check): Depend on check-misc.
2003-01-04 08:59:15 +00:00
Jim Meyering 33ca4e1f5a [S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define.
They're already defined in sys2.h.
2003-01-04 08:58:12 +00:00
Jim Meyering fd5d4e6d54 remove blank line 2003-01-04 08:55:30 +00:00
Jim Meyering 1cf764991f (count_entry) [S_ISLNK]: Don't define.
It's already defined in sys2.h.
2003-01-04 08:55:19 +00:00
Jim Meyering a4efa35cd7 [S_ISLNK]: Don't define. It's already defined in sys2.h. 2003-01-04 08:44:11 +00:00
Jim Meyering 9434608b2b . 2003-01-04 08:42:26 +00:00
Jim Meyering 0bce0bb6f4 *** empty log message *** 2003-01-03 21:38:33 +00:00
Jim Meyering 08cf9aee8b Add copyright.
(AUTHORS): I suppose I've written it.
2003-01-03 21:38:27 +00:00
Jim Meyering 8256faecd8 *** empty log message *** 2003-01-03 21:34:16 +00:00
Jim Meyering d45f740edc (false.c): Make the generated file be read-only. 2003-01-03 21:34:06 +00:00
Jim Meyering 8cce263649 . 2003-01-03 21:05:51 +00:00
Jim Meyering d517c8fa79 (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.
2003-01-03 19:34:22 +00:00
Jim Meyering 820fd625f3 *** empty log message *** 2003-01-03 19:33:59 +00:00
Jim Meyering 1b6b9abd55 Include "dev-ino.h".
[struct dev_ino]: Remove declaration.
2003-01-03 19:33:52 +00:00
Jim Meyering 8e4c2127af *** empty log message *** 2003-01-03 19:31:10 +00:00
Jim Meyering fe688e3d91 (libfetish_a_SOURCES): Add cycle-check.c, cycle-check.h, and dev-ino.h. 2003-01-03 19:31:01 +00:00
Jim Meyering fab52f550d . 2003-01-03 19:30:29 +00:00
Jim Meyering 5ed7d34ed8 *** empty log message *** 2002-12-21 14:53:26 +00:00
Jim Meyering e3c1118ce1 Generate MML-formatted announcement.
This makes it a *lot* harder to send stale MD5/SHA1 signatures.
2002-12-21 14:53:18 +00:00
Jim Meyering 317fa67e1e . 2002-12-21 14:50:45 +00:00
Jim Meyering 3156fcf62a *** empty log message *** 2002-12-21 14:42:02 +00:00
Jim Meyering 374d2948bc . 2002-12-21 14:41:58 +00:00
Jim Meyering bb42dae7f2 *** empty log message *** 2002-12-20 20:10:59 +00:00
Jim Meyering f331e1389c (touch): Change the wording of a diagnostic so
that it makes sense both when the file exists and when it doesn't.
2002-12-20 20:10:48 +00:00
Jim Meyering 5fcf19366e . 2002-12-19 20:30:39 +00:00
Jim Meyering 302165d602 (valid_options): Declare to be static. 2002-12-18 08:54:01 +00:00
Jim Meyering 7d29906690 . 2002-12-16 07:43:45 +00:00
Jim Meyering 4c14b0f08e . 2002-12-16 07:43:25 +00:00
Jim Meyering 63c56a6444 *** empty log message *** 2002-12-15 21:41:08 +00:00
Jim Meyering dd2b357234 . 2002-12-15 21:40:56 +00:00
Jim Meyering e7ff31d2ac Remove rules related to generating m4/jm-glibc-io.m4. 2002-12-15 21:40:30 +00:00
Jim Meyering 0a8353f85e *** empty log message *** 2002-12-15 21:39:41 +00:00
Jim Meyering c7bc5000c9 Remove now-unused file. 2002-12-15 21:39:28 +00:00
Jim Meyering a734df6426 (Makefile.am): Remove jm-glibc-io.m4 and jm-glibc-io.m4n. 2002-12-15 21:38:44 +00:00
Jim Meyering 97ce59e3bc (libfetish_a_SOURCES): Add strftime.h. 2002-12-15 21:33:42 +00:00
Jim Meyering 5da39e8d5c *** empty log message *** 2002-12-15 21:33:35 +00:00
Jim Meyering 470a990b59 New file, for declaration of nstrftime. 2002-12-15 21:33:29 +00:00
Jim Meyering 8aaa230726 *** empty log message *** 2002-12-15 20:55:20 +00:00
Jim Meyering a05f170290 *** empty log message *** 2002-12-15 20:55:15 +00:00
Jim Meyering 85b26cb44d *** empty log message *** 2002-12-15 20:54:49 +00:00
Jim Meyering a5f14f167e Remove all uses of `PARAMS'. 2002-12-15 20:54:29 +00:00
Jim Meyering b7e390ca09 (PARAMS): Remove definition. 2002-12-15 20:53:36 +00:00
Jim Meyering a6561c4753 (PARAMS): Remove definition. 2002-12-15 20:48:26 +00:00
Jim Meyering a896d0a426 *** empty log message *** 2002-12-15 20:46:06 +00:00