[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Coreutils-announce] textutils-2.0.17 released
From: |
Jim Meyering |
Subject: |
[Coreutils-announce] textutils-2.0.17 released |
Date: |
Thu, 22 Nov 2001 23:34:45 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu) |
Nothing earth-shattering here...
Happy thanksgiving.
ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.17.tar.gz (2.2 MB)
ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.17.tar.bz2 (1.6 MB)
ftp://freefriends.org/gnu/fetish/textutils-2.0.17.tar.gz (2.2 MB)
ftp://freefriends.org/gnu/fetish/textutils-2.0.17.tar.bz2 (1.6 MB)
And here are xdelta-style diffs
ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.16-2.0.17.xdelta (312 kB)
ftp://freefriends.org/gnu/fetish/textutils-2.0.16-2.0.17.xdelta (312 kB)
Here are the MD5 and SHA1 signatures for the compressed tar files:
98e8c5440bffe9af3b9d860d2bb0cb37 textutils-2.0.17.tar.gz
d65c85079b52d82abdb7de997cc8af84 textutils-2.0.17.tar.bz2
c345907718d0ef8712dcc3f6fd70bd9615b37a84 textutils-2.0.17.tar.gz
d0ff68f01a60da37b475beb6a9849316adfc4bc6 textutils-2.0.17.tar.bz2
NEWS:
* csplit no longer gets a failed assertion for this:
printf 'a\n\n'|csplit - '/^$/' 2
* sort detects physical memory attributes more portably
* tail no longer gets a segfault on Linux's /proc/ksyms
* sum -s produces the proper 16-bit checksum for large files
(this fixes a bug that was introduced in 2.0f)
ChangeLog entries:
**********************************************************************
ChangeLog 2001/11/22 09:31:30 1.910
**********************************************************************
2001-11-22 Jim Meyering <address@hidden>
* Version 2.0.17.
csplit could get a failed assertion: printf 'a\n\n'|csplit - '/^$/' 2
* src/csplit.c: No longer include assert.h.
(process_line_count): Remove invalid assertion. The test that caused
the failure has been in the code since before 1992-11-08, but since
1996 it's been in an assertion. That assertion was disabled by default
until textutils-1.22g (1999-01-10). Reported by Eric Pemente.
* tests/misc/csplit: New file. Test for the above fix and others.
* tests/misc/Makefile.am (TESTS): Add csplit.
* tests/Makefile.am (EXTRA_DIST): Add lang-default.
2001-11-19 Jim Meyering <address@hidden>
* src/tail.c (xlseek): New function.
Call it instead of lseek, in most cases, so any failure is reported.
2001-11-18 Jim Meyering <address@hidden>
* config.sub: Update from master repository.
* config.guess: Likewise.
2001-11-17 Jim Meyering <address@hidden>
* Makefile.cfg ($(srcdir)/m4/jm-glibc-io.m4): Use $(move_if_change),
not the literal `move-if-change'.
* src/tail.c (tail_forever): Add a cast.
Avoid compiler warnings.
* src/fmt.c: Remove `unsigned' attribute from type of global `prefix'.
(copy_rest): Cast to (unsigned char *) before dereferencing.
(get_prefix): Likewise.
* configure.ac: Replace use of the one-arg form of AC_INIT
with a use of the 3-arg form and a use of AC_CONFIG_SRCDIR.
2001-11-14 Paul Eggert <address@hidden>
* src/tail.c (file_lines): Remove unnecessary cast.
(tail_lines): Could have called file_lines even though the first
lseek failed. Fix that.
2001-11-14 Jim Meyering <address@hidden>
* src/tail.c (file_lines): Add a parameter, start_pos.
Work properly even when the read pointer is not at beginning of file.
(tail_lines): Call file_lines for any regular file, as long as lseek
can be used to seek to its end, not just when the initial read pointer
is at beginning of file.
2001-11-13 Jim Meyering <address@hidden>
* src/tail.c (tail_lines): Move declaration of local `length'
into scope where it's used.
(tail_file): Likewise for local `stats'.
* tests/tail-2/Makefile.am (TESTS): Add proc-ksyms and start-middle.
* tests/tail-2/start-middle: New test, for the bug fixed on 1995-07-24.
`tail /proc/ksyms' would segfault on Linux.
* src/tail.c (tail_lines): Use status of lseek (...SEEK_END) call
in deciding whether to call file_lines or pipe_lines.
From Herbert Xu.
* tests/tail-2/proc-ksyms: New test, for the above fix.
2001-11-11 Jim Meyering <address@hidden>
* src/od.c (struct tspec): Declare function pointer with prototype.
* src/sum.c (main): Declare function pointer with prototype.
* src/tsort.c (count_items): Mark parameter as unused.
* src/sort.c (struct_month_cmp): Guard definition with the same
cpp condition that guards the use.
* src/tail.c (xwrite): Remove assertion that size_t N >= 0.
* src/pr.c (struct COLUMN) [print_func]: Declare with a protype.
(struct COLUMN) [char_func]: Declare with a protype.
* src/od.c (parse_old_offset): Declare to be static.
* src/join.c (make_blank): Declare to be static.
(prfield): Declare local to be of type size_t, not int.
Some help strings were very long. Split them so that
they're no longer than the magic length 509 that ISO C89
compilers are required to support. Sorry, translators :-(
* src/md5sum.c (usage): Split --help output into smaller pieces.
* src/ptx.c (main, usage): Likewise.
* src/fmt.c (usage): Likewise.
* src/wc.c (usage): Split --help output into smaller pieces.
Use fputs, not printf.
* src/cat.c (usage): Likewise.
* src/cut.c (usage): Likewise.
* src/csplit.c (usage): Likewise.
* src/expand.c (usage): Likewise.
* src/head.c (usage): Likewise.
* src/join.c (usage): Likewise.
* src/nl.c (usage): Likewise.
* src/od.c (usage): Likewise.
* src/pr.c (usage): Likewise.
* src/sort.c (usage): Likewise.
* src/split.c (usage): Likewise.
* src/tac.c (usage): Likewise.
* src/tr.c (usage): Likewise.
* src/unexpand.c (usage): Likewise.
* src/uniq.c (usage): Likewise.
* src/tail.c (usage): Likewise.
* src/sys2.h (alloca) [__GNUC__]: Define only if not already defined.
* src/Makefile.am (sort_LDADD): Reflect spelling change:
s/POW_LIBM/POW_LIB/.
2001-11-10 Jim Meyering <address@hidden>
* src/nl.c (proc_text): Use `puts' to output a string of spaces,
not printf. This avoids a warning from gcc's -Wformat-security.
2001-11-09 Jim Meyering <address@hidden>
* configure.ac: Use AC_CONFIG_FILES(...) and call AC_OUTPUT with no
arguments.
2001-11-05 Jim Meyering <address@hidden>
* src/sort.c (usage): Don't recommend setting LC_COLLATE=C.
That can cause problems (now documented in coreutils.texi).
2001-11-04 Jim Meyering <address@hidden>
* uniq.c, unexpand.c, tail.c, tac.c, split.c, sort.c, pr.c, paste.c:
* od.c, nl.c, head.c, fold.c, expand.c, cut.c, csplit.c (usage):
Say that ``Mandatory arguments to long options are mandatory for
short options too.''
* src/ptx.c (usage): Add one-line description.
2001-10-28 Jim Meyering <address@hidden>
* tests/sum/sysv: New test for the fix below.
* tests/sum/Makefile.am (TESTS): Add sysv.
2001-10-27 Paul Eggert <address@hidden>
* src/sum.c: Include human.h.
(ROTATE_RIGHT): Remove; it was slow and the comment was
misleading anyway.
(bsd_sum_file): Avoid unsigned and long when they're not needed.
Compute total input bytes as uintmax_t, not long, so that the
code works even with files whose size does not fit in 'long'.
(sysv_sum_file): Likewise.
(sysv_sum_file): Do not reduce checksum until the end; this is
what System V does.
Reported by Nick Lawes.
2001-10-27 Jim Meyering <address@hidden>
Give an accurate diagnostic when `head --bytes=30M' fails.
* src/head.c (string_to_integer): Check explicitly for overflow,
and lump everything else together as `invalid'.
2001-10-04 Jim Meyering <address@hidden>
Rename --all-repeated argument `precede' to `prepend'.
* src/uniq.c (enum delimit_method): s/DM_PRECEDE/DM_PREPEND/
and change all uses.
(delimit_method_string): s/precede/prepend/
* tests/uniq/Test.pm: Adjust tests accordingly.
Patches by Padraig Brady.
* src/uniq.c (usage): Correct typo in description of --all-repeated.
Patch by Padraig Brady.
on files whose bytes sum to 2^32 or larger. The smallest such file
contains 16,843,010 bytes, nearly all of which have the value 0xff.
the beginning rather than from the end of the first line or
**********************************************************************
doc/ChangeLog 2001/11/10 08:46:14 1.24
**********************************************************************
2001-11-10 Jim Meyering <address@hidden>
* coreutils.texi (Date directives): Document %u.
2001-11-07 Paul Eggert <address@hidden>
* coreutils.texi (paste invocation): Give examples.
Thanks to Dan Jacobson for suggesting the examples.
2001-11-05 Jim Meyering <address@hidden>
* coreutils.texi (sort invocation): Recommend setting LC_ALL=C,
not LC_COLLATE=C. Explain how the latter can cause problems.
Based on a message from Paul Eggert.
(ls invocation): Recommend setting LC_ALL=C, not LC_COLLATE=C.
2001-10-21 Jim Meyering <address@hidden>
* coreutils.texi (cp invocation): Describe --reply=...
2001-10-17 Jim Meyering <address@hidden>
* coreutils.texi (cp invocation): `cp --no-dereference' is
no longer equivalent to `cp -d'.
`cp -d' is equivalent to `--no-dereference --preserve=links'.
cp's -P option means --no-dereference, not --parents.
Describe new optional argument to --preserve.
Describe new option: --no-preserve=ATTRIBUTE_LIST.
**********************************************************************
lib/ChangeLog 2001/11/22 10:58:01 1.308
**********************************************************************
2001-11-22 Jim Meyering <address@hidden>
* hash.h: Bracket contents of file with #ifndef HASH_H_ ... #endif.
2001-11-18 Paul Eggert <address@hidden>
* tempname.c (TMP_MAX): Remove; no longer needed.
(TEMPORARIES): New macro.
(__gen_tempname): Use TEMPORARIES rather than TMP_MAX. This
removes an artificial limitation (e.g. HP-UX 10.20, where
TMP_MAX is 17576).
2001-11-18 Jim Meyering <address@hidden>
* tempname.c [!HAVE_DECL_GETENV]: Declare getenv to avoid warning
on SunOS4.
* Makefile.am (Makefile): Depend on $(BUILT_SOURCES), so those
files will be created before anything else.
2001-11-17 Jim Meyering <address@hidden>
* modechange.c (mode_adjust): Fix error introduced on 1999-04-26
that made e.g., `chmod a=,o=w,g=o F' cause F to be group readable
rather than group writable. Patch by Juan F. Codagnone.
* readtokens.c: Remove explicit declarations of xmalloc and xrealloc,
Instead, include "xalloc.h".
* mountlist.c: Include unlocked-io.h after all system headers.
Remove explicit declarations of xmalloc, xrealloc,
and xstrdup. Instead, include "xalloc.h".
* argmatch.c, closeout.c, error.c, exclude.c: Include unlocked-io.h.
* fatal.c, getdate.y, getpass.c, getstr.c, getusershell.c: Likewise.
* mountlist.c, posixtm.c, readtokens.c, readutmp.c: Likewise.
* regex.c, sha.c, version-etc.c, yesno.c: Likewise.
Reported by Padraig Brady.
* mkstemp.c: #undef mkstemp.
Include config.h.
(rpl_mkstemp): Rename from mkstemp.
Protoize.
2001-11-16 Jim Meyering <address@hidden>
* physmem.c [HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>.
(physmem_total) [HAVE_PSTAT_GETSTATIC]: If sysconf couldn't be used to
determine the amount of total physical memory, use pstat_getstatic.
HPUX-11 doesn't define _SC_PHYS_PAGES.
(physmem_available) [HAVE_PSTAT_GETSTATIC && HAVE_PSTAT_GETDYNAMIC]:
If sysconf couldn't be used to determine the amount of available
physical memory, use both pstat_getstatic and pstat_getdynamic.
Based on a patch from Bob Proulx.
2001-11-05 Jim Meyering <address@hidden>
* xstat.in (slash_aware_lstat): Correct a misleading comment.
2001-11-03 Jim Meyering <address@hidden>
* argmatch.h (ARGMATCH_TO_ARGUMENT): Remove casts of first two args
in argmatch_to_argument call.
* dirfd.c (dirfd): Reflect the fact that DIR_TO_FD now takes an
argument.
* hash.c (hash_clear): Fix a bug that could lead to an infloop or
e.g., a fault due to an attempt to free a NULL pointer.
2001-11-01 Jim Meyering <address@hidden>
* dirfd.c, dirfd.h: New files.
* Makefile.am (libfetish_a_SOURCES): Add dirfd.h.
* hash.c (hash_print) [TESTING]: Clean up.
2001-10-22 Paul Eggert <address@hidden>
* hard-locale.c (alloca): Define to __builtin_alloca if __GNUC__,
to avoid a warning if -Wall.
2001-10-21 Paul Eggert <address@hidden>
* regex.c (uintptr_t): Remove macro and decl; it's config.h's job.
2001-10-21 Jim Meyering <address@hidden>
* obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
this code would end up calling gettext even in packages built
with --disable-nls.
* getopt.c (_): Likewise.
* regex.c (_): Likewise.
2001-10-20 Paul Eggert <address@hidden>
* error.c (strerror_r): Do not declare unless !_LIBC.
Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P.
Use strerror_r that is only a macro, even if it is not a function.
(strerror): Check for HAVE_DECL_STRERROR before declaring.
(private_strerror): Use prototypes, not old-style function definition.
(print_errno_message): New function.
Support the POSIX 'int'-flavored strerror_r, as well as the traditional
char*-flavored one.
(error_tail, error, error_at_line): Use it.
2001-10-11 Jim Meyering <address@hidden>
* argmatch.c (argmatch_invalid): Use quotearg_n_style (0, ...
and quote_n (1, ... to avoid clobbering a buffer.
2001-10-05 Jim Meyering <address@hidden>
* Makefile.am: (libfetish_a_SOURCES): Add hash-pjw.c and hash-pjw.h.
* hash-pjw.c: New file (factored out of fileutils' remove.c).
* hash-pjw.h: New file.
* exclude.c (excluded_filename): 0 -> false, since it's
* xgetcwd.c: Don't include pathmax.h.
**********************************************************************
m4/ChangeLog 2001/11/20 10:38:47 1.374
**********************************************************************
2001-11-20 Jim Meyering <address@hidden>
* mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
SunOS4.1.4 and solaris2.5.1 lose, too.
2001-11-19 Jim Meyering <address@hidden>
* mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
directory. Use "conftestXXXXXX" as the template.
Suggestion from Paul Eggert.
* mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
so the test doesn't mistakenly hit the max-open-files limit.
2001-11-18 Jim Meyering <address@hidden>
* prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
2001-11-17 Jim Meyering <address@hidden>
* mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
Prompted by a report from Bob Proulx.
* jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
Instead, require UTILS_FUNC_MKSTEMP.
2001-11-11 Jim Meyering <address@hidden>
* jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
Now, that's done as part of AC_FUNC_STRTOD.
2001-10-22 Paul Eggert <address@hidden>
* jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
2001-11-10 Jim Meyering <address@hidden>
* prereq.m4 (jm_PREREQ_PHYSMEM): New function.
(jm_PREREQ): Use it.
2001-11-09 Jim Meyering <address@hidden>
* jm-macros.m4: Require autoconf-2.52f.
(AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
Use these AC_-prefixed names, not the AM_-prefixed ones.
* afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
2001-11-04 Jim Meyering <address@hidden>
* fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
2001-11-03 Jim Meyering <address@hidden>
* jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
of AC_DEFUN.
* dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
know the name of the variable in the macro definition.
2001-11-01 Jim Meyering <address@hidden>
* dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
* jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
2001-10-20 Paul Eggert <address@hidden>
* error.m4 (jm_PREREQ_ERROR):
Do not invoke AC_CHECK_FUNCS with strerror_r, as
AC_FUNC_STRERROR_R does that.
Check for strerror declaration.
* strerror_r.m4: Add copyright notice, as nontrivial m4 files
are supposed to have them these days.
(AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
Merge changes from latest Autoconf CVS.
Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
POSIX decided to standardize on the int flavor of strerror_r.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Coreutils-announce] textutils-2.0.17 released,
Jim Meyering <=