gnulib.git
23 years agoBack out Paul's changes while we wait for him and Bruno to reach agreement. FILEUTILS-4_0_32
Jim Meyering [Sat, 11 Nov 2000 09:10:33 +0000 (09:10 +0000)]
Back out Paul's changes while we wait for him and Bruno to reach agreement.

23 years agoRemove Paul's entries for unicodeio.c: then I don't have to justify
Jim Meyering [Sat, 11 Nov 2000 09:09:55 +0000 (09:09 +0000)]
Remove Paul's entries for unicodeio.c: then I don't have to justify
backing out the nov8/9 changes.

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

23 years ago*** empty log message ***
Jim Meyering [Fri, 10 Nov 2000 11:14:03 +0000 (11:14 +0000)]
*** empty log message ***

23 years agoUpdate from GNU libc.
Jim Meyering [Fri, 10 Nov 2000 11:10:39 +0000 (11:10 +0000)]
Update from GNU libc.

23 years ago*** empty log message ***
Jim Meyering [Fri, 10 Nov 2000 08:46:34 +0000 (08:46 +0000)]
*** empty log message ***

23 years ago(ENOTSUP): Define to EINVAL if not defined.
Jim Meyering [Fri, 10 Nov 2000 08:46:19 +0000 (08:46 +0000)]
(ENOTSUP): Define to EINVAL if not defined.

23 years agodon't back them out
Jim Meyering [Fri, 10 Nov 2000 08:44:51 +0000 (08:44 +0000)]
don't back them out

23 years agoBack out the last two changes, at least for now.
Jim Meyering [Fri, 10 Nov 2000 08:43:46 +0000 (08:43 +0000)]
Back out the last two changes, at least for now.

23 years ago*** empty log message ***
Jim Meyering [Thu, 9 Nov 2000 08:33:01 +0000 (08:33 +0000)]
*** empty log message ***

23 years ago(MB_LEN_MAX): Make sure it's at least 6, to avoid buggy C libraries.
Jim Meyering [Thu, 9 Nov 2000 08:32:52 +0000 (08:32 +0000)]
(MB_LEN_MAX): Make sure it's at least 6, to avoid buggy C libraries.

23 years ago(<wchar.h>): Do not include; no longer needed, since we no longer use wcrtomb.
Jim Meyering [Thu, 9 Nov 2000 08:30:00 +0000 (08:30 +0000)]
(<wchar.h>): Do not include; no longer needed, since we no longer use wcrtomb.
(<limits.h>): Include if HAVE_LIMITS_H.
(MB_LEN_MAX): Define if limits.h doesn't.
(convert_unicode_char): New function, with the conversion part of the
old print_unicode_char.  Use wctomb, not wcrtomb.  Depend on
HAVE_WCTOMB, not HAVE_WCRTOMB.
(print_unicode_char): Use convert_unicode_char to do the conversion.

23 years ago(jm_MACROS): Add test for wcrtomb.
Jim Meyering [Wed, 8 Nov 2000 14:46:35 +0000 (14:46 +0000)]
(jm_MACROS): Add test for wcrtomb.

23 years ago*** empty log message ***
Jim Meyering [Wed, 8 Nov 2000 14:46:20 +0000 (14:46 +0000)]
*** empty log message ***

23 years agoInclude wchar.h.
Jim Meyering [Wed, 8 Nov 2000 14:46:13 +0000 (14:46 +0000)]
Include wchar.h.
(wcrtomb): Provide fallback definition for broken platforms.
(print_unicode_char): New alternative definition for platforms where
wchar_t is Unicode.

23 years ago.
Jim Meyering [Tue, 7 Nov 2000 15:36:04 +0000 (15:36 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Tue, 7 Nov 2000 15:35:25 +0000 (15:35 +0000)]
*** empty log message ***

23 years ago(setusershell): Use rewind rather than
Jim Meyering [Tue, 7 Nov 2000 15:35:15 +0000 (15:35 +0000)]
(setusershell): Use rewind rather than
fseek/fseeko, to avoid configuration hassles with fseeko.
Don't bother opening SHELLS_FILE if shellstream is NULL;
it's not necessary.

23 years ago*** empty log message *** FILEUTILS-4_0_31
Jim Meyering [Sun, 5 Nov 2000 15:04:53 +0000 (15:04 +0000)]
*** empty log message ***

23 years ago(make_dir): Declare.
Jim Meyering [Sun, 5 Nov 2000 15:04:39 +0000 (15:04 +0000)]
(make_dir): Declare.

23 years ago(make_dir): Remove `static' attribute.
Jim Meyering [Sun, 5 Nov 2000 15:04:17 +0000 (15:04 +0000)]
(make_dir): Remove `static' attribute.
Tweak a comment.

23 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 10:12:25 +0000 (10:12 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 09:54:07 +0000 (09:54 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 09:52:55 +0000 (09:52 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 4 Nov 2000 22:19:21 +0000 (22:19 +0000)]
*** empty log message ***

23 years agoUse the `m4_' prefix on `syscmd' and `m4_sysval'.
Jim Meyering [Sat, 4 Nov 2000 22:19:15 +0000 (22:19 +0000)]
Use the `m4_' prefix on `syscmd' and `m4_sysval'.

23 years ago*** empty log message ***
Jim Meyering [Sat, 4 Nov 2000 21:39:00 +0000 (21:39 +0000)]
*** empty log message ***

23 years ago(hash_get_next): Fix a thinko: when ENTRY is the
Jim Meyering [Sat, 4 Nov 2000 21:38:55 +0000 (21:38 +0000)]
(hash_get_next): Fix a thinko:  when ENTRY is the
last one in a bucket, advance to the next bucket.
From Alexandre Duret-Lutz.

23 years ago*** empty log message ***
Jim Meyering [Fri, 3 Nov 2000 08:44:12 +0000 (08:44 +0000)]
*** empty log message ***

23 years agocppi
Jim Meyering [Fri, 3 Nov 2000 08:44:06 +0000 (08:44 +0000)]
cppi

23 years agoDo not comment out all the code if we are using
Jim Meyering [Fri, 3 Nov 2000 08:43:20 +0000 (08:43 +0000)]
Do not comment out all the code if we are using
the GNU C library, because in some cases we are replacing buggy
code in the GNU C library itself.

23 years ago*** empty log message *** FILEUTILS-4_0_30
Jim Meyering [Tue, 31 Oct 2000 07:10:03 +0000 (07:10 +0000)]
*** empty log message ***

23 years agoAdd "2000" to Copyright line, as this file was changed this year.
Jim Meyering [Tue, 31 Oct 2000 07:09:56 +0000 (07:09 +0000)]
Add "2000" to Copyright line, as this file was changed this year.

23 years agoRemove "2000" from Copyright line, as the file hasn't been
Jim Meyering [Tue, 31 Oct 2000 07:09:02 +0000 (07:09 +0000)]
Remove "2000" from Copyright line, as the file hasn't been
changed this year other than in the copyright notice.

23 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 07:07:26 +0000 (07:07 +0000)]
*** empty log message ***

23 years ago(FOLD): Do not assume that characters are unsigned.
Jim Meyering [Tue, 31 Oct 2000 07:07:05 +0000 (07:07 +0000)]
(FOLD): Do not assume that characters are unsigned.
(fnmatch): Fix some FNM_FILE_NAME and FNM_LEADING_DIR bugs,
e.g. fnmatch("d*/*1", "d/s/1", FNM_FILE_NAME) incorrectly yielded zero.

23 years ago.
Jim Meyering [Mon, 30 Oct 2000 17:51:06 +0000 (17:51 +0000)]
.

23 years ago*** empty log message ***
Stefan Monnier [Mon, 30 Oct 2000 15:22:29 +0000 (15:22 +0000)]
*** empty log message ***

23 years ago(re_iswctype, re_wctype_to_bit): Fix braino. EMACS_PRETEST_21_0_95
Stefan Monnier [Mon, 30 Oct 2000 15:20:17 +0000 (15:20 +0000)]
(re_iswctype, re_wctype_to_bit): Fix braino.
(regex_compile): Catch bogus \(\1\).

23 years ago*** empty log message ***
Jim Meyering [Sun, 29 Oct 2000 22:43:51 +0000 (22:43 +0000)]
*** empty log message ***

23 years agos/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
Jim Meyering [Sun, 29 Oct 2000 22:43:08 +0000 (22:43 +0000)]
s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.

23 years agofix typo: s/fseek0/fseeko/
Jim Meyering [Sun, 29 Oct 2000 17:19:51 +0000 (17:19 +0000)]
fix typo: s/fseek0/fseeko/

23 years ago*** empty log message *** FILEUTILS-4_0_29
Jim Meyering [Sun, 29 Oct 2000 13:50:25 +0000 (13:50 +0000)]
*** empty log message ***

23 years ago(__restrict_arr): Move definition out of #ifndef block.
Jim Meyering [Sun, 29 Oct 2000 13:49:56 +0000 (13:49 +0000)]
(__restrict_arr): Move definition out of #ifndef block.
Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but
doesn't define __restrict_arr.

23 years ago*** empty log message *** SH-UTILS-2_0_11
Jim Meyering [Sun, 29 Oct 2000 11:03:18 +0000 (11:03 +0000)]
*** empty log message ***

23 years agoFix grammar in comment.
Jim Meyering [Sun, 29 Oct 2000 11:03:01 +0000 (11:03 +0000)]
Fix grammar in comment.

23 years ago*** empty log message *** FILEUTILS-4_0_28
Jim Meyering [Sat, 28 Oct 2000 12:29:54 +0000 (12:29 +0000)]
*** empty log message ***

23 years ago(jm_PREREQ): Add jm_PREREQ_MEMCHR.
Jim Meyering [Sat, 28 Oct 2000 12:29:45 +0000 (12:29 +0000)]
(jm_PREREQ): Add jm_PREREQ_MEMCHR.
(jm_PREREQ_MEMCHR): New function.

23 years ago.
Jim Meyering [Sat, 28 Oct 2000 08:25:21 +0000 (08:25 +0000)]
.

23 years agoUpdate from libc.
Jim Meyering [Sat, 28 Oct 2000 08:24:44 +0000 (08:24 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 08:22:17 +0000 (08:22 +0000)]
*** empty log message ***

23 years agoUpdate from libc.
Jim Meyering [Sat, 28 Oct 2000 08:22:11 +0000 (08:22 +0000)]
Update from libc.
Adjust for portability:
[HAVE_STDLIB_H]: Include stdlib.h.
[HAVE_BP_SYM_H || _LIBC]: Guard inclusion of bp-sym.h.
Undef __memchr, too.
[!weak_alias]: Define __memchr to memchr.

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 07:56:40 +0000 (07:56 +0000)]
*** empty log message ***

23 years agoUpdate from libc.
Jim Meyering [Sat, 28 Oct 2000 07:56:12 +0000 (07:56 +0000)]
Update from libc.

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

23 years ago(setusershell) [HAVE_FSEEKO]: Use fseek0.
Jim Meyering [Sat, 28 Oct 2000 07:47:04 +0000 (07:47 +0000)]
(setusershell) [HAVE_FSEEKO]: Use fseek0.
Patch by Ulrich Drepper.

23 years agoUpdate from libc.
Jim Meyering [Sat, 28 Oct 2000 07:15:32 +0000 (07:15 +0000)]
Update from libc.

23 years ago*** empty log message ***
Stefan Monnier [Fri, 27 Oct 2000 13:29:48 +0000 (13:29 +0000)]
*** empty log message ***

23 years ago(POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
Stefan Monnier [Fri, 27 Oct 2000 13:29:36 +0000 (13:29 +0000)]
(POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
(re_match_2_internal, re_match_2_internal, re_match_2_internal):
Giving in to popular pressure to shut up the compiler with casts.

23 years ago.
Jim Meyering [Thu, 26 Oct 2000 09:39:08 +0000 (09:39 +0000)]
.

23 years agoUpdate from libc.
Jim Meyering [Thu, 26 Oct 2000 08:08:06 +0000 (08:08 +0000)]
Update from libc.

23 years ago*** empty log message ***
Stefan Monnier [Thu, 26 Oct 2000 00:46:00 +0000 (00:46 +0000)]
*** empty log message ***

23 years agoMore `unsigned char' -> `re_char' changes.
Stefan Monnier [Thu, 26 Oct 2000 00:45:01 +0000 (00:45 +0000)]
More `unsigned char' -> `re_char' changes.
Also change several `int' into `re_wchar_t'.
(PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove.
(PUSH_FAILURE_POINTER): Don't cast any more.
(POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'.
We want GCC to complain, since this piece of code makes
re_match non-reentrant, which *should* be fixed.
(GET_BUFFER_SPACE): Use size_t rather than unsigned long.
(EXTEND_BUFFER): Use RETALLOC.
(SET_LIST_BIT): Don't cast.
(re_wchar_t): New type.
(re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC
that those two functions will always properly return.
(IMMEDIATE_QUIT_CHECK): Cast to void.
(analyse_first): Use recursion rather than an explicit stack.
(re_compile_fastmap): Can't fail anymore.
(re_search_2): Don't check re_compile_fastmap for failure.
(PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT.
Now also sets the new value (passed in a new argument).
(re_match_2_internal): Use it.
Also, use a new var `reg' of type size_t when looping through regs
rather than reuse the inappropriate `mcnt'.

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Oct 2000 08:36:13 +0000 (08:36 +0000)]
*** empty log message ***

23 years ago(dir_name_r): Declare it.
Jim Meyering [Wed, 25 Oct 2000 08:36:08 +0000 (08:36 +0000)]
(dir_name_r): Declare it.

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Oct 2000 08:34:36 +0000 (08:34 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Oct 2000 06:01:31 +0000 (06:01 +0000)]
*** empty log message ***

23 years agocppi, on one line
Jim Meyering [Wed, 25 Oct 2000 06:01:24 +0000 (06:01 +0000)]
cppi, on one line

23 years agoUpdate from libc.
Jim Meyering [Wed, 25 Oct 2000 06:00:26 +0000 (06:00 +0000)]
Update from libc.

23 years ago*** empty log message ***
Andrew Innes [Tue, 24 Oct 2000 14:01:10 +0000 (14:01 +0000)]
*** empty log message ***

23 years ago(IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on
Andrew Innes [Tue, 24 Oct 2000 14:00:55 +0000 (14:00 +0000)]
(IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on
NT-Emacs only.
(re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT,
so that re_search functions only quit when callers expect them to.

23 years ago(regex_compile): Fix previous change.
Kenichi Handa [Tue, 24 Oct 2000 08:27:34 +0000 (08:27 +0000)]
(regex_compile): Fix previous change.

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

23 years ago(hard_locale): Revert last change -- it was simply
Jim Meyering [Tue, 24 Oct 2000 08:20:13 +0000 (08:20 +0000)]
(hard_locale): Revert last change -- it was simply
wrong.  That set_locale call must not have any side effects.
From Paul Eggert.

23 years ago(regex_compile): Change the way of handling a range from a char less
Kenichi Handa [Tue, 24 Oct 2000 08:10:27 +0000 (08:10 +0000)]
(regex_compile): Change the way of handling a range from a char less
than 256 to a char not less than 256.

23 years ago*** empty log message ***
Kenichi Handa [Tue, 24 Oct 2000 08:10:02 +0000 (08:10 +0000)]
*** empty log message ***

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 ***