Jim Meyering [Tue, 28 Feb 1995 13:54:33 +0000 (13:54 +0000)]
(SET_REGS_MATCHED): Enclose if-stmt in `do {...} while(0)'
instead of using trailing `else' -- otherwise, gcc -Wall complains
of `empty body in an else-statement'.
Jim Meyering [Tue, 28 Feb 1995 13:46:40 +0000 (13:46 +0000)]
(SET_REGS_MATCHED): Enclose if-stmt in `do {...} while(0)'
instead of using trailing `else' -- otherwise, gcc -Wall complains
of `empty body in an else-statement'.
Jim Meyering [Tue, 28 Feb 1995 12:08:03 +0000 (12:08 +0000)]
Always include system headers, but define-away any putenv prototype.
Jim Meyering [Tue, 28 Feb 1995 12:06:57 +0000 (12:06 +0000)]
Remove sys-dependent cruft and define-away getopt in system headers
instead.
Jim Meyering [Thu, 16 Feb 1995 20:25:54 +0000 (20:25 +0000)]
update from FSF
Jim Meyering [Sat, 11 Feb 1995 14:11:36 +0000 (14:11 +0000)]
(SOURCES): Add memcmp.c, memcpy.c, and memset.c.
Jim Meyering [Sat, 11 Feb 1995 14:02:02 +0000 (14:02 +0000)]
.
Jim Meyering [Fri, 27 Jan 1995 19:32:16 +0000 (19:32 +0000)]
.
Jim Meyering [Fri, 27 Jan 1995 17:20:54 +0000 (17:20 +0000)]
(get_fs_usage, statfs): Use safe_read, and safe_stat rather than
bare read and stat.
Jim Meyering [Fri, 27 Jan 1995 17:16:56 +0000 (17:16 +0000)]
Declare errno if it's not defined.
Rename SAFE_STAT to safe_stat.
Jim Meyering [Fri, 27 Jan 1995 17:16:19 +0000 (17:16 +0000)]
Declare errno if it's not defined.
Jim Meyering [Fri, 27 Jan 1995 17:09:18 +0000 (17:09 +0000)]
(DEFS): Remove -Dlint.
(DISTFILES): Add error.h.
Jim Meyering [Fri, 27 Jan 1995 17:05:11 +0000 (17:05 +0000)]
Rename SAFE_STAT to safe_stat.
Jim Meyering [Fri, 27 Jan 1995 15:35:17 +0000 (15:35 +0000)]
.
Jim Meyering [Fri, 27 Jan 1995 15:23:48 +0000 (15:23 +0000)]
(basename): Use strrchr, not rindex.
[!STDC_HEADERS && !HAVE_STRING_H]: Define strrchr to rindex.
Jim Meyering [Fri, 27 Jan 1995 15:01:25 +0000 (15:01 +0000)]
.
Jim Meyering [Fri, 27 Jan 1995 15:00:54 +0000 (15:00 +0000)]
.
Jim Meyering [Fri, 27 Jan 1995 14:41:51 +0000 (14:41 +0000)]
.
Jim Meyering [Fri, 27 Jan 1995 05:37:03 +0000 (05:37 +0000)]
.
Jim Meyering [Fri, 27 Jan 1995 05:36:14 +0000 (05:36 +0000)]
Remove/rewrite some comments.
Jim Meyering [Fri, 27 Jan 1995 05:22:23 +0000 (05:22 +0000)]
.
Karl Heuer [Wed, 18 Jan 1995 20:47:36 +0000 (20:47 +0000)]
[!emacs] (SWITCH_ENUM_CAST): New macro, from emacs/lisp.h
(re_compile_fastmap, re_match_2_internal): Use that macro instead of testing
SWITCH_ENUM_BUG.
Jim Meyering [Sun, 8 Jan 1995 19:33:34 +0000 (19:33 +0000)]
See log in textutils/lib/.
Richard Stallman [Fri, 30 Dec 1994 23:28:45 +0000 (23:28 +0000)]
(regex_compile): Use putchar, not printchar.
Richard Stallman [Sat, 24 Dec 1994 23:40:43 +0000 (23:40 +0000)]
(SET_REGS_MATCHED): Do nothing if set_regs_matched_done is 1.
Set set_regs_matched_done to 1.
(re_match_2_internal): New local var set_regs_matched_done.
Set it to 0 when appropriate.
(POP_FAILURE_POINT): Set set_regs_matched_done to 0.
(re_match_2_internal, case duplicate): Call SET_REGS_MATCHED.
Jim Meyering [Thu, 22 Dec 1994 05:10:32 +0000 (05:10 +0000)]
Rearrange to accept a user-specified set of suffix chars (must be
a subset of master list), each with a hard-coded value.
Jim Meyering [Tue, 20 Dec 1994 05:05:55 +0000 (05:05 +0000)]
.
Jim Meyering [Tue, 20 Dec 1994 04:17:23 +0000 (04:17 +0000)]
.
Jim Meyering [Sun, 11 Dec 1994 23:16:11 +0000 (23:16 +0000)]
[REG_UNSET_VALUE]: Define to the address of a static variable rather than to
((char *) -1). The latter got a warning on IRIX64.
Jim Meyering [Sat, 10 Dec 1994 22:00:12 +0000 (22:00 +0000)]
(safe_read): Get this function from gcc's cccp.c.
Jim Meyering [Sun, 4 Dec 1994 21:08:50 +0000 (21:08 +0000)]
Get putenv.c from /copies (derived from glibc).
Hack it to work with SGI's __environ junk.
Karl Heuer [Thu, 1 Dec 1994 22:59:35 +0000 (22:59 +0000)]
(gettext): Make sure this is always defined, even #if emacs.
(NULL): No need to #undef this anymore; Emacs uses NILP now.
Paul Eggert [Tue, 29 Nov 1994 16:25:39 +0000 (16:25 +0000)]
(re_compile_pattern, re_comp, regerror): Add gettext wrapper.
(re_error_msgid): Renamed from `re_error_msg', for consistency
with other source files that declare arrays of message ids.
Identifiers ending in `msgid' are special to to some prototype
message-extracting utilities.
Make "Success" be the 0th entry, so it can be extracted too.
(re_comp): Replace "Memory exhausted" with
re_error_msgid[REG_ESPACE], to aid message consistency.
Jim Meyering [Mon, 21 Nov 1994 14:23:15 +0000 (14:23 +0000)]
.
Richard Stallman [Sat, 19 Nov 1994 13:57:27 +0000 (13:57 +0000)]
(re_compile_fastmap): Really, really treat `succeed' like end.
Richard Stallman [Sat, 19 Nov 1994 10:37:38 +0000 (10:37 +0000)]
(re_compile_fastmap): Really treat `succeed' like end.
Karl Heuer [Fri, 18 Nov 1994 01:04:41 +0000 (01:04 +0000)]
(re_compile_fastmap): Treat `succeed' like end of pattern.
Richard Stallman [Wed, 16 Nov 1994 20:29:39 +0000 (20:29 +0000)]
(re_opcode_t): New opcode `succeed'
(re_match_2_internal): Handle `succeed'.
(regex_compile): Handle RE_NO_BACKTRACKING.
(re_syntax_options): Delete initializer.
Richard Stallman [Wed, 16 Nov 1994 20:28:48 +0000 (20:28 +0000)]
(RE_NO_POSIX_BACKTRACKING): New macro.
Jim Meyering [Fri, 11 Nov 1994 16:10:16 +0000 (16:10 +0000)]
(SOURCES): Add strtol.c.
Jim Meyering [Sun, 6 Nov 1994 17:51:31 +0000 (17:51 +0000)]
merge with 1.12
Jim Meyering [Sun, 6 Nov 1994 17:40:20 +0000 (17:40 +0000)]
Initial revision
Jim Meyering [Sat, 5 Nov 1994 13:37:49 +0000 (13:37 +0000)]
merge with 3.10
Jim Meyering [Fri, 4 Nov 1994 16:50:15 +0000 (16:50 +0000)]
merge with 3.9u1
Jim Meyering [Fri, 4 Nov 1994 14:04:43 +0000 (14:04 +0000)]
Change _P to __P.
Jim Meyering [Fri, 4 Nov 1994 06:05:34 +0000 (06:05 +0000)]
Include makepath.h.
Add an argument: PRESERVE_EXISTING.
Declare char* arguments const.
Jim Meyering [Fri, 4 Nov 1994 06:04:42 +0000 (06:04 +0000)]
.
Jim Meyering [Fri, 4 Nov 1994 06:02:21 +0000 (06:02 +0000)]
(DISTFILES): Add makepath.h.
(makepath.o): Depend on it.
Jim Meyering [Thu, 3 Nov 1994 22:03:54 +0000 (22:03 +0000)]
(rwx): Use S_IRUSR, S_IWUSR, S_IXUSR instead of obsolete
S_IREAD, S_IWRITE, S_IEXEC.
Make sure the former three are defined.
Jim Meyering [Thu, 3 Nov 1994 22:03:16 +0000 (22:03 +0000)]
Define S_IXUSR, S_IXGRP, and S_IXOTH in terms of _IEXEC if they're not
already defined. Reported by Daniel Hagerty <hag@gnu.ai.mit.edu>.
Jim Meyering [Thu, 3 Nov 1994 00:58:46 +0000 (00:58 +0000)]
merge with 1.10x1
Jim Meyering [Tue, 1 Nov 1994 14:58:13 +0000 (14:58 +0000)]
merge with 3.9t2
Jim Meyering [Tue, 1 Nov 1994 14:50:16 +0000 (14:50 +0000)]
Initial revision
Jim Meyering [Sun, 30 Oct 1994 05:28:15 +0000 (05:28 +0000)]
merge with 1.9.1i
Jim Meyering [Sat, 29 Oct 1994 05:06:43 +0000 (05:06 +0000)]
.
Jim Meyering [Thu, 27 Oct 1994 13:44:07 +0000 (13:44 +0000)]
merge with 3.9s
Paul Eggert [Wed, 26 Oct 1994 22:43:45 +0000 (22:43 +0000)]
(re_comp, re_exec): Define this obsolete 4.2bsd
interface only if the new feature test macro _REGEX_RE_COMP is defined.
This avoids a clash with Cray YMP include files.
Jim Meyering [Fri, 21 Oct 1994 13:37:48 +0000 (13:37 +0000)]
.
Jim Meyering [Thu, 20 Oct 1994 16:16:54 +0000 (16:16 +0000)]
merge with 3.9p
Jim Meyering [Thu, 20 Oct 1994 16:10:00 +0000 (16:10 +0000)]
Initial revision
Jim Meyering [Thu, 20 Oct 1994 15:29:38 +0000 (15:29 +0000)]
.
Jim Meyering [Wed, 19 Oct 1994 03:39:42 +0000 (03:39 +0000)]
merge with 1.9.1h
Karl Heuer [Tue, 18 Oct 1994 03:48:00 +0000 (03:48 +0000)]
(exactn): Initializer deleted.
Karl Heuer [Tue, 18 Oct 1994 03:47:42 +0000 (03:47 +0000)]
(RE_EXACTN_VALUE): Deleted; Emacs doesn't need this kludge anymore.
Jim Meyering [Mon, 17 Oct 1994 14:01:44 +0000 (14:01 +0000)]
.
Jim Meyering [Mon, 17 Oct 1994 13:24:35 +0000 (13:24 +0000)]
.
Jim Meyering [Sun, 9 Oct 1994 05:24:31 +0000 (05:24 +0000)]
.
Jim Meyering [Sat, 8 Oct 1994 16:38:01 +0000 (16:38 +0000)]
.
Jim Meyering [Sat, 8 Oct 1994 14:52:10 +0000 (14:52 +0000)]
.
Jim Meyering [Sat, 8 Oct 1994 02:43:00 +0000 (02:43 +0000)]
merge with 3.9i
Jim Meyering [Sat, 8 Oct 1994 02:04:47 +0000 (02:04 +0000)]
.
Jim Meyering [Sat, 8 Oct 1994 00:56:50 +0000 (00:56 +0000)]
.
Jim Meyering [Sat, 8 Oct 1994 00:41:11 +0000 (00:41 +0000)]
merge with 1.10q
Jim Meyering [Fri, 7 Oct 1994 01:19:51 +0000 (01:19 +0000)]
.
Jim Meyering [Mon, 3 Oct 1994 03:01:34 +0000 (03:01 +0000)]
.
Jim Meyering [Sun, 2 Oct 1994 23:01:16 +0000 (23:01 +0000)]
merge with 1.9.1g
Jim Meyering [Sun, 2 Oct 1994 22:50:11 +0000 (22:50 +0000)]
Initial revision
Jim Meyering [Sun, 2 Oct 1994 05:43:03 +0000 (05:43 +0000)]
merge with 3.9h
Jim Meyering [Sun, 2 Oct 1994 05:35:52 +0000 (05:35 +0000)]
Initial revision
Jim Meyering [Sun, 2 Oct 1994 02:09:38 +0000 (02:09 +0000)]
.
Richard Stallman [Sat, 1 Oct 1994 09:07:05 +0000 (09:07 +0000)]
Comment change.
Richard Stallman [Sat, 1 Oct 1994 09:06:07 +0000 (09:06 +0000)]
(compile_range): When casting to const unsigned char *, put const first.
Jim Meyering [Sat, 1 Oct 1994 04:48:44 +0000 (04:48 +0000)]
merge with 1.10n5
Jim Meyering [Sat, 1 Oct 1994 04:37:35 +0000 (04:37 +0000)]
merge with 1.10n4
Jim Meyering [Wed, 28 Sep 1994 01:19:14 +0000 (01:19 +0000)]
remove ansidecl junk
Jim Meyering [Tue, 27 Sep 1994 22:02:08 +0000 (22:02 +0000)]
merge with 1.10n2
Jim Meyering [Tue, 27 Sep 1994 20:52:18 +0000 (20:52 +0000)]
merge with 1.10n1
David J. MacKenzie [Mon, 26 Sep 1994 21:59:04 +0000 (21:59 +0000)]
remove CONFIG_BROKETS
Jim Meyering [Sun, 25 Sep 1994 03:12:51 +0000 (03:12 +0000)]
merge with 1.10n
Jim Meyering [Sun, 25 Sep 1994 01:25:18 +0000 (01:25 +0000)]
.
Jim Meyering [Sat, 24 Sep 1994 19:12:57 +0000 (19:12 +0000)]
merge with 1.10m
Jim Meyering [Sat, 17 Sep 1994 02:47:05 +0000 (02:47 +0000)]
merge with 1.10j
Jim Meyering [Thu, 8 Sep 1994 04:48:47 +0000 (04:48 +0000)]
merge with 1.10i
Jim Meyering [Sat, 3 Sep 1994 04:27:02 +0000 (04:27 +0000)]
.
Jim Meyering [Thu, 1 Sep 1994 23:20:39 +0000 (23:20 +0000)]
merge with 1.10h
Jim Meyering [Sat, 27 Aug 1994 21:34:13 +0000 (21:34 +0000)]
.
Jim Meyering [Sat, 27 Aug 1994 21:23:07 +0000 (21:23 +0000)]
.
Jim Meyering [Sat, 27 Aug 1994 20:55:59 +0000 (20:55 +0000)]
.
Jim Meyering [Fri, 19 Aug 1994 22:42:32 +0000 (22:42 +0000)]
merge with 1.10g
Jim Meyering [Fri, 19 Aug 1994 17:05:18 +0000 (17:05 +0000)]
.