Jim Meyering [Wed, 18 Oct 1995 14:31:14 +0000 (14:31 +0000)]
Merge latest change from FSF.
Jim Meyering [Wed, 18 Oct 1995 14:29:16 +0000 (14:29 +0000)]
Get latest from FSF.
Jim Meyering [Mon, 9 Oct 1995 03:48:08 +0000 (03:48 +0000)]
Indent cpp directives to reflect nesting.
Jim Meyering [Mon, 9 Oct 1995 03:46:41 +0000 (03:46 +0000)]
Modified from glibc copy.
Jim Meyering [Mon, 9 Oct 1995 03:42:11 +0000 (03:42 +0000)]
.
Jim Meyering [Thu, 5 Oct 1995 14:14:45 +0000 (14:14 +0000)]
(read_filesystem_list): Cast -1 to dev_t before assignment.
Jim Meyering [Sun, 1 Oct 1995 22:49:07 +0000 (22:49 +0000)]
Remove trailing whitespace.
Richard Stallman [Sun, 1 Oct 1995 20:17:02 +0000 (20:17 +0000)]
(re_search_2): Use 0, not -1, as the lower bound
for the match position when we adjust RANGE.
Jim Meyering [Sun, 1 Oct 1995 19:02:29 +0000 (19:02 +0000)]
(SOURCES): Add strtoul.
Jim Meyering [Sun, 1 Oct 1995 18:23:29 +0000 (18:23 +0000)]
(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]: Copy untruncated block
counts from f_spare array into proper members of struct statfs.
From Eirik Fuller (eirik@netapp.com);
Jim Meyering [Mon, 25 Sep 1995 04:14:36 +0000 (04:14 +0000)]
.
Jim Meyering [Sat, 23 Sep 1995 20:55:02 +0000 (20:55 +0000)]
[REL_ALLOC]: #ifdef-out dcls of unused variables.
Jim Meyering [Sat, 23 Sep 1995 20:28:39 +0000 (20:28 +0000)]
Merge in changes for ConvexOS 11.0.
Jim Meyering [Sat, 23 Sep 1995 20:28:10 +0000 (20:28 +0000)]
New version from FSF.
Jim Meyering [Tue, 19 Sep 1995 14:30:59 +0000 (14:30 +0000)]
.
Jim Meyering [Wed, 13 Sep 1995 13:15:35 +0000 (13:15 +0000)]
Fix typo in comment.
Richard Stallman [Fri, 1 Sep 1995 18:43:30 +0000 (18:43 +0000)]
(re_search_2): If pattern starts with \=, optimize search.
Richard Stallman [Tue, 22 Aug 1995 19:44:26 +0000 (19:44 +0000)]
(PUSH_FAILURE_POINT, POP_FAILURE_POINT): Don't push or pop
register values if POSIX backtracking is turned off.
(NUM_FAILURE_ITEMS): Value is 0 if no POSIX backtracking.
Jim Meyering [Wed, 9 Aug 1995 05:15:31 +0000 (05:15 +0000)]
Include config.h.
Define bcopy to memcpy if possible.
Jim Meyering [Wed, 9 Aug 1995 05:14:06 +0000 (05:14 +0000)]
Indent cpp directives.
Jim Meyering [Mon, 7 Aug 1995 22:21:03 +0000 (22:21 +0000)]
Declare xmalloc, xrealloc rather than including xalloc.h.
Jim Meyering [Mon, 7 Aug 1995 16:07:28 +0000 (16:07 +0000)]
Add FIXME comments.
Jim Meyering [Sat, 5 Aug 1995 03:13:16 +0000 (03:13 +0000)]
(isnumber): Rename to is_number.
(parse_user_spec): Rename uses, too.
Jim Meyering [Sat, 5 Aug 1995 03:08:09 +0000 (03:08 +0000)]
(SOURCES, OBJECTS, DISTFILES): Update for new files, save-cwd.[ch].
Jim Meyering [Fri, 4 Aug 1995 15:23:25 +0000 (15:23 +0000)]
.
Jim Meyering [Fri, 4 Aug 1995 15:15:24 +0000 (15:15 +0000)]
(SOURCES, OBJECTS, DISTFILES): Update for new files.
Jim Meyering [Fri, 4 Aug 1995 15:09:12 +0000 (15:09 +0000)]
.
Jim Meyering [Fri, 4 Aug 1995 14:30:19 +0000 (14:30 +0000)]
(_getopt_internal) [lint]: Initialize INDFOUND to
avoid warning from gcc.
Jim Meyering [Sun, 30 Jul 1995 18:42:09 +0000 (18:42 +0000)]
New version -- now derived from the line in libc.
Jim Meyering [Sun, 30 Jul 1995 05:30:04 +0000 (05:30 +0000)]
Get new copy from FSF.
Jim Meyering [Sun, 30 Jul 1995 05:12:30 +0000 (05:12 +0000)]
[memcpy]: Define to bcopy if needed.
(md5_buffer): Explicitely cast SWAP expressions to unsigned
to avoid warning.
Jim Meyering [Fri, 21 Jul 1995 04:48:03 +0000 (04:48 +0000)]
(md5_stream): Update prototype.
[__P]: Define macro.
Jim Meyering [Fri, 21 Jul 1995 04:46:50 +0000 (04:46 +0000)]
(md5_stream): Check for read failure and return
indication of success rather than second argument.
Jim Meyering [Thu, 20 Jul 1995 17:52:49 +0000 (17:52 +0000)]
.
Karl Heuer [Mon, 17 Jul 1995 23:24:57 +0000 (23:24 +0000)]
Fix conditional.
Richard Stallman [Fri, 7 Jul 1995 13:20:16 +0000 (13:20 +0000)]
Don't use relocatable allocator.
Jim Meyering [Sat, 24 Jun 1995 22:02:25 +0000 (22:02 +0000)]
merge with 1.12a
Richard Stallman [Tue, 20 Jun 1995 03:11:14 +0000 (03:11 +0000)]
Use `defined' to test HAVE_STRING_H and STDC_HEADERS.
Jim Meyering [Sun, 18 Jun 1995 19:33:31 +0000 (19:33 +0000)]
merge with 1.12
Jim Meyering [Thu, 15 Jun 1995 16:46:34 +0000 (16:46 +0000)]
merge with 1.11.5b
Jim Meyering [Thu, 15 Jun 1995 14:55:26 +0000 (14:55 +0000)]
Alloca fix for ConvexOS-11.0.
Jim Meyering [Thu, 15 Jun 1995 03:57:49 +0000 (03:57 +0000)]
Use void* alloca, not char*. The latter lost on convexOS.
Jim Meyering [Wed, 7 Jun 1995 18:10:17 +0000 (18:10 +0000)]
(Convert): Use 2037 as threshold, not 1999.
Otherwise years after 1999 are treated as invalid.
From Andreas Schwab.
Karl Heuer [Sat, 3 Jun 1995 17:32:10 +0000 (17:32 +0000)]
Undefined INHIBIT_STRING_HEADER when we have no
other way of getting a bcopy and a bzero.
Jim Meyering [Thu, 1 Jun 1995 14:12:57 +0000 (14:12 +0000)]
merge with 1.11.5
Karl Heuer [Mon, 29 May 1995 06:15:30 +0000 (06:15 +0000)]
(at_endline_loc_p): Use 0, not NULL, in ?: for next_next.
Jim Meyering [Sun, 28 May 1995 01:55:00 +0000 (01:55 +0000)]
merge with 1.11.4a
Karl Heuer [Fri, 26 May 1995 22:35:10 +0000 (22:35 +0000)]
(NULL): Use explicit cast.
Jim Meyering [Fri, 26 May 1995 15:08:55 +0000 (15:08 +0000)]
Remove trailing white space.
Jim Meyering [Mon, 22 May 1995 04:43:36 +0000 (04:43 +0000)]
(__strtol): Remove prototype altogether.
Move inclusion of xstrtol.h back so that it follows system headers.
Jim Meyering [Sun, 21 May 1995 12:27:46 +0000 (12:27 +0000)]
(install-exec, install-exec): New targets. From Karl Berry.
(maintainer-clean): Renamed from realclean per GNU Standards.
Jim Meyering [Sun, 21 May 1995 11:44:25 +0000 (11:44 +0000)]
merge with 1.11.1b
Jim Meyering [Sun, 21 May 1995 06:19:05 +0000 (06:19 +0000)]
[REGEX_FREE]: Use ((void)0) instead of just (0).
Roland McGrath [Sat, 20 May 1995 16:40:11 +0000 (16:40 +0000)]
Add `#ifdef _LIBC' in a few places, so this can be compiled in libc.
Jim Meyering [Sat, 20 May 1995 13:28:24 +0000 (13:28 +0000)]
merge with 1.11.1a
Jim Meyering [Fri, 19 May 1995 15:23:18 +0000 (15:23 +0000)]
No longer include safe-l?stat.h.
Roland McGrath [Wed, 17 May 1995 20:54:49 +0000 (20:54 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c
Roland McGrath [Wed, 17 May 1995 20:47:26 +0000 (20:47 +0000)]
[VMS]: Don't #include <stddef.h> if _POSIX_SOURCE or _POSIX_C_SOURCE is
defined.
Karl Heuer [Wed, 17 May 1995 20:29:52 +0000 (20:29 +0000)]
(re_compile_fastmap): Undo previous change.
(RESET_FAIL_STACK): New macro.
(re_compile_fastmap): Use RESET_FAIL_STACK, not REGEX_FREE_STACK
directly.
Richard Stallman [Mon, 15 May 1995 23:30:28 +0000 (23:30 +0000)]
(re_compile_fastmap): Don't free stack if it's empty.
(re_match_failures): Reduce the larger value to 200000,
and use whenever if MATCH_MAY_ALLOCATE.
(MATCH_MAY_ALLOCATE): Don't consider REL_ALLOC when deciding
whether to undef this.
Jim Meyering [Sat, 13 May 1995 13:55:56 +0000 (13:55 +0000)]
(maintainer-clean): Rename from realclean.
(.PHONY): New dependencies.
[.c.o]: Remove -I. since safe-l?stat.h is no longer used.
Jim Meyering [Sat, 13 May 1995 13:30:10 +0000 (13:30 +0000)]
(make_path): Use stat, not SAFE_STAT.
Use strchr, not index. Adjust defines accordingly.
Jim Meyering [Sat, 13 May 1995 13:25:42 +0000 (13:25 +0000)]
(parse_user_spec): Use strchr, not index.
[!HAVE_STRING_H]: Define strchr in terms of index, not the other way around.
Jim Meyering [Sat, 13 May 1995 13:20:19 +0000 (13:20 +0000)]
(rmdir): Use stat, not safe_stat.
Jim Meyering [Sat, 13 May 1995 13:19:07 +0000 (13:19 +0000)]
(rename): Use stat, not safe_stat.
(rename): Compare src and dest inode numbers rather than src
inode and dest *dev* when determining whether src and dest refer
to the same file. From marc@math.cornell.edu (Marc Parmet).
Jim Meyering [Sat, 13 May 1995 13:13:04 +0000 (13:13 +0000)]
(mkdir): Use stat, not safe_stat.
Jim Meyering [Sat, 13 May 1995 13:10:38 +0000 (13:10 +0000)]
Undef __P before defining.
Guard definition with simpler `#if __STDC__'.
Jim Meyering [Sat, 13 May 1995 13:07:54 +0000 (13:07 +0000)]
(isdir): Usage stat, not safe_stat.
Jim Meyering [Sat, 13 May 1995 13:06:46 +0000 (13:06 +0000)]
(statfs): Use stat, not safe_stat.
Jim Meyering [Sat, 13 May 1995 13:05:35 +0000 (13:05 +0000)]
(eaccess_stat): Make statp and path arguments const.
(euidaccess): Make statp argument const. Use stat, not safe_stat.
Jim Meyering [Sat, 13 May 1995 13:02:08 +0000 (13:02 +0000)]
Remove unnecessary definitions for r?index.
Update definitions for ISDIGIT.
Jim Meyering [Sat, 13 May 1995 12:57:46 +0000 (12:57 +0000)]
Remove safe-l?stat.[ch]in and related rules.
Jim Meyering [Sat, 13 May 1995 12:55:49 +0000 (12:55 +0000)]
(argmatch): Include sys/types.h and declare length argument with type size_t.
Jim Meyering [Sat, 13 May 1995 12:52:57 +0000 (12:52 +0000)]
(basename): Make arg const.
Jim Meyering [Wed, 10 May 1995 14:22:19 +0000 (14:22 +0000)]
merge with 1.11.g
Richard Stallman [Sat, 6 May 1995 20:14:52 +0000 (20:14 +0000)]
[! emacs]: #undef REL_ALLOC.
Richard Stallman [Tue, 2 May 1995 16:27:24 +0000 (16:27 +0000)]
(union fail_stack_elt): New union.
(fail_stack_elt_t): Use that union.
(PUSH_PATTERN_OP, PUSH_FAILURE_POINTER, PUSH_FAILURE_INT)
(POP_FAILURE_POINTER, POP_FAILURE_INT): Corresponding changes.
(re_compile_fastmap): Corresponding changes.
(PUSH_FAILURE_ELT): New macro.
(FAIL_STACK_TOP): Macro deleted.
(WIDE_INT): Macro deleted.
(PUSH_FAILURE_POINT): Use PUSH_FAILURE_ELT.
(POP_FAILURE_ELT): New macro.
(POP_FAILURE_POINT): Use POP_FAILURE_ELT.
Richard Stallman [Sat, 29 Apr 1995 20:21:41 +0000 (20:21 +0000)]
(PUSH_FAILURE_INT, POP_FAILURE_INT): Use WIDE_INT.
(WIDE_INT): Defined (two alternate definitions).
(C_ALLOCA): Undef it, if __GNUC__.
(REGEX_ALLOCATE_STACK, REGEX_REALLOCATE_STACK)
(REGEX_FREE_STACK): New macros.
(INIT_FAIL_STACK, DOUBLE_FAIL_STACK, FREE_VARIABLES): Use them.
(re_max_failures) [REL_ALLOC]: Alternative larger initial value.
(re_compile_fastmap): Use REGEX_FREE_STACK.
(re_match_2_internal): Always call FREE_VARIABLES before returning.
Always init regstart, old_regstart, etc. whenever MATCH_MAY_ALLOCATE
is defined.
(FREE_VARIABLES) [REL_ALLOC]: Define non-trivially.
Jim Meyering [Thu, 27 Apr 1995 17:04:23 +0000 (17:04 +0000)]
Use __-protected versions of `format' and `printf' only with gcc-2.7 and later.
Jim Meyering [Thu, 27 Apr 1995 06:06:46 +0000 (06:06 +0000)]
merge with 1.11.f
Jim Meyering [Thu, 27 Apr 1995 05:23:35 +0000 (05:23 +0000)]
(REGEX_FREE): Add back the `while (0)' hack
Put back ifdefs to protect unnecessary decl.
Jim Meyering [Thu, 27 Apr 1995 04:54:07 +0000 (04:54 +0000)]
Latest from RMS.
Jim Meyering [Wed, 26 Apr 1995 17:19:13 +0000 (17:19 +0000)]
(EMACS_INT): Define it to int. (BIG KLUDGE)
Jim Meyering [Wed, 26 Apr 1995 17:18:27 +0000 (17:18 +0000)]
(REGEX_FREE): Define to `while (0) /* empty */' rather than nothing.
Otherwise, some uses got warnings about empty if-clause.
Declare failure_stack_ptr only #ifdef REL_ALLOC.
Jim Meyering [Wed, 26 Apr 1995 17:02:38 +0000 (17:02 +0000)]
New version from FSF.
Jim Meyering [Mon, 24 Apr 1995 16:25:29 +0000 (16:25 +0000)]
Protect format and printf with __*__.
Jim Meyering [Sat, 22 Apr 1995 05:54:18 +0000 (05:54 +0000)]
Fix mostly per Franc,ois' suggestions.
Jim Meyering [Fri, 21 Apr 1995 17:29:15 +0000 (17:29 +0000)]
Update and add copyright.
Richard Stallman [Sun, 9 Apr 1995 19:14:40 +0000 (19:14 +0000)]
(re_match_2_internal): Eliminate cast of ptr to int.
(PUSH_FAILURE_ITEM, POP_FAILURE_ITEM): Macros deleted.
(PUSH_FAILURE_INT, POP_FAILURE_INT): New macros.
(PUSH_FAILURE_POINTER, POP_FAILURE_POINTER): New macros.
(re_match_2_internal): Rename label `succeed' to `succeed_label'.
Jim Meyering [Tue, 21 Mar 1995 01:43:35 +0000 (01:43 +0000)]
merge with 1.11.d
Jim Meyering [Mon, 20 Mar 1995 15:09:56 +0000 (15:09 +0000)]
sync from FSF
Jim Meyering [Mon, 20 Mar 1995 14:26:41 +0000 (14:26 +0000)]
.
Jim Meyering [Sun, 12 Mar 1995 18:21:38 +0000 (18:21 +0000)]
.
Jim Meyering [Sun, 12 Mar 1995 18:06:08 +0000 (18:06 +0000)]
Undef __P before defining it.
Jim Meyering [Sun, 12 Mar 1995 15:26:36 +0000 (15:26 +0000)]
Make source const.
Jim Meyering [Sun, 12 Mar 1995 15:26:09 +0000 (15:26 +0000)]
Update from glibc.
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.