summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-04-15Document kill.Jim Meyering
2002-04-15add FIXME commentsJim Meyering
2002-04-15*** empty log message ***Jim Meyering
2002-04-15Include xalloc.h.Jim Meyering
Use xmalloc everywhere, not malloc.
2002-04-15*** empty log message ***Jim Meyering
2002-04-15Handle "lld" vs "ld" printf formats the same way Bash does.Jim Meyering
Include inttypes.h. (PRIdMAX, PRIuMAX): Define, if not already defined. (print_statfs): Use those macros, not the literal strings. (print_stat): Likewise.
2002-04-15*** empty log message ***Jim Meyering
2002-04-15(usage): Give a verbose description of --squeeze-repeats,Jim Meyering
including the mention of SET1.
2002-04-15*** empty log message ***Jim Meyering
2002-04-15(print_human_fstype): Add missing `break;' for `case S_MAGIC_MINIX:'.Jim Meyering
2002-04-15remove parens in #if directivesJim Meyering
2002-04-14*** empty log message ***Jim Meyering
2002-04-14*** empty log message ***Jim Meyering
2002-04-14(statfs_secure): Define.Jim Meyering
(print_stat): Remove another #ifdef. (do_statfs): Likewise. (print_statfs): Prefer/use fputs over printf. (print_stat): Likewise.
2002-04-14filter through GNU indentJim Meyering
2002-04-14Split some long lines.Jim Meyering
(verbose_usage): Remove function.
2002-04-14*** empty log message ***Jim Meyering
2002-04-14remove parens in #if directivesJim Meyering
2002-04-14fix TABsJim Meyering
2002-04-14*** empty log message ***Jim Meyering
2002-04-14*** empty log message ***Jim Meyering
2002-04-14*** empty log message ***Jim Meyering
2002-04-14(verbose_usage): Remove function. Move contents into usage.Jim Meyering
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[HAVE_SYS_VFS_H]: Guard incluion of sys/vfs.h.Jim Meyering
Constify many parameters. (print_statfs): Fix typo: Use %u (to match %lu) for namelen, not %d.
2002-04-14alphabetize entries in a menuJim Meyering
In xref, use libc instead of library.
2002-04-13.Jim Meyering
2002-04-13add a couple `const'Jim Meyering
2002-04-13(print_human_fstype): Revamp in a similar fashion. Don't use strdup.Jim Meyering
2002-04-13(print_human_type): Call fputs once rather than calling printf many times.Jim Meyering
Declare most functions to be `static'.
2002-04-13Include system.h, error.h, and many other headers.Jim Meyering
[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-13Direct from Debian's stat_3.3-1, modulo trailing blanks (removed)Jim Meyering
and cpp directive (indented via cppi).
2002-04-13*** empty log message ***Jim Meyering
2002-04-13Document link and unlink.Jim Meyering
2002-04-12*** empty log message ***Jim Meyering
2002-04-12(dirfd): Elide prototype if dirfd is a macro.Jim Meyering
2002-04-12*** empty log message ***Jim Meyering
2002-04-12(checking for getmntinfo function...): Remove now-bogusJim Meyering
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*** empty log message ***Jim Meyering
2002-04-12(UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.Jim Meyering
This is necessary at least on Darwin 5.3.
2002-04-12*** empty log message ***Jim Meyering
2002-04-12*** empty log message ***Jim Meyering
2002-04-12Don't AC_REPLACE(strnlen), now that we useJim Meyering
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*** empty log message ***Jim Meyering
2002-04-12.Jim Meyering
2002-04-12Include long-options.h.Jim Meyering
[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-12Include long-options.h.Jim Meyering
[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*** empty log message ***Jim Meyering
2002-04-12*** empty log message ***Jim Meyering
2002-04-12*** empty log message ***Jim Meyering
2002-04-12from Debian's fileutils_4.1-10Jim Meyering