summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-08-09Regenerate.Paul Eggert
2006-08-09Fix too-long line in 2006-08-08 checkin, and an encoding errorPaul Eggert
in 2006-07-19 checkin.
2006-08-09Include <config.h>.Jim Meyering
2006-08-08Add shuf, better random number generation, and fix sort -R inPaul Eggert
funny locales.
2006-08-08New file, introduced for shuf, sort -R, and/or shred.Paul Eggert
2006-08-08(libcoreutils_a_SOURCES): Add xmemxfrm.c, xmemxfrm.h.Paul Eggert
2006-07-28chmod 0755 DIR and chmod 755 DIR are now equivalent.Paul Eggert
2006-07-28Remove obsolete comment about masks.Paul Eggert
2006-07-28(mode_compile): Numeric modes now affect setuid andPaul Eggert
setgid on directories only if they set these bits.
2006-07-22Split closeout into close-stream and closeout.Paul Eggert
2006-07-22(close_stdout): Use new function close_stream.Paul Eggert
2006-07-22Initial revision.Paul Eggert
2006-07-20*** empty log message ***Jim Meyering
2006-07-20[ME_REMOTE]: Filter out cifs.Jim Meyering
Reported by Toralf Förster in <http://bugs.gentoo.org/141012>.
2006-07-20*** empty log message ***Jim Meyering
2006-07-20(ME_REMOTE): Compare strchr's result to NULL, not 0, for better readability.Jim Meyering
2006-07-17In comment: bits bits -> bits.Paul Eggert
2006-07-17Regenerate.Paul Eggert
2006-07-17chmod, install, and mkdir now leave setgid and setuid bitsPaul Eggert
of directories alone unless you specify them explicitly. install and mkdir now implement X correctly. install now creates parent directories with mode 755, without changing their owner or group.
2006-07-17(mode_adjust): New API.Paul Eggert
2006-07-17(octal_to_mode): New function.Paul Eggert
(struct mode_change): New member mentioned. (make_node_op_equals): New arg mentioned. All callers changed. (mode_compile): Keep track of which mode bits the user has explicitly mentioned. (mode_adjust): New arg DIR, so that we implement the X op correctly. New arg PMODE_BITS, to keep track of which mode bits the user mentioned; it treats S_ISUID and S_ISGID speciall. All callers changed.
2006-07-17Adjust to new make_dir_parents API.Paul Eggert
2006-07-17Don't include alloca.h, stdio.h, sys/types.h,Paul Eggert
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.
2006-07-17Initial version.Paul Eggert
2006-07-16* userspec.c (parse_with_separator): Say "invalid spec" rather thanJim Meyering
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.
2006-07-11Sync from gnulib.Paul Eggert
2006-07-09Update from gnulib.Paul Eggert
2006-07-09(stdint.h): FULL_PATH_STDINT_H -> ABSOLUTE_STDINT_H,Paul Eggert
to accommodate update from gnulib.
2006-07-08(getndelim2): Remove doubled "after" in comment.Jim Meyering
2006-07-04Really add wcwidth.h.Jim Meyering
2006-07-04*** empty log message ***Jim Meyering
2006-07-04*** empty log message ***Jim Meyering
2006-07-04Sync from gnulib.Paul Eggert
2006-07-04(libcoreutils_a_SOURCES): Add setenv.h, wcwidth.h,Paul Eggert
to accommodate sync from gnulib.
2006-07-04Include <sys/types.h> after @FULL_PATH_STDINT_H@, forPaul Eggert
MacOS X 10.4.6. Don't mention <sys/int_types.h>.
2006-07-03* cycle-check.h (CYCLE_CHECK_REFLECT_CHDIR_UP): Abort if thisJim Meyering
macro is used before the first cycle_check call.
2006-07-02(intmax_t, uintmax_t): Prefer long to long long ifPaul Eggert
both are 64 bits.
2006-07-02Sync stdint module from gnulib.Paul Eggert
2006-07-01seq defaults to a minimal fixed point format that does not losePaul Eggert
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.
2006-07-01(XSTRTOD, DOUBLE): New macros, so that we can supportPaul Eggert
both double and long double versions. (XSTRTOD): Renamed from xstrtod. Use DOUBLE internally.
2006-07-01(xstrtold): New decl.Paul Eggert
2006-07-01Initial revision.Paul Eggert
2006-06-29From Derek R. Price:Jim Meyering
* lib/strftime.c: Assume strftime exists. * m4/strftime.m4: Don't call AC_FUNC_STRFTIME.
2006-06-28(CLOSEDIR): Remove. All uses changed to closedir.Paul Eggert
2006-06-20(openat): Use ?:, not if, to work around GCC bug 4210.Paul Eggert
2006-06-20fix typo in comment: s/nerrower/narrower/Jim Meyering
2006-06-19*** empty log message ***Jim Meyering
2006-06-19Apply this change from gnulib:Jim Meyering
2006-06-16 Eric Blake <ebb9@byu.net> * unsetenv.c [!defined errno]: Assume errno.h declares errno.
2006-06-11(__attribute__): Don't define if already defined.Paul Eggert
2006-06-10Apply this change from gnulib:Jim Meyering
2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Bruno Haible <bruno@clisp.org> * strndup.c (strndup) [!_LIBC]: Don't undefine macro definition.