summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-08-16Fix bugs when printing plurals of numbers that are notPaul Eggert
unsigned long int values. * src/system.h (select_plural): New function. * src/md5sum.c (digest_check): Use select_plural to avoid bug. * src/uptime.c (print_uptime): Likewise. * src/dd.c (print_stats): Likewise. Also, don't use ngettext to print a floating point number, as reducing to 0 or 1 doesn't work for some languages. Instead, just use "s" for seconds since it doesn't need a plural form.
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-16Explain why gzip --help's stderr output matters.Jim Meyering
2006-08-162006-08-16 Bruno Haible <bruno@clisp.org>Jim Meyering
* Makefile.maint (gzip_rsyncable): Throw away stderr output of "gzip --help".
2006-08-162006-08-16 Andreas Schwab <schwab@suse.de>Jim Meyering
* tests/cp/acl: Don't use non-portable == operator for test.
2006-08-16*** empty log message ***Jim Meyering
2006-08-16* tests/ls/stat-dtype: Use stat to test file system type, ratherJim Meyering
than df -T, in case /etc/mtab lies. Reported by Michael Stone.
2006-08-16add URL for HU-translation problem reportJim Meyering
2006-08-16*** empty log message ***Jim Meyering
2006-08-15* NEWS: Mention that df exits with nonzero status if it generatesPaul Eggert
no output. This change was in 6.0 but inadvertently unmentioned. * doc/coreutils.texi (df invocation): df exits nonzero if it outpus nothing. * src/df.c (file_systems_processed): Renamed from n_valid_args, and now a boolean. (show_dev): Don't set it until we actually output something. Print the header if this is the first output. (main): Don't print a header, as that is now show_dev's job. * tests/misc/Makefile.am (TESTS): Add df. * tests/misc/df: New file.
2006-08-15(USE_STATVFS): Define to 0 if f_type is needed, butPaul Eggert
statvfs.f_type not present.
2006-08-15* src/dd.c (print_stats): Don't substitute "1" for number, as thisPaul Eggert
causes confusion for the Hungarian translators. Problem reported by Egmont Koblinger.
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-15* NEWS: Add a line for 6.1-cvs.Jim Meyering
* configure.ac (AC_INIT): Bump to 6.1 and add "-cvs" suffix.
2006-08-15.Jim Meyering
2006-08-15* Makefile.maint (alpha beta major): Fix syntax error.Jim Meyering
2006-08-15*** empty log message ***Jim Meyering
2006-08-15.Jim Meyering
2006-08-15Don't mention "stable" on Version line.Jim Meyering
2006-08-15tweak syntax of "Version ..." line.Jim Meyering
2006-08-15* TODO: Add an item (convert to use gnulib-tool), add to the planJim Meyering
for id-vs-getgrouplist, and remove a few completed items.
2006-08-15* Version 6.0 [unstable].Jim Meyering
* NEWS: Record the 6.0 release date. * configure.ac (AC_INIT): Remove "-cvs" suffix from version string.
2006-08-15commit, for the record. May never be used.Jim Meyering
2006-08-15do not set $pathJim Meyering
Use --leak-check=full, not --quiet. Emit "--" after $vg.
2006-08-15update from gnulibJim Meyering
2006-08-14(memcoll): Optimize for the common case where thePaul Eggert
arguments are bytewise equal.
2006-08-13* src/shred.c (usage): Don't indent the second line of an item.Jim Meyering
Otherwise, help2man would misformat the output. Reported by Adam Buchbinder in <https://launchpad.net/bugs/48917>.
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(AM_GNU_GETTEXT): Upgrade to need-formatstring-macros.Paul Eggert
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-11* tests/ls/stat-vs-dirent: Too many (losing) systems trigger theJim Meyering
failure that this test checks for (stat/dirent inode mismatch at a mount point), so continue to give a diagnostic about the failure, but don't actually count it as a failure.
2006-08-10Undo latest change; I was confused about gettext versus gcc.Paul Eggert
2006-08-10Undo latest change; I was confused about xgettext versus gcc.Paul Eggert
2006-08-10Adjust some files for gettext 0.15.Paul Eggert
2006-08-10Import from gettext 0.15.Paul Eggert
2006-08-10(XGETTEXT_OPTIONS): Add pass-c-format flags forPaul Eggert
_ and N_, so that we get format checking even when --enable-nls. Add c-format flags for error, error_at_line, asprintf, vasprintf, asnprintf, vasnprintf, wrapf. (USE_MSGCTXT): New macro.
2006-08-10(my-distcheck): Don't bother with --disable-nls,Paul Eggert
as it shouldn't be needed with gettext 0.15.
2006-08-10(AM_GNU_GETTEXT_VERSION): Update from 0.13.1 to 0.15.Paul Eggert
2006-08-10Import from gettext 0.15Paul Eggert
2006-08-10(struct control): Remove fastmap member.Paul Eggert
(extract_regexp): Allocate fastmap separately, since otherwise it might move due to a realloc.
2006-08-10Import regex changes from libc via gnulib.Paul Eggert
2006-08-10Update cycle-check from gnulib.Paul Eggert
2006-08-10Accommodate new getaddrinfo implementation in gnulib.Paul Eggert
(gl_PREREQ): Require gl_FUNC_SNPRINTF, gl_GETADDRINFO, gl_HEADER_ARPA_INET, gl_HEADER_NETINET_IN, gl_HEADER_SYS_SOCKET, gl_INET_NTOP, gl_TYPE_SOCKEN_T.
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-10* tests/ls/stat-dtype: If "." is tmpfs, skip this test unless uname -sJim Meyering
reports "Linux". This avoids a failure on Solaris 10's tmpfs. Redirect both stdout and stderr of df invocations.