From a99f319d1252b1c40a3641f5516b8bf4b7dd5c53 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 6 May 1994 18:39:32 +0000 Subject: [PATCH] merge with 1.9.1f --- lib/regex.c | 6 ++++- old/textutils/ChangeLog | 59 ++++++++++++++++++++++++++++++++++++----- old/textutils/NEWS | 2 ++ 3 files changed, 60 insertions(+), 7 deletions(-) diff --git a/lib/regex.c b/lib/regex.c index 8c853ba62e..2edcc42f8e 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -3,7 +3,7 @@ (Implements POSIX draft P10003.2/D11.2, except for internationalization features.) - Copyright (C) 1993 Free Software Foundation, Inc. + Copyright (C) 1993, 1994 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -3180,7 +3180,11 @@ re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop) val = re_match_2_internal (bufp, string1, size1, string2, size2, startpos, regs, stop); +#ifndef REGEX_MALLOC +#ifdef C_ALLOCA alloca (0); +#endif +#endif if (val >= 0) return startpos; diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 483d45bc20..1ee582ca79 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,3 +1,51 @@ +Fri May 6 05:44:24 1994 Jim Meyering (meyering@comco.com) + + * tail.c (tail_forever): Don't print headers when asked not to. + From Karsten Thygesen . + + * wc.c (wc): Optimize for the case when only bytes are being counted + and the input is not a regular file. From Jeff Moore . + +Sun Apr 24 10:54:08 1994 Jim Meyering (meyering@comco.com) + + * configure.in [AC_SIZEOF_TYPE]: Update for autoconf-1.9. + * memchr.c: Test SIZEOF_LONG instead of LONG_64_BITS. + +Mon Apr 11 17:55:52 1994 Jim Meyering (meyering@comco.com) + + * csplit.c (struct control): Add new field, repeat_forever. + Remove now-unneeded definition of INT_MAX. + (process_regexp): Test repeat_forever instead of comparing `repeat' + to INT_MAX. + (split_file): Don't even reference `repeat' count if repeat_forever + is set. + (new_control_record): Initialize repeat_forever field. + (parse_repeat_count): Set it instead of setting repeat count to + INT_MAX. + (process_line_count): Abort for internal error instead of calling + handle_line_error. + + * long-options.c (parse_long_options): Take a new argument indicating + the utility name (e.g. "join", not "gjoin") for version output. + Print both the utility and the package names, e.g. `join - GNU + textutils-1.9.1' instead of just the package name. + + * join.c (main): Call parse_long_options with program name arg. + * sort.c (main): Ditto. + + * All source except sort.c and join.c (main): Change --version output + to include utility name as well as package name and version info. + +Wed Mar 30 08:53:21 1994 Jim Meyering (meyering@comco.com) + + * configure.in: Use AC_SET_MAKE. + * Makefile.in: Edit MAKE assignments into @SET_MAKE@. + +Mon Mar 28 09:55:05 1994 Jim Meyering (meyering@comco.com) + + * tr.c (main): In addition to the --help usage pointer, give an + explicit error message for too many arguments. + Fri Mar 25 18:11:19 1994 Jim Meyering (meyering@comco.com) * configure.in: Use AC_VERBOSE, AC_CHECKING, and AC_WARN instead @@ -16,14 +64,13 @@ Fri Mar 25 18:11:19 1994 Jim Meyering (meyering@comco.com) * csplit.c: Change long option name from --suffix to --suffix-format. * od.c (skip): Correct a comment. - (main): Don't output anything if the sole input file doesn't exist. - Reported by Bauke Jan Douma . - (dump) [lint]: Initialize a variable to suppress `used before + (main): Don't output anything to stdout if the sole input file + doesn't exist. Reported by Bauke Jan Douma . + + * od.c (dump) [lint]: Initialize a variable to suppress `used before initialized' warning. (main) [lint]: Ditto. - - * paste.c (paste_parallel) [lint]: Initialize a variable to suppress - `used before initialized' warning. + * paste.c (paste_parallel) [lint]: Ditto. Fri Jan 28 11:02:21 1994 Jim Meyering (meyering@comco.com) diff --git a/old/textutils/NEWS b/old/textutils/NEWS index c9f7f7a2d4..06bcdf451e 100644 --- a/old/textutils/NEWS +++ b/old/textutils/NEWS @@ -1,4 +1,6 @@ User-visible changes in release 1.10 +* tail -q corrected so it never prints headers +* wc -c is much faster when operating on non-regular files * unexpand gives a diagnostic (rather than a segfault) when given a name of a nonexistent file. * cat, csplit, head, split, sum, tac, tail, tr, and wc no longer fail -- 2.47.3