gnulib.git
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 ***

23 years agoback out Copyright date changes for files with no changes year
Jim Meyering [Mon, 7 Aug 2000 15:48:18 +0000 (15:48 +0000)]
back out Copyright date changes for files with no changes year

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

23 years ago(AC_MBSTATE_T): Define mbstate_t to be int,
Jim Meyering [Mon, 7 Aug 2000 07:15:25 +0000 (07:15 +0000)]
(AC_MBSTATE_T): Define mbstate_t to be int,
not char, for compatibility with glibc 2.1.3 strftime.c.

23 years ago*** empty log message *** TEXTUTILS-2_0g
Jim Meyering [Thu, 3 Aug 2000 23:10:28 +0000 (23:10 +0000)]
*** empty log message ***

23 years ago(SET_HIGH_BOUND, MOVE_BUFFER_POINTER,
Jim Meyering [Thu, 3 Aug 2000 23:10:05 +0000 (23:10 +0000)]
(SET_HIGH_BOUND, MOVE_BUFFER_POINTER,
ELSE_EXTEND_BUFFER_HIGH_BOUND): New macros.
(EXTEND_BUFFER): Use them.

23 years ago*** empty log message ***
Jim Meyering [Tue, 1 Aug 2000 07:10:10 +0000 (07:10 +0000)]
*** empty log message ***

23 years ago(ISSLASH): Define.
Jim Meyering [Tue, 1 Aug 2000 07:10:05 +0000 (07:10 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 18:30:27 +0000 (18:30 +0000)]
*** empty log message ***

23 years ago(quotearg_n_options): Don't make the initial
Jim Meyering [Mon, 31 Jul 2000 18:30:21 +0000 (18:30 +0000)]
(quotearg_n_options): Don't make the initial
slot vector a constant, since it might get modified.

23 years agoTweak comments, per Bruno's comments.
Jim Meyering [Mon, 31 Jul 2000 12:31:44 +0000 (12:31 +0000)]
Tweak comments, per Bruno's comments.

23 years agoTweak comments, per Bruno's comments.
Jim Meyering [Mon, 31 Jul 2000 12:30:24 +0000 (12:30 +0000)]
Tweak comments, per Bruno's comments.

23 years ago*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 07:48:05 +0000 (07:48 +0000)]
*** empty log message ***

23 years ago(quotearg_n_options): Preallocate a slot 0
Jim Meyering [Mon, 31 Jul 2000 07:23:01 +0000 (07:23 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 06:50:30 +0000 (06:50 +0000)]
*** empty log message ***

23 years agoUse `virtual memory exhausted', not `Memory exhausted'.
Jim Meyering [Mon, 31 Jul 2000 06:44:51 +0000 (06:44 +0000)]
Use `virtual memory exhausted', not `Memory exhausted'.

23 years ago.
Jim Meyering [Sun, 30 Jul 2000 16:49:47 +0000 (16:49 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:25:01 +0000 (16:25 +0000)]
*** empty log message ***

23 years ago(make_path): Quote the other instance, too.
Jim Meyering [Sun, 30 Jul 2000 16:24:51 +0000 (16:24 +0000)]
(make_path): Quote the other instance, too.

23 years ago(dir_name): Use __MSDOS__ in favor of MSDOS.
Jim Meyering [Sat, 29 Jul 2000 17:11:33 +0000 (17:11 +0000)]
(dir_name): Use __MSDOS__ in favor of MSDOS.

23 years ago*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 17:06:53 +0000 (17:06 +0000)]
*** empty log message ***

23 years ago(diacrit_diac): Use __MSDOS__ in favor of MSDOS.
Jim Meyering [Sat, 29 Jul 2000 17:06:00 +0000 (17:06 +0000)]
(diacrit_diac): Use __MSDOS__ in favor of MSDOS.

23 years ago(base_name): Use ISSLASH rather than comparing against `/'.
Jim Meyering [Sat, 29 Jul 2000 16:45:30 +0000 (16:45 +0000)]
(base_name): Use ISSLASH rather than comparing against `/'.

23 years ago*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 08:15:37 +0000 (08:15 +0000)]
*** empty log message ***

23 years agoremove prematurely-added ISSLASH definition
Jim Meyering [Sat, 29 Jul 2000 08:15:01 +0000 (08:15 +0000)]
remove prematurely-added ISSLASH definition

23 years ago(dir_name): Assert that there are no trailing slashes.
Jim Meyering [Sat, 29 Jul 2000 08:10:46 +0000 (08:10 +0000)]
(dir_name): Assert that there are no trailing slashes.

23 years ago*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 08:00:17 +0000 (08:00 +0000)]
*** empty log message ***

23 years ago(dir_name) [MSDOS]: Declare `lim' to be const.
Jim Meyering [Sat, 29 Jul 2000 08:00:11 +0000 (08:00 +0000)]
(dir_name) [MSDOS]: Declare `lim' to be const.