Age | Commit message (Collapse) | Author |
|
|
|
unistd.h, string.h, chdir-safer.h, dirname.h, lchmod.h, lchown.h,
save-cwd.h. Instead, include dirchownmod.h and mkancesdirs.h.
(make_dir_parents): New args MAKE_ANCESTOR, OPTIONS, ANNOUNCE,
MODE_BITS. Remove options VERBOSE_FMT_STRING, CWD_ERRNO. All
callers changed. Revamp internals significantly, by not
attempting to create directories that are temporarily more
permissive than the final results. Do not attempt to use
save_cwd/restore_cwd; it isn't worth it for mkdir and install.
This removes some race conditions, fixes some bugs, and simplifies
things. Use new dirchownmod function to do owner and mode changes.
|
|
|
|
the sometimes erroneous "cannot get the login group of a numeric UID"
for a spec like "not-a-username:" or "1:". Reported by
suckfish@ihug.co.nz in https://bugzilla.redhat.com/bugzilla/199027.
|
|
|
|
|
|
to accommodate update from gnulib.
|
|
|
|
|
|
|
|
|
|
|
|
to accommodate sync from gnulib.
|
|
MacOS X 10.4.6. Don't mention <sys/int_types.h>.
|
|
macro is used before the first cycle_check call.
|
|
both are 64 bits.
|
|
|
|
information if seq's operands are all fixed point decimal numbers.
You no longer need the `-f%.f' in `seq -f%.f 1048575 1024 1050623',
for example, since the default format now has the same effect.
seq now lets you use %a, %A, %E, %F, and %G formats.
seq now uses long double internally rather than double.
|
|
both double and long double versions.
(XSTRTOD): Renamed from xstrtod. Use DOUBLE internally.
|
|
|
|
|
|
* lib/strftime.c: Assume strftime exists.
* m4/strftime.m4: Don't call AC_FUNC_STRFTIME.
|
|
|
|
|
|
|
|
|
|
2006-06-16 Eric Blake <ebb9@byu.net>
* unsetenv.c [!defined errno]: Assume errno.h declares errno.
|
|
|
|
2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Bruno Haible <bruno@clisp.org>
* strndup.c (strndup) [!_LIBC]: Don't undefine macro definition.
|
|
reported by Andreas Schwab.
|
|
(__open, __open64) [!_LIBC]: Remove.
(__gen_tempname): Use small_open and large_open instead of __open
and __open64. This fixes a portability bug on HP-UX 11.11i
reported by Simon Wing-Tang in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-05/msg00114.html>.
|
|
|
|
|
|
|
|
inadvertantly put into the previous patch.
|
|
(strmode): Rewrite to avoid setst. This makes the code shorter,
(arguably) clearer, and the generated code is a bit smaller on my
Debian GNU/Linux stable x86 host.
|
|
was written by Bruno Haible.
|
|
|
|
Either FTS_LOGICAL or FTS_PHYSICAL must be provided to the
fts_open() function.
|
|
|
|
|
|
|
|
|
|
(O_NOFOLLOW, STREQ): Define.
(diropen_fd): Remove function. Merge it into sole caller...
(diropen): ...here. Use O_NOFOLLOW when appropriate.
(fts_safe_changedir): Call fstat for dev/inode check, only if the
previous open/openat call may have opened the wrong directory.
|
|
|
|
it's easier for legacy applications designed for the version
of fts in glibc or BSD to convert to this more robust version.
Add a new mode, FTS_CWDFD, by which to enable the improved
(openat- based -- aka no-chdir) semantics.
* fts_.h (FTS_CWDFD): Define. Callers must use this fts_open
option to enable the more robust behavior.
(FTS_OPTIONMASK): Widen accordingly.
* fts.c: Restore removed code, reverting the default behavior.
|
|
|
|
|
|
|
|
|