Commit Graph
15907 Commits
Author SHA1 Message Date
Jim Meyering e407204f28 fix TABs 2002-04-14 08:14:15 +00:00
Jim Meyering af3fa53348 *** empty log message *** 2002-04-14 08:13:50 +00:00
Jim Meyering 4fc8280fa6 *** empty log message *** 2002-04-14 07:50:19 +00:00
Jim Meyering 9e92d099ce *** empty log message *** 2002-04-14 07:49:20 +00:00
Jim Meyering 7c3982f666 (verbose_usage): Remove function. Move contents into usage.
Remove lots of #if directives involving FLASK_LINUX
[!FLASK_LINUX] (is_flask_enabled): Define.
(stat_secure, lstat_secure): Define.
(print_statfs): Remove lots of nested #if directives.
Instead, rely on support fo %llu and %lld printf formats --
but that is only temporary, since it's not porable enough.
(main): Hoist is_flask_enabled test to be done here, rather
than in each of do_stat and do_statfs for every argument.
2002-04-14 07:47:44 +00:00
Jim Meyering b6e520d478 [HAVE_SYS_VFS_H]: Guard incluion of sys/vfs.h.
Constify many parameters.
(print_statfs): Fix typo: Use %u (to match %lu) for namelen, not %d.
2002-04-14 06:55:13 +00:00
Jim Meyering 2c41df8b40 alphabetize entries in a menu
In xref, use libc instead of library.
2002-04-14 06:27:10 +00:00
Jim Meyering 86168539c7 . 2002-04-13 17:10:57 +00:00
Jim Meyering d849f68245 add a couple `const' 2002-04-13 14:35:46 +00:00
Jim Meyering 91990a324b (print_human_fstype): Revamp in a similar fashion. Don't use strdup. 2002-04-13 14:34:58 +00:00
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