aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ChangeLog (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-04-04maint: clean up Makefile.am, rename remaining ChangeLog filesJim Meyering1-8754/+0
* Makefile.am (changelog_etc, syntax_check_exceptions): Define. (EXTRA_DIST): Use. Remove names that are now automatically included: build-aux/git-version-gen, build-aux/vc-list-files. * build-aux/ChangeLog-2007: Rename from */ChangeLog. * doc/ChangeLog-2007: Likewise. * lib/ChangeLog-2007: Likewise. * m4/ChangeLog-2007: Likewise. * po/ChangeLog-2007: Likewise.
2007-05-31Pull printf-related code from gnulib, rather than using forked copy.Jim Meyering1-0/+5
* bootstrap.conf (gnulib_modules): Don't avoid size_max and xsize modules. While I dislike xsize-style overflow avoidance, maintaining a forked version of e.g., vasnprintf.c was too much work. * lib/printf-parse.c, lib/vasnprintf.c, lib/unicodeio.c: Remove local copies, so we now get these files from gnulib.
2007-03-20Fix a typo in the handling of %x and %X.Jim Meyering1-0/+6
* vasnprintf.c (VASNPRINTF): When adding 2 to buffer length, don't double it.
2007-03-04* vasnprintf.c (VASNPRINTF): Add missing semicolon.Jim Meyering1-0/+4
2007-03-02* vasnprintf.c (VASNPRINTF): Remove cast of alloca return value.Jim Meyering1-0/+4
2007-03-01Merge in changes from gnulib:Jim Meyering1-0/+12
* vasnprintf.c: Add a comment explaining why coreutils has its own version of this file. Include <stdint.h>. (SIZE_MAX): Remove definition (now, stdint.h covers that). (EOVERFLOW): Remove definition (now done via the eoverflow module). Update some #ifdef to #if. Use HAVE_LONG_LONG_INT, not HAVE_LONG_LONG. * printf-parse.c: Likewise.
2007-02-28* tsearch.c: Remove unused file.Jim Meyering1-0/+4
2007-02-23* randperm.c (randperm_new): Comment: say that this functionJim Meyering1-0/+5
returns a pointer to malloc'd storage.
2007-02-18Rely on gnulib-generated stdlib.h, not exit.h.Jim Meyering1-0/+5
* src/system.h: Don't include exit.h, now that it's subsumed by the gnulib-generated stdlib.h. * lib/xfts.c: Include <stdlib.h> rather than exit.h, now that stdlib.h
2007-01-19[lib/ChangeLog]Jim Meyering1-0/+5
* .cvsignore, .gitignore: Add sys, as well as more bootstrap-inserted file names. [m4/ChangeLog] * .cvsignore, .gitignore: Add more bootstrap-inserted file names.
2007-01-14* fchdir-stub.c: Remove file. No longer needed.Jim Meyering1-0/+4
2006-12-03* Makefile.am (libcoreutils_a_SOURCES): Remove xmemcoll.c andJim Meyering1-0/+5
xmemcoll.h. Now, they're handled by the gnulib xmemcoll module.
2006-11-23* randread.c (__attribute__): Don't define if __attribute__ is already defined.Paul Eggert1-0/+7
Otherwise, the code won't conform to C99, since the macro arg is spelled differently by some include file, and the compilation fails with pedantic GCC.
2006-11-22* .cvsignore, .gitignore: Add fstat.c.Jim Meyering1-0/+4
2006-11-14* readlink-stub.c, lstat-stub.c: Remove now-unused files.Jim Meyering1-0/+4
2006-10-15[m4/ChangeLog]Paul Eggert1-0/+13
* sha512.m4 (gl_SHA512): Add u64.h to AC_LIBSOURCES. [lib/ChangeLog] Port sha512sum to hosts where uintmax_t is only 32 bits, e.g., HP/Tandom NonStop OSS circa 2005 has 32-bit uintmax_t, 64-bit intmax_t. * u64.h: New file. * sha512.c (SWAP, sha512_init_ctx, sha384_init_ctx, sha512_read_ctx): (sha384_read_ctx, sha512_conclude_ctx, sha512_process_bytes): (sha512_round_constants, F2, F1, sha512_process_block): (S0, S1, SS0, SS1, M, R): Rewrite to use u64.h instead of assuming uint64_t. * sha512.h: Include u64.h rather than stdint.h. (rol64): Remove; moved to u64.h and renamed to u64rol.
2006-10-12* Makefile.am (libcoreutils_a_LIBADD): Append $(LIBOBJS),Jim Meyering1-0/+7
to accommodate the latest version of gnulib-tool. (libcoreutils_a_DEPENDENCIES): Likewise. From Bruno Haible.
2006-10-06Avoid a compiler warning: const'ify and remove a cast.Jim Meyering1-0/+10
* randread.c (struct randread_source) [handler]: Make parameter "const". [handler_arg]: Add "const" attribute. (randread_error): Make parameter "const". (simple_new, randread_set_handler, randread_set_handler_arg): Likewise. (randread_new): Remove now-unnecessary cast. * randread.h: Adjust prototypes.
2006-09-30* .cvsignore: Add openat-proc.c.Paul Eggert1-0/+4
2006-09-26* .cvsignore: Add fchmodat.c.Paul Eggert1-0/+4
2006-09-25* fchmodat.c: Remove file. gnulib's copy is identical.Jim Meyering1-0/+4
2006-09-01Update to match current gnulib.Paul Eggert1-0/+5
2006-08-26Include <config.h> unconditionally, since we now assume config.h exists.Paul Eggert1-0/+24
2006-08-25* .cvsignore: Remove stamp-h1. Add coreutils-*, to ignorePaul Eggert1-0/+4
tarballs. * bootstrap.conf: Add configmake, verify. * lib/.cvsignore: Add configmake.h, stamp-h1. * src/.cvsignore: Remove localedir.h. * src/Makefile.am (localedir, DISTCLEANFILES, localedir.h): Remove; subsumed by configmake. * src/system.h: Include configmake.h rather than localedir.h (LOCALEDIR): New macro.
2006-08-23* .cvsignore: Remove config.h, config.hin, as they are nowPaul Eggert1-0/+5
in lib. * configure.ac (AC_CONFIG_HEADERS): Move config.h and config.hin to lib. * lib/.cvsignore: Add config.h, config.hin. * lib/Makefile.am (AM_CPPFLAGS): Remove; we no longer need '-I..'. * src/Makefile.am (AM_CPPFLAGS): Remove '-I..'; no longer needed.
2006-08-22* aclocal.m4, config.hin, configure:Paul Eggert1-0/+5
Remove from CVS, since ./bootstrap generates them automatically. * .cvsignore: Add INSTALL, Makefile.in, *.cache, *.lineno, *.log. Remove more-specific entries. This catches files like configure.lineno. * man/.cvsignore: Add Makefile.in. * src/.cvsignore: Add Makefile.in. Remove .version, dir.c, install, mvdir, stamp-v, vdir.c, version.c. For .cvsignore file under the tests directory: Add Makefile.in. Sort entries if necessary. Remove *.I, *.E, *.X, *.O, *-tests, build-script, mk-script if they're never created in this directory. * build-aux/.cvsignore: New file. * doc/.cvsignore: Add Makefile.in, coreutils.html, coreutils.pdf, coreutils.ps, coreutils.tps. Remove coreutils.cm (dunno what it is, but the makefile doesn't mention it). Remove coreutils.info as it is subsumed by coreutils.info*. * lib/.cvsignore: Add Makefile.in, getdate.tab.h. Remove stat.c, sysexit.h. * m4/.cvsignore: Remove Makefile, dev-ino.m4, glibc2.m4, intdiv0.m4, inttypes-h.m4, inttypes-pri.m4, jm-glibc-io.m4, lcmessage.m4, lock.m4, printf-posix.m4, same-inode.m4, size_max.m4, uintmax_t.m4, ulonglong.m4, visibility.m4, xsize.m4. Many of these are put in automatically by ../bootstrap, but that's a bootstrap bug that I plan to fix shortly. * po/.cvsignore: More ../bootstrap-related fixes, plus remove old cruft. Add *.po, LINGUAS, Makevars. Remove *.cat, *.msg, cat-id-dbl.c, messages.mo, stamp-cat-id.
2006-08-22[ChangeLog]Jim Meyering1-0/+4
* .cvsignore: Add ABOUT-NLS. [lib/ChangeLog] * .cvsignore: Add files that are now generated by ../bootstrap. [m4/ChangeLog] * .cvsignore: Add files that are now generated by ../bootstrap. [po/ChangeLog] * .cvsignore: Add files that are now generated by ../bootstrap.
2006-08-22(LDADD): Restore this line; it is still needed forPaul Eggert1-0/+5
t-fpending on platforms without __fpending.
2006-08-21Add a bootstrap procedure, so that the CVS version contains fewerPaul Eggert1-3/+91
files and we bootstrap the rest from gnulib, gettext, etc. * README-cvs: New file. * bootstrap: New file. * bootstrap.conf: New file. * .x-sc_trailing_blank: Remove config-log, .gdb-history. Add .po. * configure.ac (AC_PREREQ): Move here from m4/*.m4, for benefit of gnulib-tool. (gl_DEFAULT_POSIX2_VERSION, gl_USE_SYSTEM_EXTENSIONS, gl_PERL): (gl_IGNORE_UNUSED_LIBRARIES): Remove; now done by gnulib. (gl_EARLY): Add. (gl_MACROS): Call just after gl_EARLY, just for clarity. * src/c99-to-c98.diff: Remove patch to ls.c; no longer needed. * src/kill.c (strtoimax): Remove decl. * src/ls.c: Include "wcwidth.h" instead of rolling it ourselves. * src/wc.c: Likewise. * src/ls.c (sort_files): Rewrite to avoid need for C99-style declaration, so that we don't need to patch this file. * src/printf.c (strtoimax, strtoumax): Remove decls. * src/su.c: Include getpass.h. (getpass): remove. * src/system.h: Include mempcpy.h, stpcpy.h, strpbrk.h. Include inttypes.h unconditionally; remove decls it handles. * lib/Makefile.am: include gnulib.mk, so that we can remove most of this file. (AM_CPPFLAGS): Don't mention -I$(srcdir), since that's now done for us. (noinst_LIBRARIES, LDDADD, DEFS): Remove. (libcoreutils_a_SOURCES): Trim down greatly, just to the files that aren't in gnulib. Remove defns gnulib does for us. * m4/check-decl.m4 (gl_CHECK_DECLS): Don't include stdio.h, string.h, stdlib.h, unistd.h, sys/time.h, time.h. Use AC_CHECK_DECLS_ONCE for free, getenv, geteuid, getlogin, getuid, lseek, malloc, memchr, realloc. Don't check for getutent, memrchr, nanosleep, stpcpy, strndup, strnlen, strstr, strtoul, strtoull. (_gl_DECL_HEADERS): Remove; all uses removed. * m4/jm-macros.m4 (gl_MACROS): Move AC_PREREQ into configure.ac for the benefit of gnulib-tool. Call gl_INIT. Do not call or require macros that gnulib will handle for us. Don't check for fchmod, hasmntopt, isascii, lchown, listmntent, mempcpy, realpath, wcrtomb, tzset. (gl_CHECK_ALL_HEADERS): Don't check for sys/statvfs.h, sys/vfs.h, sys/mount.h. (gl_CHECK_ALL_TYPES): Require AC_TYPE_UNSIGNED_LONG_LONG_INT. Don't check for struct stat.st_blksize. Don't require AC_STRUCT_ST_DM_MODE, gt_TYPE_SSIZE_T, gl_AC_TYPE_UINT32_T, gl_AC_TYPE_UINTMAX_T, gl_AC_TYPE_UINTPTR_T, gl_AC_TYPE_UNSIGNED_LONG_LONG. * m4/prereq.m4 (gl_PREREQ): Require gl_FUNC_XFTS, gl_ROOT_DEV_INO. Don't require macros that gnulib does for us. * m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Don't check for sys/sysmacros.h. Don't check for statvfs. Use AC_CHECK_HEADERS_ONCE for netinet/in.h, nfs/nfs_clnt.h, nfs/vfs.h. Don't require gl_AC_TYPE_LONG_LONG, gt_HEADER_INTTYPES_H.
2006-08-18Add support for NetBSD 3.0.Paul Eggert1-0/+6
* 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 Eggert1-0/+25
2006-08-16(memcoll): Set errno = 0 in the shortcut case, too.Paul Eggert1-0/+6
2006-08-16* fts.c (fts_children): Remove obsolete "// FIXME ..." comment.Jim Meyering1-0/+5
Reported by Bruno Haible.
2006-08-15[./]Jim Meyering1-0/+13
* .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 Eggert1-0/+5
arguments are bytewise equal.
2006-08-11* pipe-safer.c (pipe_safer): Fix misspelling: HAVE_FUNC_PIPE ->Paul Eggert1-0/+3
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 Eggert1-0/+3
2006-08-11(snprintf): memcpy LEN bytes, not SIZE - 1, whenPaul Eggert1-0/+6
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 Eggert1-0/+19
2006-08-10Accommodate new getaddrinfo implementation in gnulib.Paul Eggert1-0/+14
(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 Eggert1-0/+10
2006-08-09Fix too-long line in 2006-08-08 checkin, and an encoding errorPaul Eggert1-2/+2
in 2006-07-19 checkin.
2006-08-09Include <config.h>.Jim Meyering1-0/+4
2006-08-08Add shuf, better random number generation, and fix sort -R inPaul Eggert1-0/+8
funny locales.
2006-07-28chmod 0755 DIR and chmod 755 DIR are now equivalent.Paul Eggert1-0/+6
2006-07-22Split closeout into close-stream and closeout.Paul Eggert1-0/+5
2006-07-20*** empty log message ***Jim Meyering1-0/+5
2006-07-20*** empty log message ***Jim Meyering1-0/+5
2006-07-17chmod, install, and mkdir now leave setgid and setuid bitsPaul Eggert1-0/+27
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 Meyering1-0/+7
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.