gnulib.git
23 years ago*** empty log message *** TEXTUTILS-2_0_8
Jim Meyering [Sun, 22 Oct 2000 21:09:53 +0000 (21:09 +0000)]
*** empty log message ***

23 years ago(md5_process_block) [OP]: Use `rol', not CYCLIC.
Jim Meyering [Sun, 22 Oct 2000 21:09:43 +0000 (21:09 +0000)]
(md5_process_block) [OP]: Use `rol', not CYCLIC.
[CYCLIC]: Remove now-unused definition.

23 years ago.
Jim Meyering [Sun, 22 Oct 2000 13:03:06 +0000 (13:03 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 06:57:54 +0000 (06:57 +0000)]
*** empty log message ***

23 years ago(O_DIRECTORY): Define, if needed.
Jim Meyering [Sun, 22 Oct 2000 06:57:42 +0000 (06:57 +0000)]
(O_DIRECTORY): Define, if needed.
(save_cwd) [HAVE_FCHDIR]: Use O_DIRECTORY when opening ".".
Suggestion from Ulrich Drepper.

23 years ago.
Jim Meyering [Sat, 21 Oct 2000 20:07:03 +0000 (20:07 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 20:01:28 +0000 (20:01 +0000)]
*** empty log message ***

23 years agotweak comment
Jim Meyering [Sat, 21 Oct 2000 12:46:58 +0000 (12:46 +0000)]
tweak comment

23 years ago(dir_name_r): New function, factored out of dir_name.
Jim Meyering [Sat, 21 Oct 2000 11:44:43 +0000 (11:44 +0000)]
(dir_name_r): New function, factored out of dir_name.
(dir_name): Use dir_name_r.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 11:29:01 +0000 (11:29 +0000)]
*** empty log message ***

23 years ago(memrchr): Declare if necessary.
Jim Meyering [Sat, 21 Oct 2000 11:28:42 +0000 (11:28 +0000)]
(memrchr): Declare if necessary.
(dir_name): Remove the restriction that there be no
trailing slashes.  Now, this code skips past them, effectively
ignoring them.
[TEST_DIRNAME] (main): New unit tests.

23 years ago(jm_PREREQ_DIRNAME): New macro.
Jim Meyering [Sat, 21 Oct 2000 10:37:10 +0000 (10:37 +0000)]
(jm_PREREQ_DIRNAME): New macro.

23 years ago(AC_REPLACE_FUNCS): Add memrchr.
Jim Meyering [Sat, 21 Oct 2000 10:36:49 +0000 (10:36 +0000)]
(AC_REPLACE_FUNCS): Add memrchr.

23 years ago(jm_CHECK_DECLS): Also check for memrchr.
Jim Meyering [Sat, 21 Oct 2000 10:36:32 +0000 (10:36 +0000)]
(jm_CHECK_DECLS): Also check for memrchr.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 10:33:25 +0000 (10:33 +0000)]
*** empty log message ***

23 years agoNew file, derived from the one in GNU libc.
Jim Meyering [Sat, 21 Oct 2000 10:27:59 +0000 (10:27 +0000)]
New file, derived from the one in GNU libc.

23 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:42 +0000 (08:45 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:32 +0000 (08:45 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:11 +0000 (08:45 +0000)]
*** empty log message ***

23 years ago[PARAMS]: Define and use.
Jim Meyering [Tue, 17 Oct 2000 08:45:07 +0000 (08:45 +0000)]
[PARAMS]: Define and use.

23 years agoRemove warning that noone noticed anyway
Jeff Bailey [Tue, 17 Oct 2000 06:55:04 +0000 (06:55 +0000)]
Remove warning that noone noticed anyway

23 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 06:45:57 +0000 (06:45 +0000)]
*** empty log message ***

23 years agoUpdate from libc.
Jim Meyering [Tue, 17 Oct 2000 06:45:49 +0000 (06:45 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 06:25:29 +0000 (06:25 +0000)]
*** empty log message ***

23 years ago(hard_locale): Use "", not 0 as 2nd arg to setlocale.
Jim Meyering [Mon, 16 Oct 2000 06:24:33 +0000 (06:24 +0000)]
(hard_locale): Use "", not 0 as 2nd arg to setlocale.
From Jan Fedak.

23 years ago*** empty log message ***
Stefan Monnier [Sun, 15 Oct 2000 16:44:54 +0000 (16:44 +0000)]
*** empty log message ***

23 years ago(WIDE_CHAR_SUPPORT): Define if _LIBC as well.
Stefan Monnier [Sun, 15 Oct 2000 16:44:45 +0000 (16:44 +0000)]
(WIDE_CHAR_SUPPORT): Define if _LIBC as well.
Mostly, just a test of the CVS repository.

23 years ago*** empty log message *** FILEUTILS-4_0_27
Jim Meyering [Mon, 25 Sep 2000 00:01:22 +0000 (00:01 +0000)]
*** empty log message ***

23 years ago(rol): Define (from GnuPG).
Jim Meyering [Mon, 25 Sep 2000 00:00:58 +0000 (00:00 +0000)]
(rol): Define (from GnuPG).

23 years agoGive credit (GnuPG) where due.
Jim Meyering [Sun, 24 Sep 2000 23:59:39 +0000 (23:59 +0000)]
Give credit (GnuPG) where due.
(M): Use rol rather than open-coding it.
Add a FIXME comment.

23 years ago*** empty log message ***
Jim Meyering [Thu, 21 Sep 2000 14:40:09 +0000 (14:40 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Thu, 21 Sep 2000 05:40:34 +0000 (05:40 +0000)]
*** empty log message ***

23 years ago(parse_user_spec): Remove debugging printf I'd added.
Jim Meyering [Thu, 21 Sep 2000 05:40:28 +0000 (05:40 +0000)]
(parse_user_spec): Remove debugging printf I'd added.
Argh!

23 years ago*** empty log message ***
Jim Meyering [Wed, 20 Sep 2000 08:05:39 +0000 (08:05 +0000)]
*** empty log message ***

23 years ago(libfetish_a_SOURCES): Add sha.c.
Jim Meyering [Wed, 20 Sep 2000 08:05:24 +0000 (08:05 +0000)]
(libfetish_a_SOURCES): Add sha.c.
(noinst_HEADERS): Add sha.h.
Based on code from Scott G. Miller and from GnuPG.

23 years agoAdd warning to top of source files
Jeff Bailey [Tue, 19 Sep 2000 15:47:02 +0000 (15:47 +0000)]
Add warning to top of source files

23 years ago*** empty log message ***
Jim Meyering [Mon, 18 Sep 2000 06:37:15 +0000 (06:37 +0000)]
*** empty log message ***

23 years ago(AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
Jim Meyering [Mon, 18 Sep 2000 06:37:01 +0000 (06:37 +0000)]
(AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
Otherwise, everyone ends up linking with -lelf for some configurations.
Reported by Mike Stone.

23 years agoshrink tmp array length from 80 to 16.
Jim Meyering [Sun, 17 Sep 2000 13:02:43 +0000 (13:02 +0000)]
shrink tmp array length from 80 to 16.

23 years agouse gnupg R/M macros
Jim Meyering [Sun, 17 Sep 2000 13:01:02 +0000 (13:01 +0000)]
use gnupg R/M macros

23 years agocheckpoint
Jim Meyering [Sun, 17 Sep 2000 12:54:25 +0000 (12:54 +0000)]
checkpoint

23 years ago*** empty log message ***
Jim Meyering [Sun, 17 Sep 2000 11:12:31 +0000 (11:12 +0000)]
*** empty log message ***

23 years agoremove debug junk
Jim Meyering [Sun, 17 Sep 2000 11:11:26 +0000 (11:11 +0000)]
remove debug junk

23 years agomoving to gnupg's version of sha1.c
Jim Meyering [Sun, 17 Sep 2000 11:11:01 +0000 (11:11 +0000)]
moving to gnupg's version of sha1.c

23 years agosnapshot of massaged original
Jim Meyering [Sun, 17 Sep 2000 11:08:06 +0000 (11:08 +0000)]
snapshot of massaged original

23 years ago.
Jim Meyering [Sat, 16 Sep 2000 16:49:23 +0000 (16:49 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 16 Sep 2000 16:47:06 +0000 (16:47 +0000)]
*** empty log message ***

23 years agoUpdate from libc.
Jim Meyering [Sat, 16 Sep 2000 16:46:50 +0000 (16:46 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Sun, 10 Sep 2000 07:31:54 +0000 (07:31 +0000)]
*** empty log message ***

23 years ago(_getopt_internal): Update from glibc.
Jim Meyering [Sun, 10 Sep 2000 07:31:44 +0000 (07:31 +0000)]
(_getopt_internal): Update from glibc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 16:02:37 +0000 (16:02 +0000)]
*** empty log message ***

23 years agoRename ISASCII to IN_CTYPE_DOMAIN.
Jim Meyering [Sat, 9 Sep 2000 15:56:26 +0000 (15:56 +0000)]
Rename ISASCII to IN_CTYPE_DOMAIN.

23 years ago*** empty log message *** FILEUTILS-4_0z
Jim Meyering [Sat, 9 Sep 2000 07:20:54 +0000 (07:20 +0000)]
*** empty log message ***

23 years agoDon't use atoi.
Jim Meyering [Sat, 9 Sep 2000 07:20:46 +0000 (07:20 +0000)]
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.

23 years ago*** empty log message ***
Jim Meyering [Wed, 6 Sep 2000 20:04:17 +0000 (20:04 +0000)]
*** empty log message ***

23 years ago(_getopt_internal): Update from glibc.
Jim Meyering [Wed, 6 Sep 2000 20:04:06 +0000 (20:04 +0000)]
(_getopt_internal): Update from glibc.

23 years ago(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier [Mon, 4 Sep 2000 04:24:00 +0000 (04:24 +0000)]
(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.

23 years agotweak comment
Jim Meyering [Sun, 3 Sep 2000 15:25:11 +0000 (15:25 +0000)]
tweak comment

23 years ago* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier [Thu, 31 Aug 2000 17:19:13 +0000 (17:19 +0000)]
* 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.

23 years agoMerge some changes from GNU libc. Add prototypes.
Stefan Monnier [Wed, 30 Aug 2000 18:31:17 +0000 (18:31 +0000)]
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.

23 years ago(struct re_pattern_buffer): Use size_t for used/allocated.
Stefan Monnier [Wed, 30 Aug 2000 18:21:17 +0000 (18:21 +0000)]
(struct re_pattern_buffer): Use size_t for used/allocated.

23 years ago*** empty log message ***
Jim Meyering [Wed, 30 Aug 2000 07:58:05 +0000 (07:58 +0000)]
*** empty log message ***

23 years agoMerge in changes from GNU libc.
Jim Meyering [Wed, 30 Aug 2000 07:58:01 +0000 (07:58 +0000)]
Merge in changes from GNU libc.

23 years agodeclare __fpending only if necessary
Jim Meyering [Mon, 28 Aug 2000 14:55:18 +0000 (14:55 +0000)]
declare __fpending only if necessary

23 years agocheck for __fpending declaration
Jim Meyering [Mon, 28 Aug 2000 14:53:10 +0000 (14:53 +0000)]
check for __fpending declaration

23 years agoinclude stdio_ext.h
Jim Meyering [Mon, 28 Aug 2000 14:50:37 +0000 (14:50 +0000)]
include stdio_ext.h

23 years ago* regex.c: Indent cpp directives and remove parens after `defined'.
Stefan Monnier [Mon, 28 Aug 2000 00:37:22 +0000 (00:37 +0000)]
* 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).

23 years ago.
Jim Meyering [Sat, 26 Aug 2000 15:39:39 +0000 (15:39 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 26 Aug 2000 12:05:55 +0000 (12:05 +0000)]
*** empty log message ***

23 years agoInclude "__fpending.h".
Jim Meyering [Sat, 26 Aug 2000 12:05:50 +0000 (12:05 +0000)]
Include "__fpending.h".
(close_stdout_status): Return right away if there's nothing to flush.

23 years ago*** empty log message ***
Jim Meyering [Sat, 26 Aug 2000 12:04:13 +0000 (12:04 +0000)]
*** empty log message ***

23 years ago(noinst_HEADERS): Add __fpending.h.
Jim Meyering [Sat, 26 Aug 2000 12:04:01 +0000 (12:04 +0000)]
(noinst_HEADERS): Add __fpending.h.

23 years ago*** empty log message ***
Jim Meyering [Sat, 26 Aug 2000 11:59:55 +0000 (11:59 +0000)]
*** empty log message ***

23 years agoUse jm_FUNC_FPENDING.
Jim Meyering [Sat, 26 Aug 2000 11:56:54 +0000 (11:56 +0000)]
Use jm_FUNC_FPENDING.

23 years ago*** empty log message ***
Jim Meyering [Sat, 26 Aug 2000 11:55:12 +0000 (11:55 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 26 Aug 2000 11:46:21 +0000 (11:46 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 26 Aug 2000 11:44:00 +0000 (11:44 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 26 Aug 2000 11:26:11 +0000 (11:26 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 26 Aug 2000 11:25:48 +0000 (11:25 +0000)]
*** empty log message ***

23 years ago(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier [Fri, 25 Aug 2000 14:35:12 +0000 (14:35 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Fri, 25 Aug 2000 07:43:45 +0000 (07:43 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 25 Aug 2000 07:39:22 +0000 (07:39 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 20 Aug 2000 21:16:36 +0000 (21:16 +0000)]
.

23 years agoNew file. From J. David Anglin.
Jim Meyering [Sun, 20 Aug 2000 21:12:36 +0000 (21:12 +0000)]
New file.  From J. David Anglin.

23 years ago*** empty log message *** FILEUTILS-4_0y
Jim Meyering [Sun, 20 Aug 2000 12:45:35 +0000 (12:45 +0000)]
*** empty log message ***

23 years agoInclude utmp.h `#if HAVE_UTMP_H', rather than
Jim Meyering [Sun, 20 Aug 2000 12:45:31 +0000 (12:45 +0000)]
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.

23 years agoUse jm_FUNC_UNLINK_BUSY_TEXT.
Jim Meyering [Sat, 12 Aug 2000 13:27:29 +0000 (13:27 +0000)]
Use jm_FUNC_UNLINK_BUSY_TEXT.

23 years ago.
Jim Meyering [Sat, 12 Aug 2000 06:17:33 +0000 (06:17 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 12 Aug 2000 05:16:40 +0000 (05:16 +0000)]
*** empty log message ***

23 years agotweak the `whether...' message
Jim Meyering [Sat, 12 Aug 2000 04:59:31 +0000 (04:59 +0000)]
tweak the `whether...' message

23 years ago(jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
Jim Meyering [Sat, 12 Aug 2000 04:57:18 +0000 (04:57 +0000)]
(jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
From J. David Anglin.

23 years ago(regex_compile) <normal_char>: Pay attention to multibyteness.
Kenichi Handa [Fri, 11 Aug 2000 01:56:59 +0000 (01:56 +0000)]
(regex_compile) <normal_char>: Pay attention to multibyteness.
(analyse_first) <exactn>: Setup fastmap correctly for
eight-bit-control characters.

23 years ago*** empty log message ***
Jim Meyering [Mon, 7 Aug 2000 17:07:19 +0000 (17:07 +0000)]
*** empty log message ***

23 years ago(xalloc_msg_memory_exhausted): Now char const[],
Jim Meyering [Mon, 7 Aug 2000 17:06:38 +0000 (17:06 +0000)]
(xalloc_msg_memory_exhausted): Now char const[],
not char *const and pointing to a constant array.
(xrealloc): Comment fix.

23 years ago(print_and_abort): Use "memory exhausted", not "virtual memory exhausted".
Jim Meyering [Mon, 7 Aug 2000 17:05:37 +0000 (17:05 +0000)]
(print_and_abort): Use "memory exhausted", not "virtual memory exhausted".

23 years agocomment fix
Jim Meyering [Mon, 7 Aug 2000 17:03:20 +0000 (17:03 +0000)]
comment fix

23 years ago(xalloc_msg_memory_exhausted): Now char const[],
Jim Meyering [Mon, 7 Aug 2000 17:02:15 +0000 (17:02 +0000)]
(xalloc_msg_memory_exhausted): Now char const[],
not char *const and pointing to a constant array.

23 years ago(same_name): Invoke xalloc_die instead of printing our own message.
Jim Meyering [Mon, 7 Aug 2000 16:56:29 +0000 (16:56 +0000)]
(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.

23 years ago(same_name): Invoke xalloc_die instead of printing our own message.
Jim Meyering [Mon, 7 Aug 2000 16:55:57 +0000 (16:55 +0000)]
(same_name): Invoke xalloc_die instead of printing our own message.

23 years ago*** empty log message ***
Jim Meyering [Mon, 7 Aug 2000 15:51:08 +0000 (15:51 +0000)]
*** empty log message ***