Age | Commit message (Collapse) | Author |
|
Now they're defined in readutmp.h.
(print_deadprocs): Remove obsolete FIXME comment.
|
|
requires the option "-n 5" rather than "-5". This matters
with GNU "nice" if the user has set the _POSIX2_VERSION
environment variable.
|
|
|
|
|
|
|
|
Not documented.
|
|
(prompt): When not interactive, don't prompt for a symlink.
|
|
Patch by Alfred M. Szmidt.
|
|
for --version, rather than falling through.
|
|
into EXIT_FAILURE. Otherwise, false --help and false --version
would fail.
|
|
|
|
on NetBSD the return value may well be positive.
Use one-line aggregate initializations.
Use tightly scoped static buffers to avoid warnings about
unused variables on some systems.
|
|
(main): Use them, along with sysctl, to support uname -i and uname -p
on BSD hosts.
|
|
TERM names: dtterm xterm-color Eterm.
New archive suffix: .jar
New image suffixes: .jpeg .pbm .pgm .tiff .mpeg .xcf .xwd
Audio suffixes: .ogg .mp3
|
|
more readable) `>=' from Bruno's patch.
|
|
|
|
(print_uptime): Add support for determining the boot time on FreeBSD.
|
|
|
|
operating on `HAVE_...' symbols. Remove unnecessary parentheses.
|
|
permissions, but give a misleading diagnostic like this:
rm: cannot chdir from `.' to `foo': Not a directory
(remove_dir): Detect the case in which unlinking a
non-directory fails with EPERM, and give an appropriate diagnostic.
|
|
Use strspn to avoid an explicit loop.
Use fputc rather than printf "\n".
Include quote.h.
(print_stat): Use xreadlink, rather than using readlink directly.
Use the quote function rather than hard-coded double quotes.
Use error, not perror.
|
|
its heading, even when -P is used with -h or -H.
|
|
|
|
|
|
(yesno): Remove declaration. It too was unused.
|
|
This fixes a bug where df would report Size < Used.
(df_readable): Omit last arg; we always round up now.
All callers changed.
|
|
rather than the hard-coded `sh-utils'.
|
|
Add long_iso_time_style.
(time_style_args, time_style_types, decode_switches): Likewise.
(decode_switches): If a time style is prefixed by "posix-", ignore
it if in the POSIX locale. Default style is now posix-long-iso.
(usage): Explain the above.
|
|
|
|
check errno == EACCES. Otherwise, `rm dangling-symlink' would
mistakenly prompt.
|
|
Describe --secure.
Describe --format.
(main): Support -L. Deprecate -l.
|
|
|
|
|
|
|
|
|
|
|
|
deprecated address.
|
|
|
|
empty in many locales. From matthew arnison.
|
|
|
|
instead of the combination of strcat and printf.
(print_statfs) [!FLASK_LINUX]: Print `*' for %S and %C, rather than `S' and `C'.
(print_stat) [!FLASK_LINUX]: Likewise.
|
|
|
|
around the problem of making the translations of the adjective
`write-protected' and the corresponding run-time-variable noun
(e.g., file, directory, symlink, etc.) consistent. From Paul Eggert.
|
|
|
|
[!HAVE_SYS_STATVFS_H && !HAVE_SYS_VFS_H]: Include sys/param.h
and sys/mount.h, to get decl of struct statfs on NetBSD 1.5.2.
(NAMEMAX_FORMAT, STRUCT_STATVFS): Define.
(HAVE_STRUCT_STATXFS_F_TYPE, SB_F_NAMEMAX): Define.
Remove `static' attribute from decl of program_name.
(human_fstype): Use f_basetype or f_fstypename if available.
(print_human_time): Use nstrftime and an ISO format string, in
place of strftime with `%c'. The latter is too locale-dependent.
(print_statfs): Deal with lots of portability issues: some fields
are available only with statfs, others only with statvfs, and
some are available in both, but with different types.
(do_statfs) [DEFAULT_FORMAT_TERSE]: Factor out.
[DEFAULT_FORMAT_VERBOSE]: Likewise.
|
|
`failed to preserve ...' to make the failure clearer.
|
|
(copy_internal): Preserve the stat.st_author field.
|
|
(ID_LENGTH_MAX): Define.
(ST_DM_MODE): New macro. Code moved from...
(print_long_format): ...here.
(print_long_format): Itemize and comment the individual parts
of init_bigbuf. Use the above *_MAX macros.
|
|
|
|
|