gnulib.git
21 years agoSync from libc, now that it has the latest fix.
Jim Meyering [Mon, 25 Nov 2002 13:22:20 +0000 (13:22 +0000)]
Sync from libc, now that it has the latest fix.

21 years agoremove trailing spaces
Jim Meyering [Mon, 25 Nov 2002 13:17:17 +0000 (13:17 +0000)]
remove trailing spaces

21 years agorestore additional quoting on variables
Karl Berry [Mon, 25 Nov 2002 00:21:32 +0000 (00:21 +0000)]
restore additional quoting on variables

21 years agoaccount for gnulib changing libc files to gpl
Karl Berry [Mon, 25 Nov 2002 00:20:03 +0000 (00:20 +0000)]
account for gnulib changing libc files to gpl

21 years agosome libc files now not copyable, some newly copyable
Karl Berry [Mon, 25 Nov 2002 00:19:45 +0000 (00:19 +0000)]
some libc files now not copyable, some newly copyable

21 years agonew automake release/directory
Karl Berry [Mon, 25 Nov 2002 00:18:50 +0000 (00:18 +0000)]
new automake release/directory

21 years agochange license to gpl.
Karl Berry [Mon, 25 Nov 2002 00:17:33 +0000 (00:17 +0000)]
change license to gpl.

21 years ago.
Jim Meyering [Sun, 24 Nov 2002 10:40:09 +0000 (10:40 +0000)]
.

21 years agoMerge in changes from libc.
Jim Meyering [Sun, 24 Nov 2002 10:39:54 +0000 (10:39 +0000)]
Merge in changes from libc.

21 years ago.
Jim Meyering [Sun, 24 Nov 2002 10:06:26 +0000 (10:06 +0000)]
.

21 years agoAvoid a link-time failure on some Linux systems.
Jim Meyering [Sun, 24 Nov 2002 10:06:16 +0000 (10:06 +0000)]
Avoid a link-time failure on some Linux systems.

(STATIC): Define to be empty (_LIBC) or `static' (otherwise).
(__mon_yday): Declare with the STATIC attribute.
(__mktime_internal): Likewise.

21 years ago.
Jim Meyering [Sat, 23 Nov 2002 16:17:51 +0000 (16:17 +0000)]
.

21 years ago(str2signum, sig2str): Avoid a warning from gcc:
Jim Meyering [Sat, 23 Nov 2002 16:17:34 +0000 (16:17 +0000)]
(str2signum, sig2str): Avoid a warning from gcc:
Use `unsigned', not `int', as type of index.

21 years ago.
Jim Meyering [Sat, 23 Nov 2002 15:47:51 +0000 (15:47 +0000)]
.

21 years ago[@BEGIN_LSTAT_ONLY@]: Include <string.h>.
Jim Meyering [Sat, 23 Nov 2002 15:47:14 +0000 (15:47 +0000)]
[@BEGIN_LSTAT_ONLY@]: Include <string.h>.

21 years ago.
Jim Meyering [Sat, 23 Nov 2002 15:09:07 +0000 (15:09 +0000)]
.

21 years agoRemove unneeded parentheses around operands of `defined'.
Jim Meyering [Sat, 23 Nov 2002 15:08:35 +0000 (15:08 +0000)]
Remove unneeded parentheses around operands of `defined'.

21 years agoAdd copyright date of 2002.
Jim Meyering [Sat, 23 Nov 2002 15:07:14 +0000 (15:07 +0000)]
Add copyright date of 2002.

21 years agoAdd copyright notice.
Paul Eggert [Sat, 23 Nov 2002 07:23:50 +0000 (07:23 +0000)]
Add copyright notice.

21 years agohash.c: Avoid use of <assert.h>.
Paul Eggert [Sat, 23 Nov 2002 07:03:07 +0000 (07:03 +0000)]
hash.c: Avoid use of <assert.h>.

21 years agoAvoid use of <assert.h>, as the GNU Coding Standards hint that one
Paul Eggert [Sat, 23 Nov 2002 07:02:40 +0000 (07:02 +0000)]
Avoid use of <assert.h>, as the GNU Coding Standards hint that one
should use `if (! x) abort ();' rather than `assert (x);', and anyway
it's one less thing to worry about configuring.  (hash_lookup,
hash_get_first, hash_get_next, hash_find_entry, hash_rehash,
hash_insert): Use abort rather than assert.

21 years agoquotearg.c, quotearg.c changes to assume C89 and fix a few bugs
Paul Eggert [Sat, 23 Nov 2002 06:46:25 +0000 (06:46 +0000)]
quotearg.c, quotearg.c changes to assume C89 and fix a few bugs
(merging changes from Bison, tar).

21 years agoInclude quotearg.h immediately after config.h.
Paul Eggert [Sat, 23 Nov 2002 06:45:49 +0000 (06:45 +0000)]
Include quotearg.h immediately after config.h.
No need to include stddef.h or sys/types.h any more.
Surround local include files with "", not "<>".
Assume HAVE_LIMITS_H unconditionally, as we assume C89.
Similarly, assume HAVE_C_BACKSLASH_A, CHAR_BIT, UCHAR_MAX, UINT_MAX,
HAVE_STDLIB_H, HAVE_STRING_H, STDC_HEADERS.
(HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
(mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
(ISPRINT): Remove; no longer needed now that we assume C89.

(clone_quoting_options, quotearg_buffer, quotearg_n_options):
Preserve errno.

(quotearg_buffer_restyled, quotearg_n, quotearg_n_style,
quotearg_char): Use SIZE_MAX rather than
(size_t) -1 when we are talking about "infinity".

(quotearg_buffer_restyled): Fix bug when quoting trigraphs.

21 years agoAllow multiple inclusion by surrounding with
Paul Eggert [Sat, 23 Nov 2002 06:45:22 +0000 (06:45 +0000)]
Allow multiple inclusion by surrounding with
"#ifndef QUOTEARG_H_".  Include <stddef.h>, for size_t,
so that we can be included first.
(PARAMS): Remove; we now assume C89 or later.  All uses removed.

21 years agoOrthogonal approach to read()/write() that handles EINTR and counts > 2^31
Bruno Haible [Fri, 22 Nov 2002 16:25:53 +0000 (16:25 +0000)]
Orthogonal approach to read()/write() that handles EINTR and counts > 2^31
correctly.

21 years agoRemove case insensitive option matching.
Bruno Haible [Thu, 21 Nov 2002 20:15:39 +0000 (20:15 +0000)]
Remove case insensitive option matching.

21 years agoComment tweaks.
Bruno Haible [Thu, 21 Nov 2002 19:16:29 +0000 (19:16 +0000)]
Comment tweaks.

21 years agoComment tweak.
Bruno Haible [Thu, 21 Nov 2002 15:02:25 +0000 (15:02 +0000)]
Comment tweak.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:33:18 +0000 (13:33 +0000)]
*** empty log message ***

21 years ago(strdup): Tweak comment and initial #if/#include.
Jim Meyering [Thu, 21 Nov 2002 13:33:10 +0000 (13:33 +0000)]
(strdup): Tweak comment and initial #if/#include.

21 years agoRemove strdup.c.
Jim Meyering [Thu, 21 Nov 2002 13:32:12 +0000 (13:32 +0000)]
Remove strdup.c.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:23:02 +0000 (13:23 +0000)]
*** empty log message ***

21 years ago2002-09-25 Paul Eggert <eggert@twinsun.com>
Jim Meyering [Thu, 21 Nov 2002 13:22:51 +0000 (13:22 +0000)]
2002-09-25  Paul Eggert  <eggert@twinsun.com>

[! HAVE_INTTYPES_H && HAVE_STDINT_H] Include <stdint.h>.
(UINTMAX_MAX) [!defined UINTMAX_MAX]: New macro.
(PROPAGATE_ALL_ONES): Work even if X is unsigned and narrower than
int.  Work more efficiently if X is the same width as uintmax_t.
Do not compare X to -1, to avoid bogus compiler warning.
(get_fs_usage): (uintmax_t) -1 -> UINTMAX_MAX to avoid a cast.
Don't assume that f_frsize and f_bsize are the same type.

21 years agoupdate copyright date
Jim Meyering [Thu, 21 Nov 2002 09:51:39 +0000 (09:51 +0000)]
update copyright date

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 09:50:58 +0000 (09:50 +0000)]
*** empty log message ***

21 years ago2002-07-13 Bruno Haible <bruno@clisp.org>
Jim Meyering [Thu, 21 Nov 2002 09:50:43 +0000 (09:50 +0000)]
2002-07-13  Bruno Haible  <bruno@clisp.org>

#undef MNT_IGNORE before defining it, to avoid warning
on FreeBSD.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 09:46:15 +0000 (09:46 +0000)]
*** empty log message ***

21 years ago(make_path): Minor reformatting.
Jim Meyering [Thu, 21 Nov 2002 09:46:03 +0000 (09:46 +0000)]
(make_path): Minor reformatting.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 09:44:39 +0000 (09:44 +0000)]
*** empty log message ***

21 years ago(make_path): Restore umask *before* creating the final component.
Jim Meyering [Thu, 21 Nov 2002 09:44:27 +0000 (09:44 +0000)]
(make_path): Restore umask *before* creating the final component.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:43:55 +0000 (08:43 +0000)]
*** empty log message ***

21 years agoAdjust to work with new autoconf macros, AC_FUNC_MALLOC
Jim Meyering [Thu, 21 Nov 2002 08:43:42 +0000 (08:43 +0000)]
Adjust to work with new autoconf macros, AC_FUNC_MALLOC
and AC_FUNC_REALLOC: test #ifndef HAVE_MALLOC/HAVE_REALLOC.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:35:10 +0000 (08:35 +0000)]
*** empty log message ***

21 years ago(ME_DUMMY): Don't count entries of type `auto' as dummy
Jim Meyering [Thu, 21 Nov 2002 08:32:22 +0000 (08:32 +0000)]
(ME_DUMMY): Don't count entries of type `auto' as dummy
ones.  At least on GNU/Linux systems, `auto' means something else.
From Michael Stone.

21 years agoMerge argmatch cleanups from Bison. Assume C89.
Paul Eggert [Thu, 21 Nov 2002 07:20:15 +0000 (07:20 +0000)]
Merge argmatch cleanups from Bison.  Assume C89.

21 years agoDo not include <config.h> or <sys/types.h>.
Paul Eggert [Thu, 21 Nov 2002 07:19:54 +0000 (07:19 +0000)]
Do not include <config.h> or <sys/types.h>.
Include <stddef.h> instead, since it's all we need for size_t.
(PARAMS): Remove.  All uses removed.
(ARRAY_CARDINALITY): Do not bother to #undef.
(ARRAY_CARDINALITY, ARGMATCH, ARGCASEMATCH, invalid_arg,
ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Remove unnecessary parentheses.
(ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Insert necessary parentheses.
(ARGMATCH_CONSTRAINT, ARGMATCH_VERIFY): New macros.
(ARGMATCH_ASSERT): Use ARGMATCH_CONSTRAINT.

21 years agoInclude config.h here, not in argmatch.h.
Paul Eggert [Thu, 21 Nov 2002 07:19:33 +0000 (07:19 +0000)]
Include config.h here, not in argmatch.h.
Include stdlib.h, for EXIT_FAILURE.
Always include <string.h>, since we assume C89.
(EXIT_FAILURE): Remove pre-C89 bug workaround.

21 years agoStandard specification idiom. Make mbswidth.h self contained.
Bruno Haible [Tue, 19 Nov 2002 13:58:18 +0000 (13:58 +0000)]
Standard specification idiom. Make mbswidth.h self contained.

21 years agoMove to ANSI C.
Bruno Haible [Tue, 19 Nov 2002 13:48:57 +0000 (13:48 +0000)]
Move to ANSI C.

21 years agoMove to ANSI C.
Bruno Haible [Tue, 19 Nov 2002 13:32:42 +0000 (13:32 +0000)]
Move to ANSI C.

21 years ago(_GNU_SOURCE): Don't define.
Dave Love [Mon, 18 Nov 2002 15:40:28 +0000 (15:40 +0000)]
(_GNU_SOURCE): Don't define.

21 years agoMinimize diffs to glibc. Modernize.
Bruno Haible [Fri, 15 Nov 2002 17:36:03 +0000 (17:36 +0000)]
Minimize diffs to glibc. Modernize.

21 years agoAssume ANSI C.
Bruno Haible [Fri, 15 Nov 2002 17:35:33 +0000 (17:35 +0000)]
Assume ANSI C.

21 years ago.
Karl Berry [Thu, 14 Nov 2002 21:06:45 +0000 (21:06 +0000)]
.

21 years ago`do' on separate line, instead of `for var; do'.
Karl Berry [Thu, 14 Nov 2002 21:06:28 +0000 (21:06 +0000)]
`do' on separate line, instead of `for var; do'.

21 years agoupdate from prep
Karl Berry [Thu, 14 Nov 2002 13:48:38 +0000 (13:48 +0000)]
update from prep

21 years agoupdate from prep
Karl Berry [Tue, 12 Nov 2002 14:34:07 +0000 (14:34 +0000)]
update from prep

21 years ago(regexec): Fix pmatch declaration.
Dave Love [Thu, 7 Nov 2002 20:53:33 +0000 (20:53 +0000)]
(regexec): Fix pmatch declaration.

21 years agoChange argument type to 'unsigned long'.
Bruno Haible [Wed, 6 Nov 2002 18:25:27 +0000 (18:25 +0000)]
Change argument type to 'unsigned long'.

21 years agoGreatest common divisor.
Bruno Haible [Tue, 5 Nov 2002 21:51:34 +0000 (21:51 +0000)]
Greatest common divisor.

21 years agoInclude gettext.h instead of <libintl.h> with #ifdefs.
Bruno Haible [Tue, 5 Nov 2002 21:45:29 +0000 (21:45 +0000)]
Include gettext.h instead of <libintl.h> with #ifdefs.

21 years agoupdate from gnuorg
Karl Berry [Tue, 5 Nov 2002 13:47:19 +0000 (13:47 +0000)]
update from gnuorg

21 years agoNew header files.
Bruno Haible [Mon, 4 Nov 2002 15:24:56 +0000 (15:24 +0000)]
New header files.

21 years agoUpdate config.charset and localcharset.c to current gettext version.
Bruno Haible [Mon, 4 Nov 2002 13:53:07 +0000 (13:53 +0000)]
Update config.charset and localcharset.c to current gettext version.

21 years ago * configure.in: Add AC_CONFIG_AUX_DIR call.
Bruno Haible [Fri, 1 Nov 2002 12:18:03 +0000 (12:18 +0000)]
    * configure.in: Add AC_CONFIG_AUX_DIR call.
        (AC_OUTPUT): Add m4/Makefile, lib/Makefile. Remove doc/Makefile,
        test/Makefile.
        * Makefile.in (subdirs): Add m4, lib. Remove doc, test.

21 years agoupdate from texinfo
Karl Berry [Fri, 1 Nov 2002 01:42:06 +0000 (01:42 +0000)]
update from texinfo

21 years agoupdate from texinfo
Karl Berry [Thu, 31 Oct 2002 01:01:19 +0000 (01:01 +0000)]
update from texinfo

21 years agotimestamp
Karl Berry [Sat, 26 Oct 2002 13:07:56 +0000 (13:07 +0000)]
timestamp

21 years agoupdate from texinfo
Karl Berry [Wed, 23 Oct 2002 00:20:40 +0000 (00:20 +0000)]
update from texinfo

21 years agoupdate
Karl Berry [Tue, 22 Oct 2002 22:38:19 +0000 (22:38 +0000)]
update

21 years agoupdate from texinfo
Karl Berry [Fri, 18 Oct 2002 21:05:28 +0000 (21:05 +0000)]
update from texinfo

21 years agoupdate from texinfo
Karl Berry [Wed, 2 Oct 2002 00:29:19 +0000 (00:29 +0000)]
update from texinfo

21 years agoComment and whitespace changes regarding # define __restrict_arr
Francesco Potortl [Mon, 30 Sep 2002 08:12:11 +0000 (08:12 +0000)]
Comment and whitespace changes regarding # define __restrict_arr

21 years agoupdate from texinfo
Karl Berry [Sun, 29 Sep 2002 22:57:37 +0000 (22:57 +0000)]
update from texinfo

21 years ago.
Karl Berry [Sat, 28 Sep 2002 15:06:54 +0000 (15:06 +0000)]
.

21 years agocan't copy install-sh/mkinstalldirs from installed automake until the
Karl Berry [Sat, 28 Sep 2002 15:06:23 +0000 (15:06 +0000)]
can't copy install-sh/mkinstalldirs from installed automake until the
next release, since changes have been made.

21 years agoupdate from texinfo
Karl Berry [Fri, 27 Sep 2002 20:19:45 +0000 (20:19 +0000)]
update from texinfo

21 years ago(__restrict_arr): Don't define if already defined.
Richard Stallman [Thu, 26 Sep 2002 22:04:14 +0000 (22:04 +0000)]
(__restrict_arr): Don't define if already defined.

21 years agoenable gettext.h check.
Karl Berry [Wed, 25 Sep 2002 15:26:47 +0000 (15:26 +0000)]
enable gettext.h check.

21 years agoupdate gettext.h from gettext.h
Karl Berry [Wed, 25 Sep 2002 15:26:39 +0000 (15:26 +0000)]
update gettext.h from gettext.h

21 years agoadd gettext.h.
Karl Berry [Wed, 25 Sep 2002 15:25:37 +0000 (15:25 +0000)]
add gettext.h.

21 years agoupdate
Karl Berry [Wed, 25 Sep 2002 15:24:18 +0000 (15:24 +0000)]
update

21 years agocopies from libc.
Karl Berry [Wed, 25 Sep 2002 15:22:13 +0000 (15:22 +0000)]
copies from libc.

21 years agocopy from libc/string (via ../config/srclist*).
Karl Berry [Wed, 25 Sep 2002 15:21:38 +0000 (15:21 +0000)]
copy from libc/string (via ../config/srclist*).

21 years agoadd strdup.c.
Karl Berry [Wed, 25 Sep 2002 15:20:57 +0000 (15:20 +0000)]
add strdup.c.

21 years agoupdate from libc
Karl Berry [Wed, 25 Sep 2002 14:19:24 +0000 (14:19 +0000)]
update from libc

21 years agoupdate from automake 1.6
Karl Berry [Wed, 25 Sep 2002 14:18:57 +0000 (14:18 +0000)]
update from automake 1.6

21 years agoremove gettext m4 files, better to get from gettext directly.
Karl Berry [Tue, 24 Sep 2002 16:09:00 +0000 (16:09 +0000)]
remove gettext m4 files, better to get from gettext directly.

21 years agoremove gettext m4 files, better to get from gettext directly.
Karl Berry [Tue, 24 Sep 2002 15:40:12 +0000 (15:40 +0000)]
remove gettext m4 files, better to get from gettext directly.

21 years agoautoconf 2.54
Karl Berry [Fri, 20 Sep 2002 14:18:12 +0000 (14:18 +0000)]
autoconf 2.54

21 years agofix variable definitions
Karl Berry [Fri, 13 Sep 2002 20:40:39 +0000 (20:40 +0000)]
fix variable definitions

21 years agoINSTALL from autoconf
Karl Berry [Thu, 12 Sep 2002 20:29:26 +0000 (20:29 +0000)]
INSTALL from autoconf

21 years agosync and scripts to check syncness
Karl Berry [Tue, 10 Sep 2002 23:41:12 +0000 (23:41 +0000)]
sync and scripts to check syncness

21 years ago(DISCARD_FAILURE_REG_OR_COUNT): Delete.
Stefan Monnier [Tue, 10 Sep 2002 05:59:32 +0000 (05:59 +0000)]
(DISCARD_FAILURE_REG_OR_COUNT): Delete.
(CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1.
(re_match_2_internal): Be more careful with infinite loops.

21 years ago(regnum_t): Use signed int, not unsigned int.
Richard Stallman [Mon, 9 Sep 2002 19:41:30 +0000 (19:41 +0000)]
(regnum_t): Use signed int, not unsigned int.

21 years ago(set_image_of_range_1): In no-TRANSLATE case,
Richard Stallman [Fri, 6 Sep 2002 03:08:53 +0000 (03:08 +0000)]
(set_image_of_range_1): In no-TRANSLATE case,
call EXTEND_RANGE_TABLE and return a proper value.
(set_image_of_range): Don't call set_image_of_range_1
if no TRANSLATE or if range includes all of Latin-1.
Only call it for the Latin-1 part of the range.
For other cases, make two separate ranges,
one for the original specified characters and one for
their case-conversions.

21 years ago(set_image_of_range_1): New function.
Richard Stallman [Thu, 5 Sep 2002 02:34:37 +0000 (02:34 +0000)]
(set_image_of_range_1): New function.
(set_image_of_range): Use set_image_of_range_1 for Latin-1.
Return a value to indicate running out of memory.
(SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range.
(extend_range_table_work_area): New subroutine.
(EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA.
Different calling conventions, and used from set_image_of_range{,_1}.
(IMMEDIATE_QUIT_CHECK): Definitions moved.

21 years agofrom autoconf
Karl Berry [Tue, 3 Sep 2002 15:46:23 +0000 (15:46 +0000)]
from autoconf

21 years agosimplest version
Karl Berry [Tue, 3 Sep 2002 15:36:39 +0000 (15:36 +0000)]
simplest version

21 years agoupdate from prep
Karl Berry [Sun, 25 Aug 2002 23:38:50 +0000 (23:38 +0000)]
update from prep