gnulib.git
23 years ago*** empty log message *** TEXTUTILS-2_0_10
Jim Meyering [Sat, 9 Dec 2000 22:06:03 +0000 (22:06 +0000)]
*** empty log message ***

23 years ago(jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
Jim Meyering [Sat, 9 Dec 2000 22:05:54 +0000 (22:05 +0000)]
(jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.

23 years ago.
Jim Meyering [Sat, 9 Dec 2000 22:05:28 +0000 (22:05 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Fri, 8 Dec 2000 18:32:11 +0000 (18:32 +0000)]
*** empty log message ***

23 years ago(mbsnwidth): Don't loop endlessly when called with an
Jim Meyering [Fri, 8 Dec 2000 18:31:38 +0000 (18:31 +0000)]
(mbsnwidth): Don't loop endlessly when called with an
invalid mulitbyte sequence and with the MBSW_ACCEPT_INVALID flag set.

23 years ago*** empty log message ***
Jim Meyering [Thu, 7 Dec 2000 14:14:18 +0000 (14:14 +0000)]
*** empty log message ***

23 years ago(ISSLASH): Define.
Jim Meyering [Thu, 7 Dec 2000 14:13:13 +0000 (14:13 +0000)]
(ISSLASH): Define.
(strip_trailing_slashes): Use ISSLASH rather than comparing against `/'.
From Prashant TR.

23 years agoconvert a > expression to the equivalent < one
Jim Meyering [Thu, 7 Dec 2000 14:11:52 +0000 (14:11 +0000)]
convert a > expression to the equivalent < one

23 years ago*** empty log message ***
Jim Meyering [Thu, 7 Dec 2000 14:10:33 +0000 (14:10 +0000)]
*** empty log message ***

23 years ago(FILESYSTEM_PREFIX_LEN): Define.
Jim Meyering [Thu, 7 Dec 2000 14:10:21 +0000 (14:10 +0000)]
(FILESYSTEM_PREFIX_LEN): Define.
(dir_name_r): Declare this function as static.
[BACKSLASH_IS_PATH_SEPARATOR]: Fix a bug that'd
manifest itself on a name containing a mix of slashes and
backslashes.
Make this function work with names starting with a DOS-style
drive letter and colon prefix.
(dir_name): Append `.' if necessary.
Based mostly on patches from Prashant TR and Eli Zaretskii.

23 years ago(dir_name_r): Remove prototype.
Jim Meyering [Thu, 7 Dec 2000 11:50:35 +0000 (11:50 +0000)]
(dir_name_r): Remove prototype.

23 years ago*** empty log message ***
Jim Meyering [Wed, 6 Dec 2000 11:06:43 +0000 (11:06 +0000)]
*** empty log message ***

23 years agoCheck for strtol. Mainly as a cue to cause automake to include CPPI-1_8
Jim Meyering [Wed, 6 Dec 2000 11:06:39 +0000 (11:06 +0000)]
Check for strtol.  Mainly as a cue to cause automake to include
strtol.c -- that file is included by each of strtoul.c and strtoull.c.
Check for limits.h -- strtol.c needs it.

23 years ago*** empty log message ***
Jim Meyering [Wed, 6 Dec 2000 10:52:37 +0000 (10:52 +0000)]
*** empty log message ***

23 years agoCheck for declarations of strtoul and strtoull.
Jim Meyering [Wed, 6 Dec 2000 10:52:28 +0000 (10:52 +0000)]
Check for declarations of strtoul and strtoull.

23 years agoseparate conditions for strtoul and strtoull
Jim Meyering [Wed, 6 Dec 2000 10:26:51 +0000 (10:26 +0000)]
separate conditions for strtoul and strtoull

23 years ago*** empty log message ***
Jim Meyering [Wed, 6 Dec 2000 09:55:03 +0000 (09:55 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 6 Dec 2000 09:35:48 +0000 (09:35 +0000)]
*** empty log message ***

23 years ago(jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
Jim Meyering [Wed, 6 Dec 2000 09:35:40 +0000 (09:35 +0000)]
(jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
strtoull, we may well need the replacement strtoul, too.

23 years ago.
Jim Meyering [Tue, 5 Dec 2000 13:53:13 +0000 (13:53 +0000)]
.

23 years ago(dir_name_r): Add `const' in a few local declarations.
Jim Meyering [Tue, 5 Dec 2000 13:14:13 +0000 (13:14 +0000)]
(dir_name_r): Add `const' in a few local declarations.

23 years ago*** empty log message ***
Jim Meyering [Mon, 4 Dec 2000 09:41:28 +0000 (09:41 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 4 Dec 2000 09:37:40 +0000 (09:37 +0000)]
*** empty log message ***

23 years agoAlso include memory.h, stdlib.h, unistd.h if appropriate.
Jim Meyering [Mon, 4 Dec 2000 09:37:33 +0000 (09:37 +0000)]
Also include memory.h, stdlib.h, unistd.h if appropriate.

23 years ago*** empty log message ***
Jim Meyering [Mon, 4 Dec 2000 09:15:54 +0000 (09:15 +0000)]
*** empty log message ***

23 years ago[!HAVE_DECL_MALLOC]: Declare malloc.
Jim Meyering [Mon, 4 Dec 2000 09:15:49 +0000 (09:15 +0000)]
[!HAVE_DECL_MALLOC]: Declare malloc.

23 years agoAdd this: TEXTUTILS-2_0_9
Jim Meyering [Sun, 3 Dec 2000 10:04:30 +0000 (10:04 +0000)]
Add this:
  AC_REQUIRE([AC_TYPE_OFF_T])

23 years ago*** empty log message ***
Jim Meyering [Sat, 2 Dec 2000 20:45:40 +0000 (20:45 +0000)]
*** empty log message ***

23 years agoMake idempotent, to avoid some obscure warnings.
Jim Meyering [Sat, 2 Dec 2000 20:45:30 +0000 (20:45 +0000)]
Make idempotent, to avoid some obscure warnings.

23 years ago.
Jim Meyering [Sat, 2 Dec 2000 18:52:17 +0000 (18:52 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 2 Dec 2000 18:52:03 +0000 (18:52 +0000)]
*** empty log message ***

23 years ago(OFF_T_PRINTF_FORMAT_STRING): require it.
Jim Meyering [Sat, 2 Dec 2000 18:51:26 +0000 (18:51 +0000)]
(OFF_T_PRINTF_FORMAT_STRING): require it.

23 years ago*** empty log message ***
Jim Meyering [Sat, 2 Dec 2000 18:04:19 +0000 (18:04 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 2 Dec 2000 18:02:05 +0000 (18:02 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 2 Dec 2000 17:44:04 +0000 (17:44 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 2 Dec 2000 17:40:26 +0000 (17:40 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 2 Dec 2000 17:39:59 +0000 (17:39 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 2 Dec 2000 09:58:43 +0000 (09:58 +0000)]
*** empty log message ***

23 years agoInclude <config.h> before any system include file.
Jim Meyering [Sat, 2 Dec 2000 09:58:31 +0000 (09:58 +0000)]
Include <config.h> before any system include file.

23 years ago*** empty log message ***
Jim Meyering [Thu, 30 Nov 2000 20:36:08 +0000 (20:36 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Thu, 30 Nov 2000 20:35:02 +0000 (20:35 +0000)]
*** empty log message ***

23 years ago(jm_MACROS): Add stdint.h to the list of headers.
Jim Meyering [Thu, 30 Nov 2000 20:34:23 +0000 (20:34 +0000)]
(jm_MACROS): Add stdint.h to the list of headers.

23 years ago*** empty log message ***
Jim Meyering [Thu, 30 Nov 2000 09:36:04 +0000 (09:36 +0000)]
*** empty log message ***

23 years ago(dir_name_r): Fix typo: int -> size_t.
Jim Meyering [Thu, 30 Nov 2000 09:35:52 +0000 (09:35 +0000)]
(dir_name_r): Fix typo: int -> size_t.

23 years ago*** empty log message ***
Jim Meyering [Thu, 30 Nov 2000 07:45:38 +0000 (07:45 +0000)]
*** empty log message ***

23 years agos/ifval/m4_ifval/ to accommodate new autoconf.
Jim Meyering [Thu, 30 Nov 2000 07:44:58 +0000 (07:44 +0000)]
s/ifval/m4_ifval/ to accommodate new autoconf.

23 years ago.
Jim Meyering [Thu, 30 Nov 2000 07:40:16 +0000 (07:40 +0000)]
.

23 years agoremove useless parens
Jim Meyering [Mon, 27 Nov 2000 09:33:53 +0000 (09:33 +0000)]
remove useless parens

23 years ago. FILEUTILS-4_0_33
Jim Meyering [Sun, 26 Nov 2000 23:30:27 +0000 (23:30 +0000)]
.

23 years ago.
Jim Meyering [Sun, 26 Nov 2000 23:01:02 +0000 (23:01 +0000)]
.

23 years agoInclude sys/types.h. From Werner Almesberger.
Jim Meyering [Sun, 26 Nov 2000 16:52:29 +0000 (16:52 +0000)]
Include sys/types.h.  From Werner Almesberger.

23 years ago.
Jim Meyering [Sun, 26 Nov 2000 15:59:59 +0000 (15:59 +0000)]
.

23 years ago.
Jim Meyering [Thu, 23 Nov 2000 21:48:47 +0000 (21:48 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Thu, 23 Nov 2000 07:24:59 +0000 (07:24 +0000)]
*** empty log message ***

23 years ago(my_strftime): Do not invoke mbrlen with a
Jim Meyering [Thu, 23 Nov 2000 07:24:51 +0000 (07:24 +0000)]
(my_strftime): Do not invoke mbrlen with a
size of (size_t) -1; it's not portable.

23 years ago.
Jim Meyering [Sat, 18 Nov 2000 11:17:41 +0000 (11:17 +0000)]
.

23 years agotweak a comment
Jim Meyering [Sat, 18 Nov 2000 09:53:33 +0000 (09:53 +0000)]
tweak a comment

23 years agoFormatting changes.
Jim Meyering [Sat, 18 Nov 2000 09:50:09 +0000 (09:50 +0000)]
Formatting changes.
(obstack_grow, obstack_grow0): Don't cast WHERE at all: that would
prevent type checking.
(obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
cast the value to (void *): assigning a `foo *' to a `void *'
variable is valid.
(obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.

23 years ago*** empty log message ***
Jim Meyering [Fri, 17 Nov 2000 08:19:14 +0000 (08:19 +0000)]
*** empty log message ***

23 years agoUpdate from GNU libc.
Jim Meyering [Fri, 17 Nov 2000 08:19:01 +0000 (08:19 +0000)]
Update from GNU libc.

23 years ago*** empty log message ***
Jim Meyering [Thu, 16 Nov 2000 12:20:35 +0000 (12:20 +0000)]
*** empty log message ***

23 years agoIncorporate weak-alias-related changes from glibc.
Jim Meyering [Thu, 16 Nov 2000 10:15:54 +0000 (10:15 +0000)]
Incorporate weak-alias-related changes from glibc.

23 years agoremove bruno's 11-03 entry for unicodeio.c
Jim Meyering [Tue, 14 Nov 2000 21:45:59 +0000 (21:45 +0000)]
remove bruno's 11-03 entry for unicodeio.c

23 years agoAdd a couple #includes, merging from GNU libc version.
Jim Meyering [Sat, 11 Nov 2000 14:32:00 +0000 (14:32 +0000)]
Add a couple #includes, merging from GNU libc version.

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.