Jim Meyering
ac829d6935
(print_human_type): Call fputs once rather than calling printf many times.
...
Declare most functions to be `static'.
2002-04-13 14:23:00 +00:00
Jim Meyering
d1a60cddfe
Include system.h, error.h, and many other headers.
...
[HAVE_SYS_SYSMACROS_H]: Guard inclusion of sys/sysmacros.h.
(PROGRAM_NAME, AUTHORS): Define.
(long_options): Declare/define.
(print_human_access): Rewrite to use mode_string.
(usage): Rewrite.
(main): Use getopt_long.
2002-04-13 14:11:44 +00:00
Jim Meyering
8d8acf4b3c
Direct from Debian's stat_3.3-1, modulo trailing blanks (removed)
...
and cpp directive (indented via cppi).
2002-04-13 13:47:14 +00:00
Jim Meyering
fadc4d4786
*** empty log message ***
2002-04-13 12:40:43 +00:00
Jim Meyering
9eb27b5fad
Document link and unlink.
2002-04-13 12:40:36 +00:00
Jim Meyering
b1e1f83089
*** empty log message ***
2002-04-12 21:03:34 +00:00
Jim Meyering
ad935391c2
(dirfd): Elide prototype if dirfd is a macro.
2002-04-12 21:03:28 +00:00
Jim Meyering
5f057a69d6
*** empty log message ***
2002-04-12 20:51:01 +00:00
Jim Meyering
d635ea46cb
(checking for getmntinfo function...): Remove now-bogus
...
check for f_type in sys/mount.h. Instead, just test for the existence
of the getmntinfo function. Needed for Darwin 5.3.
2002-04-12 20:50:53 +00:00
Jim Meyering
51816f9adb
*** empty log message ***
2002-04-12 20:48:36 +00:00
Jim Meyering
50bc2a4286
(UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
...
This is necessary at least on Darwin 5.3.
2002-04-12 20:48:29 +00:00
Jim Meyering
7f01432879
*** empty log message ***
2002-04-12 11:04:02 +00:00
Jim Meyering
d11a1de3ed
*** empty log message ***
2002-04-12 11:03:13 +00:00
Jim Meyering
c6590a2f61
Don't AC_REPLACE(strnlen), now that we use
...
AC_FUNC_STRNLEN. That would end up putting two copies of strnlen.o
in the library, and that makes some versions of ranlib object.
2002-04-12 11:02:59 +00:00
Jim Meyering
f5da3f584b
*** empty log message ***
2002-04-12 10:47:18 +00:00
Jim Meyering
5771d0193b
.
2002-04-12 10:46:55 +00:00
Jim Meyering
f52a204a4e
Include long-options.h.
...
[long_opts]: Remove.
(usage): Tweak --help output; use *_OPTION_DESCRIPTION macros.
(main): Don't use getopt directly. Use parse_long_options instead.
Tweak a diagnostic.
Use EXIT_FAILURE rather than a literal `1'.
(main): If POSIXLY_CORRECT is set, don't recognize --help or --version,
so the program can operate on a file with one of those names.
2002-04-12 10:41:54 +00:00
Jim Meyering
21126e288b
Include long-options.h.
...
[long_opts]: Remove.
(usage): Tweak --help output; use *_OPTION_DESCRIPTION macros.
(main): Don't use getopt directly. Use parse_long_options instead.
Tweak a diagnostic.
Use EXIT_FAILURE rather than a literal `1'.
2002-04-12 10:41:22 +00:00
Jim Meyering
d1aa15101c
*** empty log message ***
2002-04-12 10:41:00 +00:00
Jim Meyering
92c4ad70ea
*** empty log message ***
2002-04-12 10:40:09 +00:00
Jim Meyering
1247f879f9
*** empty log message ***
2002-04-12 10:39:43 +00:00
Jim Meyering
b46ec3cd33
from Debian's fileutils_4.1-10
2002-04-12 10:07:17 +00:00
Jim Meyering
f0ea374271
*** empty log message ***
2002-04-09 17:55:48 +00:00
Jim Meyering
72af85a647
(jm_FUNC_REALLOC): Change the `checking ...' message
...
to be more precise. Rather than saying we're checking whether the
function `works', say what we're testing.
2002-04-09 17:55:36 +00:00
Jim Meyering
aa77b79b4b
(jm_FUNC_MALLOC): Change the `checking ...' message
...
to be more precise. Rather than saying we're checking whether the
function `works', say what we're testing.
2002-04-09 17:55:23 +00:00
Jim Meyering
f36cf8b4d8
*** empty log message ***
2002-04-08 09:39:19 +00:00
Jim Meyering
a8a0842148
Use new directives, @copying and @insertcopying,
...
thus now requiring texinfo-4.2 to create the .info file.
2002-04-08 09:38:58 +00:00
Jim Meyering
8c3b497f01
*** empty log message ***
2002-04-07 21:46:15 +00:00
Jim Meyering
61d6d975af
Tweak comments to reflect reality.
2002-04-07 21:46:11 +00:00
Jim Meyering
b5422e71f7
*** empty log message ***
2002-04-07 15:57:10 +00:00
Jim Meyering
c20f3cd330
Add VERBOSE=yes support.
2002-04-07 15:52:14 +00:00
Jim Meyering
a88ba0dd94
Fix typo in VERBOSE=yes handling.
2002-04-07 15:51:12 +00:00
Jim Meyering
81c7cd4c29
.
FILEUTILS-4_1_8
2002-03-30 15:49:57 +00:00
Jim Meyering
f79efa913c
with --reply=no, no need for input file `no'
2002-03-30 15:26:46 +00:00
Jim Meyering
8b861292c6
--, not ---
2002-03-30 15:22:04 +00:00
Jim Meyering
39f54be321
*** empty log message ***
2002-03-30 15:20:22 +00:00
Jim Meyering
9bfbfd3b8a
*** empty log message ***
2002-03-30 15:19:04 +00:00
Jim Meyering
fff7466c36
Use --reply=no rather than -i.
...
The latter depends on whether stdin is a tty.
2002-03-30 15:18:54 +00:00
Jim Meyering
bd2fa30652
.
2002-03-30 10:40:32 +00:00
Jim Meyering
fffcc47efc
.
2002-03-30 07:24:19 +00:00
Jim Meyering
302c89b285
(do_move): Correct a comment.
2002-03-30 07:12:23 +00:00
Jim Meyering
3dd09fbf17
*** empty log message ***
2002-03-30 07:11:34 +00:00
Jim Meyering
baa4aff633
(forget_created): Prototype.
2002-03-30 07:11:24 +00:00
Jim Meyering
aa3694f1ff
(forget_created): New function.
2002-03-30 07:11:13 +00:00
Jim Meyering
9211474a6e
(copy_internal): Move the block that sets `earlier_file'
...
down to just before the first use of that variable. Otherwise, it was
possible to make mv (and probably cp, too) malfunction when copying
hard-linked files into a directory containing at least one of the
source file names. Call forget_created everywhere thereafter where
this function returns without creating a destination file that might
subsequently be linked. Reported by Iida Yosiaki.
2002-03-30 07:10:57 +00:00
Jim Meyering
ca76cd842a
New test for the above.
...
Based on an example from Iida Yosiaki.
2002-03-29 23:11:41 +00:00
Jim Meyering
6879364228
(TESTS): Add i-link-no.
2002-03-29 23:11:28 +00:00
Jim Meyering
0a2845a592
*** empty log message ***
2002-03-29 23:09:52 +00:00
Jim Meyering
d4e06e8c46
*** empty log message ***
2002-03-28 08:07:41 +00:00
Jim Meyering
61789dd7d5
.
2002-03-28 07:59:24 +00:00