summaryrefslogtreecommitdiff
path: root/lib/ChangeLog
AgeCommit message (Collapse)Author
2006-08-18Add support for NetBSD 3.0.Paul Eggert
* src/stat.c (USE_STATVFS): Set to 1 if 'struct statvfs' has a field f_fstypename. (STATXFS_FILE_SYSTEM_TYPE_MEMBER_NAME): Define also if 'struct statvfs' has a field f_fstypename. This undoes the 2006-08-15 to src/stat.c. * lib/mountlist.c [MOUNTED_GETMNTINFO2]: Include sys/statvfs.h. (ME_DUMMY): Treat "kernfs" as a dummy. (read_file_system_list) [MOUNTED_GETMNTINFO2]: Implement. * m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Also check for sys/statvfs.h. When getmntinfo was found, check its declaration and set either MOUNTED_GETMNTINFO or MOUNTED_GETMNTINFO2 depending on it. * m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Test also for f_fstypename in struct statvfs.
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2006-08-16(memcoll): Set errno = 0 in the shortcut case, too.Paul Eggert
2006-08-16* fts.c (fts_children): Remove obsolete "// FIXME ..." comment.Jim Meyering
Reported by Bruno Haible.
2006-08-15[./]Jim Meyering
* .x-sc_require_config_h: Add lib/at-func.c. [lib/] * at-func.c: New file, with the logic of all emulated at-functions. * openat-priv.h: Include <errno.h> and define ENOSYS, in support of the EXPECTED_ERRNO macro. * openat.c (fstatat, unlinkat, fchownat): Remove function definitions. Instead, define the appropriate symbols and include "at-func.c". * mkdirat.c (mkdirat): Likewise. * fchmodat.c (fchmodat): Likewise. (ENOSYS): Remove definition. * openat.c: Don't include <errno.h>, now that "openat-priv.h" does it. Don't include "unistd--.h" -- it wasn't ever used. [m4/] * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES.
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-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-09Sync from gnulib.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-07-28chmod 0755 DIR and chmod 755 DIR are now equivalent.Paul Eggert
2006-07-22Split closeout into close-stream and closeout.Paul Eggert
2006-07-20*** empty log message ***Jim Meyering
2006-07-20*** empty log message ***Jim Meyering
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-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-08(getndelim2): Remove doubled "after" in comment.Jim Meyering
2006-07-04Sync from gnulib.Paul Eggert
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-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-19*** empty log message ***Jim Meyering
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.
2006-06-05* regexec.c (group_nodes_into_DFAstates): Fix a buffer overrunPaul Eggert
reported by Andreas Schwab.
2006-05-25(small_open, large_open): New macros.Paul Eggert
(__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>.
2006-05-23Fix misspelling.Paul Eggert
2006-05-23Note problem with string.h.Paul Eggert
2006-05-23filemode.c: Don't include <string.h>.Paul Eggert
2006-05-22* filemode.c (setst): Remove.Paul Eggert
(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.
2006-05-22Document the internals better. Most of this changePaul Eggert
was written by Bruno Haible.
2006-05-20*** empty log message ***Jim Meyering
2006-05-19Sync nanosleep from gnulib.Paul Eggert
2006-05-15*** empty log message ***Jim Meyering
2006-05-15*** empty log message ***Jim Meyering
2006-05-15*** empty log message ***Jim Meyering
2006-05-11*** empty log message ***Jim Meyering
2006-05-04*** empty log message ***Jim Meyering