Age | Commit message (Collapse) | Author |
|
(seek_records): Renamed from seek_record, for consistency with
skip_records and max_records. All uses changed.
(usage, scanargs): Remove bseek=n and bskip=n; instead, use seek=nB
and skip=nB.
(enum Unit, Unit): Remove.
(skip, dd_copy, main): Undo most recent change.
(dd_copy, main): Pass blocksize of 1 as appropriate when
skip_bytes or seek_bytes is nonzero.
(main): Rework ftruncate failure diagnostic to always use byte count.
|
|
Fix a merge bug exposed by new test.
|
|
adapt skip to skip either by bytes or by blocks
|
|
(main): Report failed fstat.
Complain only when ftruncate fails on a regular file,
a directory, or a shared memory object.
|
|
|
|
|
|
Based on a patch from Michael Stone.
Reported by andras@kolumbus.fi at http://bugs.debian.org/77174.
|
|
the mount directory exists and has the required device number.
Before, e.g., `df /floppy' would mistakenly report on the root
partition if /floppy were not listed in /etc/mtab but / was.
Patch from Eirik Fuller (http://bugs.debian.org/76923).
|
|
(change_file_mode): Use it to determine accurately when -c should
make chmod announce there's been a change.
|
|
Handle the case correctly when digits options immediately precede a
non-option.
|
|
INDICATOR_STYLE_OPTION, QUOTING_STYLE_OPTION,
SHOW_CONTROL_CHARS_OPTION, SORT_OPTION, TIME_OPTION): New enum
values, to ensure that option values can't collide with chars.
(long_options, decode_switches): Use them.
|
|
constants rather than macros. Use values that cannot conflict
with C characters or with -1, CHAR_MAX + 1, etc.
|
|
merely because we couldn't `chdir' into it. That would give subtly
different results in some cases. Reported by Mattias Wadenstein
via Michael Stone.
|
|
the output format of `ls -l --full-time'.
|
|
one diagnostic, not two. Reported by Volker Borchert.
|
|
from the argument to the final mkdir call. Required for NetBSD.
|
|
|
|
so join works with 8-bit delimiter characters.
|
|
|
|
|
|
so join works with 8-bit delimiter characters.
Reported by Antonio Rendas.
|
|
be tested with #ifdef, not with #if.
|
|
From Paul Eggert.
|
|
format string must not be translatable via _(). From Paul Eggert.
|
|
(DATE_FMT_LANGINFO): New macro, taken from sh-utils/src/date.c.
(print_long_format): Use it to determine "date" format.
Do not wrap "%b %e %Y" and "%b %e %H:%M" in _(), as it results in
incorrect behavior when LC_ALL is unset, LC_TIME is "C", and
LC_MESSAGES or LANG is set to something disagreeing with the POSIX
locale.
|
|
string in _(...), so it too may be internationalized.
Suggestion from Jungshik Shin.
|
|
digits as a file name, rather than as a date/time in the obsolescent
`MMDDhhmm[YY]' format. Reported by Wenjun Zheng.
|
|
component if it was not just created.
Based on a patch from Volker Borchert.
|
|
|
|
|
|
Diagnose as failure when mkdir tries to create (without the
--parent (-p) option) a directory that already exists.
|
|
|
|
|
|
|
|
that did not account for the umask. [introduced with the
2000-09-30 change that became part of fileutils-4.0.28]
Include dirname.h.
Compute the parent directory `mode' unconditionally, effectively
as `$(umask -S),u+wx'.
Use make_path to create only the parent directories, thus using
the same code, both with and without -p, to create the final
component in each file name. Reported by Bob Proulx.
|
|
a compilation error on Solaris 5.5.1 systems.
|
|
--parents option, first remove any trailing slashes from the command
line argument. Otherwise, tests/cp/cp-parent would fail on NetBSD.
|
|
[enum filetype]: Remove the #ifdef, and use DT_INIT on the
initializers instead.
|
|
a number that should never conflict with another DT_* value.
From Ulrich Drepper.
|
|
as the type, not `unknown'. From Ulrich Drepper.
|
|
that save file type information in directory entries.
[enum filetype] (unknown):
Add members (as yet unused):
(HAVE_STRUCT_DIRENT_D_TYPE): Define.
(format_needs_type): New global.
(main): Set it.
(print_dir): Set `type' from directory entry, if possible.
(gobble_file): Add a parameter, TYPE.
Stat the file only if its type is unknown and we need the type.
Patch from Ulrich Drepper.
|
|
(fillrand): Add a parameter, size_max.
Add an assertion.
Adjust caller.
(dopass): Break out of the `for (;;)' loop if size < offset.
That can happen now that dopass is called with SIZE == -1.
(do_wipefd): Accept a length of zero only for a regular file.
If lseek fails or returns 0 for a non-regular file, let dopass
determine the length.
Inspired by a patch from Alan Iwi.
|
|
in ISO format in the description of %s. Suggestion from Karl Berry.
|
|
(main): Use dir_name_r rather than open-coding it.
|
|
|
|
|
|
|
|
so they may be internationalized. Suggestion from Christian Rose.
|
|
|
|
|