summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-05-31Pull printf-related code from gnulib, rather than using forked copy.Jim Meyering
* 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-05-26Add to .cvsignore and .gitignore files.Jim Meyering
2007-04-28* src/nohup.c (usage): Describe how standard input and output are redirected.Paul Eggert
2007-04-12Add to .cvsignore and .gitignore files.Jim Meyering
2007-03-29Regenerate .cvsignore and .gitignore files.Jim Meyering
2007-03-29.cvsignore, .gitignore: updateJim Meyering
2007-03-28Add to .cvsignore and .gitignore files.Jim Meyering
2007-03-25Add to .cvsignore and .gitignore files.Jim Meyering
2007-03-21Add to .cvsignore and .gitignore files.Jim Meyering
2007-03-20Fix a typo in the handling of %x and %X.Jim Meyering
* vasnprintf.c (VASNPRINTF): When adding 2 to buffer length, don't double it.
2007-03-08Add to .cvsignore and .gitignore files.Jim Meyering
2007-03-04* vasnprintf.c (VASNPRINTF): Add missing semicolon.Jim Meyering
2007-03-02Add to .cvsignore and .gitignore files.Jim Meyering
2007-03-02* vasnprintf.c (VASNPRINTF): Remove cast of alloca return value.Jim Meyering
2007-03-01Merge in changes from gnulib:Jim Meyering
* 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 Meyering
2007-02-23* randperm.c (randperm_new): Comment: say that this functionJim Meyering
returns a pointer to malloc'd storage.
2007-02-21Add to .cvsignore and .gitignore files.Jim Meyering
2007-02-18Add to .cvsignore and .gitignore files.Jim Meyering
2007-02-18Rely on gnulib-generated stdlib.h, not exit.h.Jim Meyering
* 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-29Regenerate .cvsignore and .gitignore files.Jim Meyering
2007-01-27Regenerate .cvsignore and .gitignore files, and reflect recent removalJim Meyering
of string.h-related lib/*.h files
2007-01-24Pass "make distcheck" again.Jim Meyering
* src/sort.c (usage): Split a diagnostic that had grown to be longer than the C89 maximum of 509 bytes. * .x-sc_cast_of_argument_to_free: New file. Allow a cast in sort.c. FIXME: this is just temporary, while we wait to remove the offending access-calling code. * Makefile.am (EXTRA_DIST): Add .x-sc_cast_of_argument_to_free. * Makefile.maint (sc_cast_of_argument_to_free): Use the canonical, $$($(CVS_LIST_EXCEPT)). * m4/.gitignore, m4/.cvsignore, lib/.gitignore, lib/.cvsignore: Update.
2007-01-19[lib/ChangeLog]Jim Meyering
* .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 Meyering
2007-01-13Regenerate .cvsignore and .gitignore files.Jim Meyering
2007-01-04.cvsignore, .gitignore: Add fchownat.c and wctype-related files.Jim Meyering
2006-12-03* Makefile.am (libcoreutils_a_SOURCES): Remove xmemcoll.c andJim Meyering
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 Eggert
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 Meyering
2006-11-16* bootstrap.conf (gnulib_modules): Add sys_stat, since we use it directly too.Paul Eggert
* lib/.cvsignore, lib/.gitignore: Add root-dev-ino.c, root-dev-ino.h. * m4/.cvsignore, m4/.gitignore: Add root-dev-ino.m4. * src/ls.c (DIRED_FPUTS_LITERAL, PUSH_CURRENT_DIRED_POS): Omit unnecessary parenthesization of args. * src/od.c (EQUAL_BLOCKS): Likewise. * src/system.h (STREQ, ASSIGN_STRDUPA): Likewise.
2006-11-14Adapt to new version of gnulib-tool.Jim Meyering
* gl/modules/root-dev-ino: New file. * lib/root-dev-ino.c, lib/root-dev-ino.h: Move these files ... * gl/lib/root-dev-ino.c, gl/lib/root-dev-ino.h: ... to here. * m4/root-dev-ino.m4: Move this file ... * gl/m4/root-dev-ino.m4: ... to here. * bootstrap.conf (gnulib_modules): Add root-dev-ino.
2006-11-14* readlink-stub.c, lstat-stub.c: Remove now-unused files.Jim Meyering
2006-11-12More automatically-added ignorables.Jim Meyering
2006-10-30update .cvsignore/.gitignore filesJim Meyering
2006-10-26Avoid a shell bug in Tru64 4.0 sh's handling of double-quoted strings.Jim Meyering
[patch by Paul Eggert] * tests/chmod/c-option: When double-quoting part of a word, prefer to double-quote the whole word. This is a bit easier to read (at least for me), and in some cases it avoids a shell bug with Tru64 4.0 sh reported by Nelson H. F. Beebe. For example, instead of "$abs_srcdir"/../setgid-check we now write "$abs_srcdir/../setgid-check". * tests/cp/cp-parents: Likewise. * tests/du/inaccessible-cwd: Likewise. * tests/du/long-from-unreadable: Likewise. * tests/install/basic-1: Likewise. * tests/install/trap: Likewise. * tests/misc/close-stdout: Likewise. * tests/mkdir/concurrent-1: Likewise. * tests/mkdir/p-1: Likewise. * tests/mkdir/p-3: Likewise. * tests/mkdir/parents: Likewise. * tests/mkdir/perm: Likewise. * tests/readlink/can-e: Likewise. * tests/readlink/can-f: Likewise. * tests/readlink/can-m: Likewise. * tests/rm/inaccessible: Likewise. * tests/rm/unread3: Likewise. * tests/touch/no-create-missing: Likewise. * lib/.cvsignore: Add uinttostr.c.
2006-10-22add snprintf-related files to .gitignoreJim Meyering
2006-10-21* .gitignore: Remove some references to files in subdirectories.Jim Meyering
* build-aux/.gitignore, doc/.gitignore, lib/.gitignore: New files. * m4/.gitignore, po/.gitignore, src/.gitignore: Likewise.
2006-10-15[m4/ChangeLog]Paul Eggert
* 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 Meyering
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 Meyering
* 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 Eggert
2006-09-26* .cvsignore: Add fchmodat.c.Paul Eggert
2006-09-25* fchmodat.c: Remove file. gnulib's copy is identical.Jim Meyering
2006-09-24.Jim Meyering
2006-09-17.Jim Meyering
2006-09-01Update to match current gnulib.Paul Eggert
2006-08-26Include <config.h> unconditionally, since we now assume config.h exists.Paul Eggert
2006-08-25* .cvsignore: Remove stamp-h1. Add coreutils-*, to ignorePaul Eggert
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 Eggert
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.