Jim Meyering
3d23ede4eb
Include "save-cwd.h".
...
(ftw_startup): Avoid use of getcwd, if possible.
Instead, use fopen/fchdir via save_cwd/restore_cwd.
2003-03-09 09:22:55 +00:00
Jim Meyering
ff47d1602f
*** empty log message ***
2003-03-09 09:14:25 +00:00
Jim Meyering
79cb935030
fix typo in comment
2003-03-09 07:56:29 +00:00
Jim Meyering
b834bcfc65
*** empty log message ***
2003-03-09 07:54:43 +00:00
Jim Meyering
ac6d593d59
*** empty log message ***
2003-03-09 07:14:28 +00:00
Jim Meyering
25697ff274
(AD_stack_pop): Cast sizeof... to int before changing its sign.
...
This avoids a warning from gcc on 64-bit systems.
(pop_dir): Reverse order of sign change and cast, to be consistent
with the above.
2003-03-09 07:14:19 +00:00
Jim Meyering
5a7ffbd8f9
*** empty log message ***
2003-03-08 21:22:40 +00:00
Jim Meyering
cf79b808df
(evar-check): Check for POSIXLY_CORRECT not as a
...
shell variable, but only in the environment. With /bin/sh->bash, the
shell variable is set to `y', and that would cause a spurious warning.
2003-03-08 21:22:25 +00:00
Jim Meyering
79d95ae843
*** empty log message ***
2003-03-08 21:04:11 +00:00
Jim Meyering
183fe2386d
*** empty log message ***
2003-03-08 19:02:46 +00:00
Jim Meyering
30ccf7222a
Require at least version 1.11 of Expect.pm.
...
Old versions of Expect.pm (e.g., 1.07) lack the log_user function.
Patch by Bob Proulx.
2003-03-08 19:02:38 +00:00
Jim Meyering
34a6d6e2dd
Before, when using shred on a device, one had to specify --exact,
...
or be careful to choose a size that would not be rounded up and
exceed the maximum value; that could result in a failure of
the final write.
(do_wipefd): --exact is now the default for non-regular
files. Suggestion from Ben Elliston.
(usage): Say it.
2003-03-08 16:57:55 +00:00
Jim Meyering
4dffef72e6
*** empty log message ***
2003-03-08 16:55:50 +00:00
Jim Meyering
9d3548a908
(check-root): Remove touch/fifo.
...
It doesn't appear to have to be run as root.
2003-03-08 16:55:42 +00:00
Jim Meyering
c440afd9f8
*** empty log message ***
2003-03-08 16:44:04 +00:00
Jim Meyering
e02625cb79
*** empty log message ***
2003-03-08 16:43:52 +00:00
Jim Meyering
c86bae2a59
*** empty log message ***
2003-03-08 16:43:48 +00:00
Jim Meyering
6df9b9041d
Rather than simply using the first non-root
...
username, make sure that the selected user name has a usable shell.
2003-03-08 16:43:43 +00:00
Jim Meyering
777ac50d21
*** empty log message ***
2003-03-08 15:47:57 +00:00
Jim Meyering
b01a17f9b4
*** empty log message ***
2003-03-08 15:32:23 +00:00
Jim Meyering
f31336c193
Also check for the log_user method, to avoid
...
spurious failure when using an old version of Expect.pm (e.g., 1.07).
Reported by Bob Proulx.
2003-03-08 15:32:17 +00:00
Jim Meyering
cb1dcb5818
.
2003-03-08 14:32:57 +00:00
Jim Meyering
3e9e352991
Remove now-unused #include and #define directives.
2003-03-08 14:30:28 +00:00
Jim Meyering
79065539dd
(check-misc): Check for use of `defined' in #define directives.
...
Change to $(srcdir) before running grep.
2003-03-08 14:30:14 +00:00
Jim Meyering
eff5758aaf
Don't use `defined' in a #define directive.
2003-03-08 14:26:48 +00:00
Jim Meyering
ec655b669f
*** empty log message ***
2003-03-08 10:28:41 +00:00
Jim Meyering
9d7d671604
.
2003-03-08 10:27:19 +00:00
Jim Meyering
5abd02fef6
*** empty log message ***
2003-03-08 10:26:32 +00:00
Jim Meyering
e4c02ba583
*** empty log message ***
2003-03-08 10:25:25 +00:00
Jim Meyering
a3a6a035d1
.
2003-03-08 10:24:00 +00:00
Jim Meyering
04c9a5c2e4
Ensure that hard links _are_ listed twice when using --count-links.
2003-03-08 10:23:45 +00:00
Jim Meyering
66bada849b
(process_file): If a file's size is not being counted
...
e.g., because it's a hard link to a file we've already counted,
then don't print a line for it.
2003-03-08 10:21:19 +00:00
Jim Meyering
07f4993bfb
*** empty log message ***
2003-03-08 10:18:26 +00:00
Jim Meyering
6c1a78b5d6
`du -S' didn't work
...
Revert most of the `reorganization' change of 2003-02-20,
and make the two-array approach work.
2003-03-08 10:18:19 +00:00
Jim Meyering
8f683f9314
*** empty log message ***
2003-03-08 10:14:33 +00:00
Jim Meyering
0da302c05a
*** empty log message ***
2003-03-08 10:10:59 +00:00
Jim Meyering
12a14ef034
*** empty log message ***
2003-03-08 10:10:09 +00:00
Jim Meyering
72dc1cec94
(TESTS): Add hard-link.
2003-03-08 09:56:14 +00:00
Jim Meyering
d53c43f440
*** empty log message ***
2003-03-08 09:50:12 +00:00
Jim Meyering
3ba019fec5
.
2003-03-08 09:48:27 +00:00
Jim Meyering
5fb608bc08
Correct/add tests for the above fix.
...
Set LC_ALL, etc, now that we use sort.
Check the block/size of a small file, too.
Correct expected results for simple dir1/dir2/file case.
Add another test of du -S.
2003-03-08 08:39:07 +00:00
Jim Meyering
e20876e2ca
.
2003-03-07 23:48:40 +00:00
Jim Meyering
7c8f779ea4
remove mmap-stack.c
2003-03-07 23:43:09 +00:00
Jim Meyering
a36e686371
*** empty log message ***
2003-03-07 23:42:35 +00:00
Jim Meyering
684f41944e
.
2003-03-07 23:37:10 +00:00
Jim Meyering
6d842c09f0
*** empty log message ***
2003-03-07 23:36:49 +00:00
Jim Meyering
c647d81837
*** empty log message ***
2003-03-07 23:26:35 +00:00
Jim Meyering
a1134e1eb6
(print_it): Use putchar, not fputs, to output a single character.
2003-03-07 23:24:53 +00:00
Jim Meyering
b24b4b4d59
(dired_dump_obstack): Use putchar, not fputs, to output a single character.
2003-03-07 23:22:54 +00:00
Jim Meyering
a98f67970e
(usage): Use putchar, not fputs, to output a single character.
2003-03-07 23:22:14 +00:00