Log

Author Commit Date CI Message
Jim Meyering 66dffb73 2000-09-09T07:20:54 *** empty log message ***
Jim Meyering 2bcfb3c5 2000-09-09T07:20:46 Don't use atoi. Include sys/param.h and limits.h. Include xstrtol.h. (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Define. (UID_T_MAX, GID_T_MAX, MAXUID, MAXGID): Define. (parse_user_spec): Use xstrtoul, not atoi when converting numeric UID, GID. Check range.
Jim Meyering c07f54b3 2000-09-06T20:04:17 *** empty log message ***
Jim Meyering 0e167051 2000-09-06T20:04:06 (_getopt_internal): Update from glibc.
Stefan Monnier af496701 2000-09-04T04:24:00 (WIDE_CHAR_SUPPORT): New macro. (btowc, iswctype, wctype) [_LIBC]: Redefine to __<fun>. (BIT_ALPHA, BIT_ALNUM, BIT_ASCII, BIT_NONASCII, BIT_GRAPH, BIT_PRINT) (BIT_UNIBYTE): Remove. (re_match_2_internal): Delete corresponding code and streamline the BIT_MULTIBYTE case to not bother checking ISUNIBYTE. (CHAR_CLASS_MAX_LENGTH) [!WIDE_CHAR_SUPPORT]: Set to 9 rather than 6. (re_wctype_t): New type. (re_wctype, re_iswctype, re_wctype_to_bit): New functions. (regex_compile): Use them and fix handling of overly long char classes.
Jim Meyering 2c09ae7f 2000-09-03T15:25:11 tweak comment
Stefan Monnier 0806807c 2000-08-31T17:19:13 * regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag. (struct re_pattern_buffer): Remove newline_anchor. * regex.c: Keep namespace clean for GNU libc by renaming <fun> to __<fun> and using `weak_alias (__<fun>, <fun>)'. (re_max_failures, fail_stack): Use size_t rather than unsigned. (regex_compile): For ^ and $, choose between buffer and line (beg|end) depending on the new RE_NO_NEWLINE_ANCHOR syntax flag. (print_compiled_pattern, re_search_2, mutually_exclusive_p) (re_match_2_internal, re_compile_pattern, re_comp, regcomp): Get rid of references to newline_anchor. (regcomp): Allocate and precompute a fastmap.
Stefan Monnier 7566b76a 2000-08-30T18:31:17 Merge some changes from GNU libc. Add prototypes. (bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal): Use memcmp and memcpy instead of bcopy and bcmp. (init_syntax_once): Use ISALNUM. (PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id. (REG_UNSET_VALUE): Remove. Use NULL instead. (REG_UNSET, re_match_2_internal): Use NULL. (SET_HIGH_BOUND, MOVE_BUFFER_POINTER, ELSE_EXTEND_BUFFER_HIGH_BOUND): New macros. (EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS). (GET_UNSIGNED_NUMBER): Don't use ISDIGIT. (regex_compile): In handle_interval, return an error rather than try to unfetch the interval if we can't find the closing brace. Obey the RE_NO_GNU_OPS syntax bit. (TOLOWER): New macro. (regcomp): Use it. (regexec): Allocate regs.start and regs.end as one block.
Stefan Monnier 2f3b372d 2000-08-30T18:21:17 (struct re_pattern_buffer): Use size_t for used/allocated.
Jim Meyering 840477cc 2000-08-30T07:58:05 *** empty log message ***
Jim Meyering d286a6b3 2000-08-30T07:58:01 Merge in changes from GNU libc.
Jim Meyering 972f69da 2000-08-28T14:55:18 declare __fpending only if necessary
Jim Meyering 5f7220a7 2000-08-28T14:53:10 check for __fpending declaration
Jim Meyering c030b0fc 2000-08-28T14:50:37 include stdio_ext.h
Stefan Monnier ef7d99e1 2000-08-28T00:37:22 * regex.c: Indent cpp directives and remove parens after `defined'. (PTR_TO_OFFSET, POS_AS_IN_BUFFER): Move to a better place. (ISDIGIT, ISCNTRL, ISXDIGIT) [!emacs]: Remove duplicate definition. (regex_compile): Use RE_FRUGAL instead of RE_ALL_GREEDY. (re_compile_pattern): Use size_t for length. (init_syntax_once): Move to a better place. * regex.h: Merge changes from GNU libc. Indent cpp directives. (RE_FRUGAL): Replaces RE_ALL_GREEDY (inverted meaning).
Jim Meyering 41ec1fc2 2000-08-26T15:39:39 .
Jim Meyering 228c6c84 2000-08-26T12:05:55 *** empty log message ***
Jim Meyering 8218363e 2000-08-26T12:05:50 Include "__fpending.h". (close_stdout_status): Return right away if there's nothing to flush.
Jim Meyering f2a163ee 2000-08-26T12:04:13 *** empty log message ***
Jim Meyering 394fa230 2000-08-26T12:04:01 (noinst_HEADERS): Add __fpending.h.
Jim Meyering 26eccc5a 2000-08-26T11:59:55 *** empty log message ***
Jim Meyering 6d6c2dda 2000-08-26T11:56:54 Use jm_FUNC_FPENDING.
Jim Meyering b3467d18 2000-08-26T11:55:12 *** empty log message ***
Jim Meyering c7a6a25e 2000-08-26T11:46:21 *** empty log message ***
Jim Meyering 2209966c 2000-08-26T11:44:00 *** empty log message ***
Jim Meyering 023f0bdf 2000-08-26T11:26:11 *** empty log message ***
Jim Meyering d62b599b 2000-08-26T11:25:48 *** empty log message ***
Stefan Monnier d92c1d4b 2000-08-25T14:35:12 (PUSH_FAILURE_COUNT): New macro. (POP_FAILURE_REG_OR_COUNT): Renamed from POP_FAILURE_REG. Handle popping of a register's or a counter's data. (POP_FAILURE_POINT): Use the new name. (re_match_2_internal): Push counter data on the stack for succeed_n, jump_n and set_number_at and remove misleading dead code in succeed_n.
Jim Meyering 7d636751 2000-08-25T07:43:45 *** empty log message ***
Jim Meyering 88ac5d0a 2000-08-25T07:39:22 *** empty log message ***
Jim Meyering 1322aea5 2000-08-20T21:16:36 .
Jim Meyering 6870bfd2 2000-08-20T21:12:36 New file. From J. David Anglin.
Jim Meyering e7c22562 2000-08-20T12:45:35 *** empty log message ***
Jim Meyering 0c67c4cb 2000-08-20T12:45:31 Include utmp.h `#if HAVE_UTMP_H', rather than `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither utmp.h nor utmpx.h. Reported by Eli Zaretskii.
Jim Meyering 111752e5 2000-08-12T13:27:29 Use jm_FUNC_UNLINK_BUSY_TEXT.
Jim Meyering eb2bfc75 2000-08-12T06:17:33 .
Jim Meyering d831a069 2000-08-12T05:16:40 *** empty log message ***
Jim Meyering 98dccf64 2000-08-12T04:59:31 tweak the `whether...' message
Jim Meyering 301a3bfe 2000-08-12T04:57:18 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro. From J. David Anglin.
Kenichi Handa ef7682a4 2000-08-11T01:56:59 (regex_compile) <normal_char>: Pay attention to multibyteness. (analyse_first) <exactn>: Setup fastmap correctly for eight-bit-control characters.
Jim Meyering 36fde25f 2000-08-07T17:07:19 *** empty log message ***
Jim Meyering 00d29cc3 2000-08-07T17:06:38 (xalloc_msg_memory_exhausted): Now char const[], not char *const and pointing to a constant array. (xrealloc): Comment fix.
Jim Meyering 7ddafe36 2000-08-07T17:05:37 (print_and_abort): Use "memory exhausted", not "virtual memory exhausted".
Jim Meyering 6cee8ea0 2000-08-07T17:03:20 comment fix
Jim Meyering 02461019 2000-08-07T17:02:15 (xalloc_msg_memory_exhausted): Now char const[], not char *const and pointing to a constant array.
Jim Meyering d0017fe1 2000-08-07T16:56:29 (same_name): Invoke xalloc_die instead of printing our own message. (parse_user_spec): Don't translate a message until just before returning, to avoid unnecessary translation.
Jim Meyering 81f3a792 2000-08-07T16:55:57 (same_name): Invoke xalloc_die instead of printing our own message.
Jim Meyering f93f1d73 2000-08-07T15:51:08 *** empty log message ***
Jim Meyering 89f2b489 2000-08-07T15:48:18 back out Copyright date changes for files with no changes year
Jim Meyering 754144a3 2000-08-07T07:15:31 *** empty log message ***
Jim Meyering 79f50aa7 2000-08-07T07:15:25 (AC_MBSTATE_T): Define mbstate_t to be int, not char, for compatibility with glibc 2.1.3 strftime.c.
Jim Meyering 8599ce75 2000-08-03T23:10:28 *** empty log message ***
Jim Meyering 777b414c 2000-08-03T23:10:05 (SET_HIGH_BOUND, MOVE_BUFFER_POINTER, ELSE_EXTEND_BUFFER_HIGH_BOUND): New macros. (EXTEND_BUFFER): Use them.
Jim Meyering b31fa68f 2000-08-01T07:10:10 *** empty log message ***
Jim Meyering 45273299 2000-08-01T07:10:05 (ISSLASH): Define. (BACKSLASH_IS_PATH_SEPARATOR): Define. (dir_name) [BACKSLASH_IS_PATH_SEPARATOR]: Handle the case in which both `\' and `/' may be use as path separators. Based on a patch from Prashant TR.
Jim Meyering c47aaffe 2000-07-31T18:30:27 *** empty log message ***
Jim Meyering 28c9a4ad 2000-07-31T18:30:21 (quotearg_n_options): Don't make the initial slot vector a constant, since it might get modified.
Jim Meyering 4aba872b 2000-07-31T12:31:44 Tweak comments, per Bruno's comments.
Jim Meyering 38de095e 2000-07-31T12:30:24 Tweak comments, per Bruno's comments.
Jim Meyering 865b15cf 2000-07-31T07:48:05 *** empty log message ***
Jim Meyering 62a3c6b1 2000-07-31T07:23:01 (quotearg_n_options): Preallocate a slot 0 buffer, so that the caller can always quote one small component of a "memory exhausted" message in slot 0. From a suggestion by Jim Meyering.
Jim Meyering 3ff49f4a 2000-07-31T06:50:30 *** empty log message ***
Jim Meyering 40c60144 2000-07-31T06:44:51 Use `virtual memory exhausted', not `Memory exhausted'.
Jim Meyering efae05c2 2000-07-30T16:49:47 .
Jim Meyering b8e327b8 2000-07-30T16:25:01 *** empty log message ***
Jim Meyering 76368237 2000-07-30T16:24:51 (make_path): Quote the other instance, too.
Jim Meyering 1c4c29a5 2000-07-29T17:11:33 (dir_name): Use __MSDOS__ in favor of MSDOS.
Jim Meyering 1dc1c3a6 2000-07-29T17:06:53 *** empty log message ***
Jim Meyering 5565019c 2000-07-29T17:06:00 (diacrit_diac): Use __MSDOS__ in favor of MSDOS.
Jim Meyering 0730bbc6 2000-07-29T16:45:30 (base_name): Use ISSLASH rather than comparing against `/'.
Jim Meyering 1f51d28b 2000-07-29T08:15:37 *** empty log message ***
Jim Meyering 7c89f41c 2000-07-29T08:15:01 remove prematurely-added ISSLASH definition
Jim Meyering 03400241 2000-07-29T08:10:46 (dir_name): Assert that there are no trailing slashes.
Jim Meyering 3f15d65b 2000-07-29T08:00:17 *** empty log message ***
Jim Meyering 068326db 2000-07-29T08:00:11 (dir_name) [MSDOS]: Declare `lim' to be const.
Jim Meyering 651daba6 2000-07-29T06:09:43 *** empty log message ***
Jim Meyering d5b1ab33 2000-07-29T06:09:22 tweak comments
Jim Meyering 91f65b21 2000-07-29T06:02:28 (mbswidth): Add a flags argument. (mbswidth): New declaration. (MBSW_ACCEPT_INVALID, MBSW_ACCEPT_UNPRINTABLE): New macros.
Jim Meyering 15d593c5 2000-07-29T05:47:42 .
Jim Meyering 21291fe5 2000-07-24T16:30:03 *** empty log message ***
Jim Meyering d13720cf 2000-07-24T16:29:57 (mbswidth): Add a flags argument. (mbsnwidth): New function.
Jim Meyering 9880c90a 2000-07-24T06:42:17 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
Jim Meyering 60abfed3 2000-07-24T06:42:04 *** empty log message ***
Jim Meyering ec482f5c 2000-07-24T06:41:58 (_XOPEN_SOURCE): Don't define; this causes problems on Solaris 7. (wcwidth) [!HAVE_DECL_WCWIDTH]: Declare.
Jim Meyering 453bc2ee 2000-07-24T06:14:32 *** empty log message ***
Jim Meyering 8ed25ee6 2000-07-24T06:14:19 Include <wchar.h> even if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX), so that mbstate_t is always defined. Do not inspect MB_LEN_MAX, since it's incorrectly defined to be 1 in at least one GCC installation, and this configuration error is likely to be common. Ignoring MB_LEN_MAX hurts performance on hosts that have mbrtowc but have only unibyte locales, but I assume these hosts are rare.
Jim Meyering 89bc0205 2000-07-23T21:48:28 *** empty log message ***
Jim Meyering f7d4132b 2000-07-23T21:48:17 Streamline by invoking multibyte code only if needed. <wchar.h>: Include only if HAVE_MBRTOWC && 1 < MB_LEN_MAX. (MB_CUR_MAX): Redefine to 1 if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX). (quotearg_buffer_restyled): If a unibyte locale, don't bother to invoke multibyte primitives.
Jim Meyering 8947561e 2000-07-23T18:44:35 fix typos (missing commas)
Jim Meyering 3500de81 2000-07-23T15:27:19 *** empty log message ***
Jim Meyering 644718b8 2000-07-23T15:27:11 (jm_CHECK_DECLS): Check for declarations of these, too: getgrgid, getpwuid, getuid.
Jim Meyering 3b0d7279 2000-07-23T09:25:19 *** empty log message ***
Jim Meyering f7d19549 2000-07-23T09:25:14 (base_name): Add an assertion.
Jim Meyering 23a9c147 2000-07-23T08:38:30 *** empty log message ***
Jim Meyering a62b804c 2000-07-23T08:38:25 When the system forces us to redefine mbstate_t, shadow its mbsinit function.
Jim Meyering 0b6939ba 2000-07-17T20:46:35 .
Jim Meyering 05dbfe00 2000-07-17T20:45:03 *** empty log message ***
Jim Meyering 7194c138 2000-07-17T20:45:00 (libfetish_a_SOURCES): Add mbswidth.c. (noinst_HEADERS): Add mbswidth.h.
Jim Meyering f2c15d34 2000-07-17T20:42:12 from Bruno Haible.
Jim Meyering b65848a2 2000-07-17T20:40:39 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.