Commit Graph
24019 Commits
Author SHA1 Message Date
Jim Meyering 68f054be8f *** empty log message *** 2002-04-15 08:41:34 +00:00
Jim Meyering d9feb76a02 (usage): Give a verbose description of --squeeze-repeats,
including the mention of SET1.
2002-04-15 08:41:23 +00:00
Jim Meyering 872325a656 *** empty log message *** 2002-04-15 07:21:49 +00:00
Jim Meyering d133be1fc3 (print_human_fstype): Add missing break;' for case S_MAGIC_MINIX:'. 2002-04-15 07:21:42 +00:00
Jim Meyering ad02a0f47d remove parens in #if directives 2002-04-15 07:20:15 +00:00
Jim Meyering f7d204bce4 *** empty log message *** 2002-04-14 12:53:10 +00:00
Jim Meyering 2b38bcb26a *** empty log message *** 2002-04-14 12:53:00 +00:00
Jim Meyering 6d89182e28 (statfs_secure): Define.
(print_stat): Remove another #ifdef.
(do_statfs): Likewise.
(print_statfs): Prefer/use fputs over printf.
(print_stat): Likewise.
2002-04-14 12:52:48 +00:00
Jim Meyering 30215a98cc filter through GNU indent 2002-04-14 08:20:15 +00:00
Jim Meyering c8088a6184 Split some long lines.
(verbose_usage): Remove function.
2002-04-14 08:18:49 +00:00
Jim Meyering 82395d065e *** empty log message *** 2002-04-14 08:15:22 +00:00
Jim Meyering 5120cb1bc9 remove parens in #if directives 2002-04-14 08:14:37 +00:00
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