gnulib.git
24 years ago. SH-UTILS-2_0g
Jim Meyering [Sat, 25 Mar 2000 18:33:17 +0000 (18:33 +0000)]
.

24 years agoback out last change
Jim Meyering [Sat, 25 Mar 2000 18:26:47 +0000 (18:26 +0000)]
back out last change

24 years ago*** empty log message ***
Jim Meyering [Fri, 24 Mar 2000 09:07:18 +0000 (09:07 +0000)]
*** empty log message ***

24 years ago(jm_MACROS): Invoke `AC_CONFIG_AUX_DIR(.)' to work
Jim Meyering [Fri, 24 Mar 2000 09:07:12 +0000 (09:07 +0000)]
(jm_MACROS): Invoke `AC_CONFIG_AUX_DIR(.)' to work
around bug that made cvs-automake complain it couldn't find lib/depcomp.

24 years ago.
Jim Meyering [Fri, 24 Mar 2000 08:50:13 +0000 (08:50 +0000)]
.

24 years ago.
Jim Meyering [Fri, 24 Mar 2000 06:40:29 +0000 (06:40 +0000)]
.

24 years agoOutput a line containing "Packages using this file".
Jim Meyering [Fri, 24 Mar 2000 06:40:23 +0000 (06:40 +0000)]
Output a line containing "Packages using this file".

24 years ago*** empty log message ***
Jim Meyering [Fri, 24 Mar 2000 06:39:01 +0000 (06:39 +0000)]
*** empty log message ***

24 years ago(EXTRA_DIST): Add ref-add.sed.in and ref-del.sed.in.
Jim Meyering [Fri, 24 Mar 2000 05:54:46 +0000 (05:54 +0000)]
(EXTRA_DIST): Add ref-add.sed.in and ref-del.sed.in.
(charset_alias): Define.
(install-exec-local): Factor out common code.
(uninstall-local): Split lines longer than 80.
(ref-add.sed, ref-del.sed): Remove rules... (do the following instead)
(SUFFIXES): Define.
(.sed.in.sed): New rule.  Don't redirect directly to $@.
(CLEANFILES): Add ref-add.sed and ref-del.sed.

24 years ago(install-exec-local, uninstall-local, ref-add.sed, ref-del.sed): New rules.
Jim Meyering [Fri, 24 Mar 2000 05:46:01 +0000 (05:46 +0000)]
(install-exec-local, uninstall-local, ref-add.sed, ref-del.sed): New rules.
From Bruno.

24 years ago(enum syntaxcode): Provide default for non-Emacs.
Stefan Monnier [Thu, 23 Mar 2000 04:36:14 +0000 (04:36 +0000)]
(enum syntaxcode): Provide default for non-Emacs.
(re_compile_fastmap, re_match_2_internal): Undo Dave's previous fix.

24 years ago*** empty log message ***
Jim Meyering [Wed, 22 Mar 2000 21:46:50 +0000 (21:46 +0000)]
*** empty log message ***

24 years ago(re_compile_fastmap, re_match_2_internal): Fix cast to re_opcode_t.
Dave Love [Wed, 22 Mar 2000 14:25:38 +0000 (14:25 +0000)]
(re_compile_fastmap, re_match_2_internal): Fix cast to re_opcode_t.

24 years ago(CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default
Stefan Monnier [Wed, 22 Mar 2000 04:17:32 +0000 (04:17 +0000)]
(CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default
definitions for non-Emacs compilation.
(enum re_opcode_t): Remove (not)wordchar and move (not)syntaxspec
outside of `#ifdef emacs'.
(print_partial_compiled_pattern): Update.
(regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar.
(re_compile_fastmap): Merge handling of charset and charset_not (for
emacs and non-emacs compilation as well).
Similarly for (not)categoryspec and (not)syntaxspec.
Don't use the fastmap when reaching `anychar' since the added
complexity is not justified.
(re_match_2_internal): Merge (not)wordchar (emacs and non-emacs)
and (not)syntaxspec.  Merge (not)categoryspec.

24 years ago(RE_STRING_CHAR): New macro.
Stefan Monnier [Sun, 19 Mar 2000 23:22:06 +0000 (23:22 +0000)]
(RE_STRING_CHAR): New macro.
(GET_CHAR_AFER_2): Remove.
(RE_TRANSLATE, RE_TRANSLATE_P): New macros moved from regex.h.
(enum re_opcode_t): Remove on_failure_jump_exclusive.
(print_partial_compiled_pattern, re_compile_fastmap)
(re_match_2_internal): Remove on_failure_jump_exclusive.
(regex_compile): Turn optimizable P+ loops into PP*, so that the
optimization only need to work for * (ie. can use of_keep_string_jump).
Remove the special case for .*\n since it is now covered by the general
optimization.
(re_search_2): Don't bother with `room'.
(skip_one_char): New function.
(skip_noops): Simplify since `memory' is not needed any more.
(mutually_exclusive_p): Restructure slightly to use `switch' and
add handling for "all" remaining cases.
(re_match_2_internal): Change on_failure_jump_smart to use
on_failure_keep_string_jump (and redirect the end-of-loop jump)
rather than on_failure_jump_exclusive.

24 years ago(RE_TRANSLATE. RE_TRANSLATE_P): Moved to regex.c.
Stefan Monnier [Sun, 19 Mar 2000 23:21:42 +0000 (23:21 +0000)]
(RE_TRANSLATE. RE_TRANSLATE_P): Moved to regex.c.

24 years ago.
Jim Meyering [Fri, 17 Mar 2000 21:26:31 +0000 (21:26 +0000)]
.

24 years ago(<string.h>): Include only #if HAVE_STRING_H.
Jim Meyering [Fri, 17 Mar 2000 19:34:16 +0000 (19:34 +0000)]
(<string.h>): Include only #if HAVE_STRING_H.
Otherwise, include <strings.h>

24 years ago(utf8_wctomb): New function.
Jim Meyering [Fri, 17 Mar 2000 19:32:27 +0000 (19:32 +0000)]
(utf8_wctomb): New function.
(print_unicode_char): Pass the Unicode character to iconv in UTF-8
format instead of in UCS-4 with platform dependent endianness.

24 years ago(re_match_2): Fix string shortening (to fit `stop') to make sure
Stefan Monnier [Thu, 16 Mar 2000 02:53:38 +0000 (02:53 +0000)]
(re_match_2): Fix string shortening (to fit `stop') to make sure
POINTER_TO_OFFSET gives the same value before and after PREFETCH.
Use `dfail' to guarantee "atomic" matching.
(PTR_TO_OFFSET): Use POINTER_TO_OFFSET.
(debug): Now only active if > 0 rather than if != 0.
(DEBUG_*): Update for the new meaning of `debug'.
(print_partial_compiled_pattern): Add missing `succeed' case.
Use CHARSET_* macros in the charset(_not) branch.
Fix off-by-two bugs in `succeed_n', `jump_n' and `set_number_at'.
(store_op1, store_op2, insert_op1, insert_op2)
(at_begline_loc_p, at_endline_loc_p): Add prototype.
(group_in_compile_stack): Move to after its arg's types are declared
and add a prototype.
(PATFETCH): Define in terms of PATFETCH_RAW.
(GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' wrapper.
(QUIT): Redefine as a nop except for NTemacs.
(regex_compile): Handle intervals {,M} as if it was {0,M}.
Fix indentation of the greedy-op and shy-group code.
(at_(beg|end)line_loc_p): Fix argument's types.
(re_compile_fastmap): Ifdef out failure_stack_ptr to shut up gcc.
(re_search_2): Use POS_AS_IN_BUFFER.  Simplify `room' computation.
(MATCHING_IN_FIRST_STRING): Remove.
(re_match_2): Use POS_AS_IN_BUFFER.
Ifdef out failure_stack_ptr to shut up gcc.
Use FIRST_STRING_P and POINTER_TO_OFFSET.
Use QUIT unconditionally.

24 years ago* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier [Tue, 14 Mar 2000 00:27:57 +0000 (00:27 +0000)]
* regex.c: Declare a new type `re_char' used throughout the code for the
string char type.  It's `const unsigned char' to match the rest of Emacs.
Consistently make sure all pointers to strings use it and make sure all
pointers into the pattern use `unsigned char'.
(re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of
GET_CHAR_AFTER_2.
Also merge wordbound and notwordbound to reduce code duplication.
* charset.h (GET_CHAR_AFTER_2): Remove.
(GET_CHAR_BEFORE_2): Use unsigned chars, like everywhere else.

24 years ago*** empty log message ***
Jim Meyering [Fri, 10 Mar 2000 11:40:29 +0000 (11:40 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 10 Mar 2000 09:09:08 +0000 (09:09 +0000)]
*** empty log message ***

24 years agoLook for getspnam in -lgen, too.
Jim Meyering [Fri, 10 Mar 2000 09:08:53 +0000 (09:08 +0000)]
Look for getspnam in -lgen, too.

24 years agoThis is a big redesign of failure-stack and register handling, prompted
Stefan Monnier [Wed, 8 Mar 2000 23:25:41 +0000 (23:25 +0000)]
This is a big redesign of failure-stack and register handling, prompted
by bugs revealed when trying to add shy-groups.  Overall, what happened
is that loops are now structured a little differently, groups can be
shy and the code is a little simpler.

(enum re_opcode_t): Remove jump_past_alt, maybe_pop_jump,
push_dummy_failure and dumy_failure_jump.
Add on_failure_jump_(exclusive, loop and smart).
Also fix the comment for (start|stop)_memory since they now only take
one argument (the second has becomes unnecessary).
(print_partial_compiled_pattern): Adjust for changes in re_opcode_t.
(print_compiled_pattern): Use %ld to printf long ints and flush to make
debugging a little easier.
(union fail_stack_elt): Make the integer unsigned.
(struct fail_stack_type): Add a `frame' element.
(INIT_FAIL_STACK): Init `frame' as well.
(POP_PATTERN_OP): New macro for re_compile_fastmap.
(DEBUG_PUSH, DEBUG_POP): Remove.
(NUM_REG_ITEMS): Remove.
(NUM_NONREG_ITEMS): Adjust.
(FAILURE_PAT, FAILURE_STR, NEXT_FAILURE_HANDLE, TOP_FAILURE_HANDLE):
New macros for the cycle detection.
(ENSURE_FAIL_STACK): New macro for PUSH_FAILURE_(REG|POINT).
(PUSH_FAILURE_REG, POP_FAILURE_REG, CHECK_INFINITE_LOOP): New macros.
(PUSH_FAILURE_POINT): Don't push registers any more.
The pattern address pushed is not the destination of the jump
but the source of it instead.
(NUM_FAILURE_ITEMS): Remove.
(POP_FAILURE_POINT): Adapt to the new stack structure (i.e. pop
registers before the actual failure point).
Don't hardcode any meaning for str==NULL anymore.
(union register_info_type, REG_MATCH_NULL_STRING_P, IS_ACTIVE)
(MATCHED_SOMETHING, EVER_MATCHED_SOMETHING, SET_REGS_MATCHED): Remove.
(REG_UNSET_VALUE): Use NULL (why not?).
(compile_range): Remove declaration since it doesn't exist.
(struct compile_stack_elt_t): Remove inner_group_offset.
(old_reg(start|end), reg_info, reg_dummy, reg_info_dummy): Remove.
(regex_grow_registers): Remove dead code.
(FIXUP_ALT_JUMP): New macro.
(regex_compile): Add shy-groups
Change loops to use on_failure_jump_smart&jump instead of
on_failure_jump&maybe_pop_jump.
Change + loops to eliminate the initial (dummy_failure_)jump.
Remove c1_base (looks like unused variable to me).
Use `jump' instead of `jump_past_alt' and don't bother with
push_dummy_failure in alternatives since it is now unnecessary.
Use FIXUP_ALT_JUMP.
Eliminate a useless `#ifdef emacs' for (re)allocating the stack.
(re_compile_fastmap): Remove dead variables i and num_regs.
Exit from loop when bufp->can_be_null rather than jumping to `done'.
Avoid jumping backwards so as to ensure termination.
Use PATTERN_STACK_EMPTY and POP_PATTERN_OP.
Improved handling of backreferences.
Remove dead code in handling of `anychar'.
(skip_noops, mutually_exclusive_p): New functions taken from the
handling of `maybe_pop_jump' in re_match_2_internal.
Slightly improve mutually_exclusive_p to handle ".+\n".
((lowest|highest)_active_reg, NO_(LOWEST|HIGHEST)_ACTIVE_REG)
Remove.
(re_match_2_internal): Use %p instead of 0x%x when printf'ing ptrs.
Don't SET_REGS_MATCHED anymore.  Remove many dead variables.
Push register (in `start_memory') on the stack rather than storing it
in old_reg(start|end).
Remove the cycle detection from `stop_memory', replaced by the use
of on_failure_jump_loop for greedy loops.
Add code for the new on_failure_jump_<foo>.
Remove ad-hoc code in `on_failure_jump' to push more registers
in the case of a loop.
Take out code from `maybe_pop_jump' into separate functions and
adapt it to the semantics of `on_failure_jump_smart'.
Remove jump_past_alt, dummy_failure_jump and push_dummy_failure.
Remove dummy_failure handling and handling of `failures to jump
to on_failure_jump' (this last one was already dead code, it seems).
((group|alt|common_op)_match_null_string_p): Remove.

24 years agoUpdate the copyright.
Stefan Monnier [Wed, 8 Mar 2000 23:24:54 +0000 (23:24 +0000)]
Update the copyright.
(RE_SHY_GROUPS): New value.
(RE_UNMATCHED_RIGHT_PAREN_ORD): Renumber.
(RE_SYNTAX_EMACS): Add RE_SHY_GROUPS.

24 years ago*** empty log message ***
Jim Meyering [Wed, 8 Mar 2000 14:50:11 +0000 (14:50 +0000)]
*** empty log message ***

24 years ago(savedir): Work even if directory size is
Jim Meyering [Wed, 8 Mar 2000 14:50:05 +0000 (14:50 +0000)]
(savedir): Work even if directory size is
negative; this can happen with some screwy NFS configurations.

24 years agotweak indentation
Jim Meyering [Tue, 7 Mar 2000 20:06:03 +0000 (20:06 +0000)]
tweak indentation

24 years ago(get_charset_aliases): Don't try to free file_name
Jim Meyering [Mon, 6 Mar 2000 11:19:23 +0000 (11:19 +0000)]
(get_charset_aliases): Don't try to free file_name
if it's NULL (because we ran out of memory).  From Bruno Haible.

24 years ago*** empty log message *** TEXTUTILS-2_0e
Jim Meyering [Sun, 5 Mar 2000 10:27:29 +0000 (10:27 +0000)]
*** empty log message ***

24 years ago("path-concat.h"): Include.
Jim Meyering [Sun, 5 Mar 2000 10:27:22 +0000 (10:27 +0000)]
("path-concat.h"): Include.
(get_charset_aliases): Use path_concat instead of ANSI string
concatenation.

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Mar 2000 10:22:03 +0000 (10:22 +0000)]
*** empty log message ***

24 years ago(PARAMS): Define.
Jim Meyering [Sun, 5 Mar 2000 10:21:58 +0000 (10:21 +0000)]
(PARAMS): Define.
Use it to guard prototype.

24 years ago.
Jim Meyering [Sun, 5 Mar 2000 06:53:08 +0000 (06:53 +0000)]
.

24 years ago.
Jim Meyering [Sat, 4 Mar 2000 21:14:51 +0000 (21:14 +0000)]
.

24 years ago(uninstall-local): Uncomment this rule so `make distcheck' works once again.
Jim Meyering [Sat, 4 Mar 2000 21:10:21 +0000 (21:10 +0000)]
(uninstall-local): Uncomment this rule so `make distcheck' works once again.

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Mar 2000 20:15:07 +0000 (20:15 +0000)]
*** empty log message ***

24 years ago(install-exec-local): Create $(libdir) before installing into it.
Jim Meyering [Sat, 4 Mar 2000 20:15:03 +0000 (20:15 +0000)]
(install-exec-local): Create $(libdir) before installing into it.

24 years ago.
Jim Meyering [Sat, 4 Mar 2000 12:53:29 +0000 (12:53 +0000)]
.

24 years ago(<errno.h>): Include it.
Jim Meyering [Sat, 4 Mar 2000 12:35:47 +0000 (12:35 +0000)]
(<errno.h>): Include it.
(errno): Declare if not defined.

24 years ago.
Jim Meyering [Sat, 4 Mar 2000 12:22:47 +0000 (12:22 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Mar 2000 12:19:57 +0000 (12:19 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Mar 2000 08:11:22 +0000 (08:11 +0000)]
*** empty log message ***

24 years ago(jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE, for lib/localcharset.c.
Jim Meyering [Sat, 4 Mar 2000 08:11:18 +0000 (08:11 +0000)]
(jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE, for lib/localcharset.c.

24 years agoAdd Bruno's comment justifying use of volatile.
Jim Meyering [Sat, 4 Mar 2000 07:57:35 +0000 (07:57 +0000)]
Add Bruno's comment justifying use of volatile.

24 years agoNew version, incorporating remarks from a linux
Jim Meyering [Sat, 4 Mar 2000 07:53:33 +0000 (07:53 +0000)]
New version, incorporating remarks from a linux
i18n mailing list.  From Bruno Haible.

24 years ago.
Jim Meyering [Fri, 3 Mar 2000 12:28:28 +0000 (12:28 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Fri, 3 Mar 2000 12:24:11 +0000 (12:24 +0000)]
*** empty log message ***

24 years agoMake sure re_compile_pattern accepts patterns like `{1'.
Jim Meyering [Fri, 3 Mar 2000 12:23:47 +0000 (12:23 +0000)]
Make sure re_compile_pattern accepts patterns like `{1'.

24 years ago.
Jim Meyering [Fri, 3 Mar 2000 08:25:13 +0000 (08:25 +0000)]
.

24 years ago(EXTRA_DIST): Add config.charset.
Jim Meyering [Thu, 2 Mar 2000 15:28:23 +0000 (15:28 +0000)]
(EXTRA_DIST): Add config.charset.

24 years ago*** empty log message ***
Jim Meyering [Thu, 2 Mar 2000 09:44:56 +0000 (09:44 +0000)]
*** empty log message ***

24 years agoRequire AC_HEADER_TIME before the cache check so
Jim Meyering [Thu, 2 Mar 2000 09:44:43 +0000 (09:44 +0000)]
Require AC_HEADER_TIME before the cache check so
the messages come out on separate lines.

24 years ago*** empty log message ***
Jim Meyering [Thu, 2 Mar 2000 09:09:08 +0000 (09:09 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Thu, 2 Mar 2000 09:09:02 +0000 (09:09 +0000)]
.

24 years ago(jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS, rather than jm_CHECK_DECLARATIONS.
Jim Meyering [Thu, 2 Mar 2000 09:08:32 +0000 (09:08 +0000)]
(jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS, rather than jm_CHECK_DECLARATIONS.

24 years ago*** empty log message ***
Jim Meyering [Thu, 2 Mar 2000 09:05:33 +0000 (09:05 +0000)]
*** empty log message ***

24 years ago(AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
Jim Meyering [Thu, 2 Mar 2000 09:05:28 +0000 (09:05 +0000)]
(AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.

24 years ago(DEFS): Add -DLIBDIR=...
Jim Meyering [Wed, 1 Mar 2000 13:26:04 +0000 (13:26 +0000)]
(DEFS): Add -DLIBDIR=...
(libfetish_a_SOURCES): Add localcharset.c and unicodeio.c.
(noinst_HEADERS): Add unicodeio.h.
(all-local, install-exec-local, charset.alias): New targets.

24 years ago*** empty log message ***
Jim Meyering [Wed, 1 Mar 2000 13:23:53 +0000 (13:23 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 1 Mar 2000 13:23:47 +0000 (13:23 +0000)]
*** empty log message ***

24 years agoNew file from Bruno.
Jim Meyering [Wed, 1 Mar 2000 13:23:41 +0000 (13:23 +0000)]
New file from Bruno.

24 years agoNew file from Bruno.
Jim Meyering [Wed, 1 Mar 2000 13:22:57 +0000 (13:22 +0000)]
New file from Bruno.
filter through cppi

24 years agoNew file from Bruno.
Jim Meyering [Wed, 1 Mar 2000 13:22:35 +0000 (13:22 +0000)]
New file from Bruno.
One portability tweak:
guard inclusion of stddef.h.

24 years agoGuard some #includes with `#if HAVE_...'.
Jim Meyering [Wed, 1 Mar 2000 13:21:23 +0000 (13:21 +0000)]
Guard some #includes with `#if HAVE_...'.

24 years agonew file, from Bruno
Jim Meyering [Wed, 1 Mar 2000 13:11:05 +0000 (13:11 +0000)]
new file, from Bruno

24 years ago.
Jim Meyering [Wed, 1 Mar 2000 12:49:12 +0000 (12:49 +0000)]
.

24 years ago.
Jim Meyering [Wed, 1 Mar 2000 12:27:54 +0000 (12:27 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Mon, 28 Feb 2000 20:45:33 +0000 (20:45 +0000)]
*** empty log message ***

24 years ago(ALERT_CHAR): New macro.
Jim Meyering [Mon, 28 Feb 2000 20:45:28 +0000 (20:45 +0000)]
(ALERT_CHAR): New macro.
(quotearg_buffer_restyled): Use it.

24 years ago. FILEUTILS-4_0q
Jim Meyering [Sun, 27 Feb 2000 19:05:50 +0000 (19:05 +0000)]
.

24 years agoFix typo in decl of strtoul: s/long long/long/.
Jim Meyering [Sun, 27 Feb 2000 18:49:10 +0000 (18:49 +0000)]
Fix typo in decl of strtoul: s/long long/long/.
Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'.

24 years agoFix typo in decl of strtoul: s/long long/long/.
Jim Meyering [Sun, 27 Feb 2000 18:45:29 +0000 (18:45 +0000)]
Fix typo in decl of strtoul: s/long long/long/.

24 years ago*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 18:04:10 +0000 (18:04 +0000)]
*** empty log message ***

24 years agoGuard inclusion of stdlib.h with `#if HAVE_STDLIB_H', not `#if STDC_HEADERS'.
Jim Meyering [Sun, 27 Feb 2000 18:04:00 +0000 (18:04 +0000)]
Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H', not `#if STDC_HEADERS'.
Declare malloc if needed.

24 years agouse double quotes, not single quotes around syntax-error-evoking string
Jim Meyering [Sun, 27 Feb 2000 17:54:25 +0000 (17:54 +0000)]
use double quotes, not single quotes around syntax-error-evoking string

24 years ago*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 17:53:36 +0000 (17:53 +0000)]
*** empty log message ***

24 years agoAdd getenv to the list.
Jim Meyering [Sun, 27 Feb 2000 17:53:31 +0000 (17:53 +0000)]
Add getenv to the list.

24 years ago*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 17:42:30 +0000 (17:42 +0000)]
*** empty log message ***

24 years agoArrange for cpp to fail if the configure-time
Jim Meyering [Sun, 27 Feb 2000 17:40:53 +0000 (17:40 +0000)]
Arrange for cpp to fail if the configure-time
declaration check was not run.

24 years agoUse `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
Jim Meyering [Sun, 27 Feb 2000 17:39:52 +0000 (17:39 +0000)]
Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
now that autoconf always defines the HAVE_DECL_ symbols.

Arrange for cpp to fail if the configure-time
declaration check was not run.

24 years agoPut cedilla on `c' in author's name.
Jim Meyering [Sun, 27 Feb 2000 13:58:12 +0000 (13:58 +0000)]
Put cedilla on `c' in author's name.

24 years ago*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 11:27:38 +0000 (11:27 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sun, 27 Feb 2000 11:23:22 +0000 (11:23 +0000)]
.

24 years ago(parse_user_spec): If there is no `:' but there is a `.',
Jim Meyering [Sun, 27 Feb 2000 11:13:16 +0000 (11:13 +0000)]
(parse_user_spec): If there is no `:' but there is a `.',
then first look up the entire `.'-containing string as a login name.

24 years agowhoops. Add commas in parenthesized list of functions in call
Jim Meyering [Sat, 26 Feb 2000 21:28:10 +0000 (21:28 +0000)]
whoops.  Add commas in parenthesized list of functions in call
to AC_CHECK_DECLS.

24 years ago*** empty log message ***
Jim Meyering [Wed, 23 Feb 2000 15:24:57 +0000 (15:24 +0000)]
*** empty log message ***

24 years agoNow that we have the new AC_CHECK_DECLS, use it in place of my hack.
Jim Meyering [Wed, 23 Feb 2000 15:24:51 +0000 (15:24 +0000)]
Now that we have the new AC_CHECK_DECLS, use it in place of my hack.

24 years agoHandle two-digit years with leading zeros correctly.
Jim Meyering [Tue, 22 Feb 2000 20:16:07 +0000 (20:16 +0000)]
Handle two-digit years with leading zeros correctly.
(textint): New typedef.
(parser_control): Member year changed from int to textint.
All uses changed.
(YYSTYPE): Removed; replaced by %union with int and textint members.
(tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN,
tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER,
tYEAR_UNIT, tZONE, o_merid): Now of type <intval>.
(tSNUMBER, tUNUMBER): Now of type <textintval>.
(date, number, to_year): Use width of number in digits, not its value,
to determine whether it's a 2-digit year, or a 2-digit time.
(yylex): Store number of digits of numeric tokens.
Reported by John Kendall.

(parser_control): Changed from struct parser_control to typedef (for
consistency).  All uses changed.

(tID): Removed; not used.
(yylex): Return '?' for unknown identifiers, rather than (unused) tID.

24 years ago*** empty log message ***
Jim Meyering [Tue, 15 Feb 2000 13:08:08 +0000 (13:08 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Mon, 14 Feb 2000 23:27:25 +0000 (23:27 +0000)]
.

24 years agoadapted from changes to grep getpagesize.h
Jim Meyering [Mon, 14 Feb 2000 20:15:32 +0000 (20:15 +0000)]
adapted from changes to grep getpagesize.h
by Martin P.J. Zinser <zinser@decus.de>.

24 years ago* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier [Mon, 14 Feb 2000 17:00:16 +0000 (17:00 +0000)]
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
to Emacs' syntax.  Also fix the comment about set/not-set meanings
since Emacs syntax is not the value 0 any more.
* search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax
since it's now part of RE_SYNTAX_EMACS.

24 years ago*** empty log message ***
Jim Meyering [Sat, 12 Feb 2000 10:42:19 +0000 (10:42 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 12 Feb 2000 10:41:48 +0000 (10:41 +0000)]
*** empty log message ***

24 years ago<libintl.h>: Include.
Jim Meyering [Sat, 12 Feb 2000 10:41:37 +0000 (10:41 +0000)]
<libintl.h>: Include.
(_ and N_): Define.
(parse_user_spec): Mark translatable strings.

24 years agoadd FIXME comments for use of atoi
Jim Meyering [Sat, 12 Feb 2000 10:11:54 +0000 (10:11 +0000)]
add FIXME comments for use of atoi

24 years ago(ISDIGIT): Define it.
Jim Meyering [Sat, 12 Feb 2000 10:10:40 +0000 (10:10 +0000)]
(ISDIGIT): Define it.
(isdigit): Remove definition.
(is_number): Use ISDIGIT, not isdigit.

24 years ago#undef nanosleep.
Jim Meyering [Thu, 10 Feb 2000 09:38:43 +0000 (09:38 +0000)]
#undef nanosleep.
(rpl_nanosleep): Rename from nanosleep.