gnulib.git
29 years agoRename SAFE_STAT to safe_stat.
Jim Meyering [Fri, 27 Jan 1995 17:05:11 +0000 (17:05 +0000)]
Rename SAFE_STAT to safe_stat.

29 years ago.
Jim Meyering [Fri, 27 Jan 1995 15:35:17 +0000 (15:35 +0000)]
.

29 years ago(basename): Use strrchr, not rindex.
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.

29 years ago.
Jim Meyering [Fri, 27 Jan 1995 15:01:25 +0000 (15:01 +0000)]
.

29 years ago.
Jim Meyering [Fri, 27 Jan 1995 15:00:54 +0000 (15:00 +0000)]
.

29 years ago.
Jim Meyering [Fri, 27 Jan 1995 14:41:51 +0000 (14:41 +0000)]
.

29 years ago.
Jim Meyering [Fri, 27 Jan 1995 05:37:03 +0000 (05:37 +0000)]
.

29 years agoRemove/rewrite some comments.
Jim Meyering [Fri, 27 Jan 1995 05:36:14 +0000 (05:36 +0000)]
Remove/rewrite some comments.

29 years ago.
Jim Meyering [Fri, 27 Jan 1995 05:22:23 +0000 (05:22 +0000)]
.

29 years ago[!emacs] (SWITCH_ENUM_CAST): New macro, from emacs/lisp.h
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.

29 years agoSee log in textutils/lib/.
Jim Meyering [Sun, 8 Jan 1995 19:33:34 +0000 (19:33 +0000)]
See log in textutils/lib/.

29 years ago(regex_compile): Use putchar, not printchar.
Richard Stallman [Fri, 30 Dec 1994 23:28:45 +0000 (23:28 +0000)]
(regex_compile): Use putchar, not printchar.

29 years ago(SET_REGS_MATCHED): Do nothing if set_regs_matched_done is 1.
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.

29 years agoRearrange to accept a user-specified set of suffix chars (must be
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.

29 years ago.
Jim Meyering [Tue, 20 Dec 1994 05:05:55 +0000 (05:05 +0000)]
.

29 years ago.
Jim Meyering [Tue, 20 Dec 1994 04:17:23 +0000 (04:17 +0000)]
.

29 years ago[REG_UNSET_VALUE]: Define to the address of a static variable rather than to
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.

29 years ago(safe_read): Get this function from gcc's cccp.c.
Jim Meyering [Sat, 10 Dec 1994 22:00:12 +0000 (22:00 +0000)]
(safe_read): Get this function from gcc's cccp.c.

29 years agoGet putenv.c from /copies (derived from glibc).
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.

29 years ago(gettext): Make sure this is always defined, even #if emacs.
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.

29 years ago(re_compile_pattern, re_comp, regerror): Add gettext wrapper.
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.

29 years ago.
Jim Meyering [Mon, 21 Nov 1994 14:23:15 +0000 (14:23 +0000)]
.

29 years ago(re_compile_fastmap): Really, really treat `succeed' like end.
Richard Stallman [Sat, 19 Nov 1994 13:57:27 +0000 (13:57 +0000)]
(re_compile_fastmap): Really, really treat `succeed' like end.

29 years ago(re_compile_fastmap): 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.

29 years ago(re_compile_fastmap): Treat `succeed' like end of pattern.
Karl Heuer [Fri, 18 Nov 1994 01:04:41 +0000 (01:04 +0000)]
(re_compile_fastmap): Treat `succeed' like end of pattern.

29 years ago(re_opcode_t): New opcode `succeed'
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.

29 years ago(RE_NO_POSIX_BACKTRACKING): New macro.
Richard Stallman [Wed, 16 Nov 1994 20:28:48 +0000 (20:28 +0000)]
(RE_NO_POSIX_BACKTRACKING): New macro.

29 years ago(SOURCES): Add strtol.c.
Jim Meyering [Fri, 11 Nov 1994 16:10:16 +0000 (16:10 +0000)]
(SOURCES): Add strtol.c.

29 years agomerge with 1.12
Jim Meyering [Sun, 6 Nov 1994 17:51:31 +0000 (17:51 +0000)]
merge with 1.12

29 years agoInitial revision
Jim Meyering [Sun, 6 Nov 1994 17:40:20 +0000 (17:40 +0000)]
Initial revision

29 years agomerge with 3.10
Jim Meyering [Sat, 5 Nov 1994 13:37:49 +0000 (13:37 +0000)]
merge with 3.10

29 years agomerge with 3.9u1
Jim Meyering [Fri, 4 Nov 1994 16:50:15 +0000 (16:50 +0000)]
merge with 3.9u1

29 years agoChange _P to __P.
Jim Meyering [Fri, 4 Nov 1994 14:04:43 +0000 (14:04 +0000)]
Change _P to __P.

29 years agoInclude makepath.h.
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.

29 years ago.
Jim Meyering [Fri, 4 Nov 1994 06:04:42 +0000 (06:04 +0000)]
.

29 years ago(DISTFILES): Add makepath.h.
Jim Meyering [Fri, 4 Nov 1994 06:02:21 +0000 (06:02 +0000)]
(DISTFILES): Add makepath.h.
(makepath.o): Depend on it.

29 years ago(rwx): Use S_IRUSR, S_IWUSR, S_IXUSR instead of obsolete
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.

29 years agoDefine S_IXUSR, S_IXGRP, and S_IXOTH in terms of _IEXEC if they're not
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>.

29 years agomerge with 1.10x1
Jim Meyering [Thu, 3 Nov 1994 00:58:46 +0000 (00:58 +0000)]
merge with 1.10x1

29 years agomerge with 3.9t2
Jim Meyering [Tue, 1 Nov 1994 14:58:13 +0000 (14:58 +0000)]
merge with 3.9t2

29 years agoInitial revision
Jim Meyering [Tue, 1 Nov 1994 14:50:16 +0000 (14:50 +0000)]
Initial revision

29 years agomerge with 1.9.1i
Jim Meyering [Sun, 30 Oct 1994 05:28:15 +0000 (05:28 +0000)]
merge with 1.9.1i

29 years ago.
Jim Meyering [Sat, 29 Oct 1994 05:06:43 +0000 (05:06 +0000)]
.

29 years agomerge with 3.9s
Jim Meyering [Thu, 27 Oct 1994 13:44:07 +0000 (13:44 +0000)]
merge with 3.9s

29 years ago(re_comp, re_exec): Define this obsolete 4.2bsd
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.

29 years ago.
Jim Meyering [Fri, 21 Oct 1994 13:37:48 +0000 (13:37 +0000)]
.

29 years agomerge with 3.9p
Jim Meyering [Thu, 20 Oct 1994 16:16:54 +0000 (16:16 +0000)]
merge with 3.9p

29 years agoInitial revision
Jim Meyering [Thu, 20 Oct 1994 16:10:00 +0000 (16:10 +0000)]
Initial revision

29 years ago.
Jim Meyering [Thu, 20 Oct 1994 15:29:38 +0000 (15:29 +0000)]
.

29 years agomerge with 1.9.1h
Jim Meyering [Wed, 19 Oct 1994 03:39:42 +0000 (03:39 +0000)]
merge with 1.9.1h

29 years ago(exactn): Initializer deleted.
Karl Heuer [Tue, 18 Oct 1994 03:48:00 +0000 (03:48 +0000)]
(exactn): Initializer deleted.

29 years ago(RE_EXACTN_VALUE): Deleted; Emacs doesn't need this kludge anymore.
Karl Heuer [Tue, 18 Oct 1994 03:47:42 +0000 (03:47 +0000)]
(RE_EXACTN_VALUE): Deleted; Emacs doesn't need this kludge anymore.

29 years ago.
Jim Meyering [Mon, 17 Oct 1994 14:01:44 +0000 (14:01 +0000)]
.

29 years ago.
Jim Meyering [Mon, 17 Oct 1994 13:24:35 +0000 (13:24 +0000)]
.

29 years ago.
Jim Meyering [Sun, 9 Oct 1994 05:24:31 +0000 (05:24 +0000)]
.

29 years ago.
Jim Meyering [Sat, 8 Oct 1994 16:38:01 +0000 (16:38 +0000)]
.

29 years ago.
Jim Meyering [Sat, 8 Oct 1994 14:52:10 +0000 (14:52 +0000)]
.

29 years agomerge with 3.9i
Jim Meyering [Sat, 8 Oct 1994 02:43:00 +0000 (02:43 +0000)]
merge with 3.9i

29 years ago.
Jim Meyering [Sat, 8 Oct 1994 02:04:47 +0000 (02:04 +0000)]
.

29 years ago.
Jim Meyering [Sat, 8 Oct 1994 00:56:50 +0000 (00:56 +0000)]
.

29 years agomerge with 1.10q
Jim Meyering [Sat, 8 Oct 1994 00:41:11 +0000 (00:41 +0000)]
merge with 1.10q

29 years ago.
Jim Meyering [Fri, 7 Oct 1994 01:19:51 +0000 (01:19 +0000)]
.

29 years ago.
Jim Meyering [Mon, 3 Oct 1994 03:01:34 +0000 (03:01 +0000)]
.

29 years agomerge with 1.9.1g
Jim Meyering [Sun, 2 Oct 1994 23:01:16 +0000 (23:01 +0000)]
merge with 1.9.1g

29 years agoInitial revision
Jim Meyering [Sun, 2 Oct 1994 22:50:11 +0000 (22:50 +0000)]
Initial revision

29 years agomerge with 3.9h
Jim Meyering [Sun, 2 Oct 1994 05:43:03 +0000 (05:43 +0000)]
merge with 3.9h

29 years agoInitial revision
Jim Meyering [Sun, 2 Oct 1994 05:35:52 +0000 (05:35 +0000)]
Initial revision

29 years ago.
Jim Meyering [Sun, 2 Oct 1994 02:09:38 +0000 (02:09 +0000)]
.

29 years agoComment change.
Richard Stallman [Sat, 1 Oct 1994 09:07:05 +0000 (09:07 +0000)]
Comment change.

29 years ago(compile_range): When casting to const unsigned char *, put const first.
Richard Stallman [Sat, 1 Oct 1994 09:06:07 +0000 (09:06 +0000)]
(compile_range): When casting to const unsigned char *, put const first.

29 years agomerge with 1.10n5
Jim Meyering [Sat, 1 Oct 1994 04:48:44 +0000 (04:48 +0000)]
merge with 1.10n5

29 years agomerge with 1.10n4
Jim Meyering [Sat, 1 Oct 1994 04:37:35 +0000 (04:37 +0000)]
merge with 1.10n4

29 years agoremove ansidecl junk
Jim Meyering [Wed, 28 Sep 1994 01:19:14 +0000 (01:19 +0000)]
remove ansidecl junk

29 years agomerge with 1.10n2
Jim Meyering [Tue, 27 Sep 1994 22:02:08 +0000 (22:02 +0000)]
merge with 1.10n2

29 years agomerge with 1.10n1
Jim Meyering [Tue, 27 Sep 1994 20:52:18 +0000 (20:52 +0000)]
merge with 1.10n1

29 years agoremove CONFIG_BROKETS
David J. MacKenzie [Mon, 26 Sep 1994 21:59:04 +0000 (21:59 +0000)]
remove CONFIG_BROKETS

29 years agomerge with 1.10n
Jim Meyering [Sun, 25 Sep 1994 03:12:51 +0000 (03:12 +0000)]
merge with 1.10n

29 years ago.
Jim Meyering [Sun, 25 Sep 1994 01:25:18 +0000 (01:25 +0000)]
.

29 years agomerge with 1.10m
Jim Meyering [Sat, 24 Sep 1994 19:12:57 +0000 (19:12 +0000)]
merge with 1.10m

29 years agomerge with 1.10j
Jim Meyering [Sat, 17 Sep 1994 02:47:05 +0000 (02:47 +0000)]
merge with 1.10j

29 years agomerge with 1.10i
Jim Meyering [Thu, 8 Sep 1994 04:48:47 +0000 (04:48 +0000)]
merge with 1.10i

29 years ago.
Jim Meyering [Sat, 3 Sep 1994 04:27:02 +0000 (04:27 +0000)]
.

29 years agomerge with 1.10h
Jim Meyering [Thu, 1 Sep 1994 23:20:39 +0000 (23:20 +0000)]
merge with 1.10h

29 years ago.
Jim Meyering [Sat, 27 Aug 1994 21:34:13 +0000 (21:34 +0000)]
.

29 years ago.
Jim Meyering [Sat, 27 Aug 1994 21:23:07 +0000 (21:23 +0000)]
.

29 years ago.
Jim Meyering [Sat, 27 Aug 1994 20:55:59 +0000 (20:55 +0000)]
.

29 years agomerge with 1.10g
Jim Meyering [Fri, 19 Aug 1994 22:42:32 +0000 (22:42 +0000)]
merge with 1.10g

29 years ago.
Jim Meyering [Fri, 19 Aug 1994 17:05:18 +0000 (17:05 +0000)]
.

29 years ago.
Jim Meyering [Fri, 19 Aug 1994 17:01:45 +0000 (17:01 +0000)]
.

29 years ago.
Jim Meyering [Fri, 19 Aug 1994 13:50:42 +0000 (13:50 +0000)]
.

29 years ago.
Jim Meyering [Fri, 19 Aug 1994 13:13:48 +0000 (13:13 +0000)]
.

29 years ago(regex_compile): Split an if to avoid compiler bug.
Richard Stallman [Wed, 17 Aug 1994 23:13:50 +0000 (23:13 +0000)]
(regex_compile): Split an if to avoid compiler bug.

(re_match_2_internal): Use separate if to compute bestmatch_p.

29 years ago(compile_range): Avoid warning in casts for range_start/end.
Richard Stallman [Sun, 31 Jul 1994 20:59:32 +0000 (20:59 +0000)]
(compile_range): Avoid warning in casts for range_start/end.

29 years ago.
Jim Meyering [Sat, 30 Jul 1994 13:18:39 +0000 (13:18 +0000)]
.

29 years agoUse SAFE_STAT instead of stat to avoid unnecessary failure
Jim Meyering [Sat, 30 Jul 1994 13:13:52 +0000 (13:13 +0000)]
Use SAFE_STAT instead of stat to avoid unnecessary failure
on systems for which stat can return EINTR.

29 years ago.
Jim Meyering [Sat, 30 Jul 1994 13:12:40 +0000 (13:12 +0000)]
.

29 years ago.
Jim Meyering [Sat, 30 Jul 1994 12:10:53 +0000 (12:10 +0000)]
.

29 years ago.
Jim Meyering [Sat, 30 Jul 1994 12:05:32 +0000 (12:05 +0000)]
.

29 years agomerge with 1.10f
Jim Meyering [Tue, 26 Jul 1994 04:06:26 +0000 (04:06 +0000)]
merge with 1.10f

29 years ago. ss-940725-22h45
Jim Meyering [Sat, 23 Jul 1994 04:42:46 +0000 (04:42 +0000)]
.