summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-08-15.Jim Meyering
2006-08-15commit, for the record. May never be used.Jim Meyering
2006-08-14(memcoll): Optimize for the common case where thePaul Eggert
arguments are bytewise equal.
2006-08-11* pipe-safer.c (pipe_safer): Fix misspelling: HAVE_FUNC_PIPE ->Paul Eggert
HAVE_PIPE. Fix a file descriptor leak when fd_safer fails.
2006-08-11(re_string_skip_chars): Don't assume WEOF fits in wchar_t.Paul Eggert
2006-08-11Fix typo in previous checkin: len -> lenbuf.Paul Eggert
2006-08-11(snprintf): memcpy LEN bytes, not SIZE - 1, whenPaul Eggert
LEN is smaller than SIZE. Suggested by Bruno Haible. Also, help the compiler to keep LEN in a register.
2006-08-10Import regex changes from libc via gnulib.Paul Eggert
2006-08-10Accommodate new getaddrinfo implementation in gnulib.Paul Eggert
(libcoreutils_a_SOURCES): Add inet_ntop.h, snprintf.h. (MOSTLYCLEANDIRS): New macro. (BUILT_SOURCES): Add $(ARPA_INET_H), $(SYS_SOCKET_H), $(NETINET_IN_H). (arpa/inet.h, netinet/in.h, sys/socket.h): New rules. (MOSTLYCLEANFILES): Add arpa/inet.h, arpa/inet.h-t, netinet/in.h, netinet/in.h-t, sys/socket.h, sys/socket.h-t. (EXTRA_DIST): Add socket_.h.
2006-08-10Import from gnulib, to support new getaddrinfo implementation of gnulib.Paul Eggert
2006-08-10Add snprintf.h, socket_.h.Paul Eggert
2006-08-09Regenerate.Paul Eggert
2006-08-09Sync from gnulib.Paul Eggert
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.