gnulib.git
24 years ago*** empty log message ***
Jim Meyering [Thu, 4 May 2000 06:36:10 +0000 (06:36 +0000)]
*** empty log message ***

24 years agoupdate from glibc
Jim Meyering [Thu, 4 May 2000 06:35:49 +0000 (06:35 +0000)]
update from glibc

24 years agoNew file, from glibc.
Jim Meyering [Thu, 4 May 2000 06:34:23 +0000 (06:34 +0000)]
New file, from glibc.

24 years ago*** empty log message ***
Jim Meyering [Thu, 4 May 2000 05:35:04 +0000 (05:35 +0000)]
*** empty log message ***

24 years agoUpdate from glibc.
Jim Meyering [Thu, 4 May 2000 05:34:55 +0000 (05:34 +0000)]
Update from glibc.

24 years ago*** empty log message ***
Jim Meyering [Wed, 3 May 2000 08:37:11 +0000 (08:37 +0000)]
*** empty log message ***

24 years ago(AC_CHECK_DECLS): Add strndup.
Jim Meyering [Wed, 3 May 2000 08:37:03 +0000 (08:37 +0000)]
(AC_CHECK_DECLS): Add strndup.

24 years ago*** empty log message ***
Jim Meyering [Wed, 3 May 2000 08:30:24 +0000 (08:30 +0000)]
*** empty log message ***

24 years ago(AC_SYS_LARGEFILE): Define _GNU_SOURCE if
Jim Meyering [Wed, 3 May 2000 08:30:18 +0000 (08:30 +0000)]
(AC_SYS_LARGEFILE): Define _GNU_SOURCE if
this is needed to make ftello visible (e.g. glibc 2.1.3).  Use
compile-time test, rather than inspecting host and OS, to
decide whether to define _LARGEFILE_SOURCE.

24 years ago.
Jim Meyering [Tue, 2 May 2000 14:07:39 +0000 (14:07 +0000)]
.

24 years ago(full_write): Remove `FIXME' part of comment.
Jim Meyering [Mon, 1 May 2000 14:40:08 +0000 (14:40 +0000)]
(full_write): Remove `FIXME' part of comment.

24 years ago.
Jim Meyering [Mon, 1 May 2000 11:40:52 +0000 (11:40 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Mon, 1 May 2000 08:36:29 +0000 (08:36 +0000)]
*** empty log message ***

24 years agoUse AC_MSG_CHECKING instead of obsolete AC_CHECKING.
Jim Meyering [Mon, 1 May 2000 08:36:13 +0000 (08:36 +0000)]
Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.

24 years agofix typos
Jim Meyering [Mon, 1 May 2000 08:32:35 +0000 (08:32 +0000)]
fix typos

24 years ago*** empty log message ***
Jim Meyering [Mon, 1 May 2000 08:29:38 +0000 (08:29 +0000)]
*** empty log message ***

24 years ago(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
Jim Meyering [Mon, 1 May 2000 08:29:28 +0000 (08:29 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
Based on a patch from Bruno Haible.

24 years ago(read_filesystem_list): Add BeOS support.
Jim Meyering [Mon, 1 May 2000 08:03:33 +0000 (08:03 +0000)]
(read_filesystem_list): Add BeOS support.

24 years ago(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
Jim Meyering [Mon, 1 May 2000 07:58:34 +0000 (07:58 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.

24 years ago.
Jim Meyering [Sun, 30 Apr 2000 16:25:30 +0000 (16:25 +0000)]
.

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

24 years ago.
Jim Meyering [Sun, 30 Apr 2000 16:24:00 +0000 (16:24 +0000)]
.

24 years agoalphabetize
Jim Meyering [Sun, 30 Apr 2000 11:19:35 +0000 (11:19 +0000)]
alphabetize

24 years ago*** empty log message *** FILEUTILS-4_0r
Jim Meyering [Sat, 29 Apr 2000 09:25:58 +0000 (09:25 +0000)]
*** empty log message ***

24 years agoDeclare strdup only if it's not defined.
Jim Meyering [Sat, 29 Apr 2000 09:25:09 +0000 (09:25 +0000)]
Declare strdup only if it's not defined.

24 years ago*** empty log message ***
Jim Meyering [Fri, 28 Apr 2000 16:50:24 +0000 (16:50 +0000)]
*** empty log message ***

24 years ago[HAVE_LIMITS_H]: Include limits.h before regex.h to avoid
Jim Meyering [Fri, 28 Apr 2000 16:49:38 +0000 (16:49 +0000)]
[HAVE_LIMITS_H]: Include limits.h before regex.h to avoid
redefinition warning on some systems (HPUX).  Otherwise, regex.h is
included first, then limits.h is included by locale.h by libintl.h.
From John David Anglin.

24 years ago.
Jim Meyering [Thu, 27 Apr 2000 12:19:38 +0000 (12:19 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:47:05 +0000 (06:47 +0000)]
*** empty log message ***

24 years agotweak comment
Jim Meyering [Thu, 27 Apr 2000 06:46:13 +0000 (06:46 +0000)]
tweak comment

24 years ago.
Jim Meyering [Wed, 26 Apr 2000 12:36:49 +0000 (12:36 +0000)]
.

24 years ago(S_IRWXUGO): Define.
Jim Meyering [Wed, 26 Apr 2000 12:36:43 +0000 (12:36 +0000)]
(S_IRWXUGO): Define.
(make_path): Always perform explicit chmod if MODE specifies any
of the `special' permission bits.

24 years ago(re_match_2_internal): Don't shorten the strings anymore,
Stefan Monnier [Wed, 19 Apr 2000 21:39:18 +0000 (21:39 +0000)]
(re_match_2_internal): Don't shorten the strings anymore,
instead define end_match(1|2) more carefully.
Use GET_CHAR_BEFORE_2 for `begline'.

24 years ago*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 17:28:34 +0000 (17:28 +0000)]
*** empty log message ***

24 years agoadd comment
Jim Meyering [Tue, 18 Apr 2000 13:41:26 +0000 (13:41 +0000)]
add comment

24 years ago*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 13:40:29 +0000 (13:40 +0000)]
*** empty log message ***

24 years ago[!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define getpagesize.
Jim Meyering [Tue, 18 Apr 2000 13:40:25 +0000 (13:40 +0000)]
[!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define getpagesize.
For BeOS.  Based on a patch from Bruno Haible.

24 years ago*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 13:35:22 +0000 (13:35 +0000)]
*** empty log message ***

24 years ago(jm_PREREQ_GETPAGESIZE): New macro.
Jim Meyering [Tue, 18 Apr 2000 13:35:18 +0000 (13:35 +0000)]
(jm_PREREQ_GETPAGESIZE): New macro.
(jm_PREREQ): Use it.

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Apr 2000 11:39:36 +0000 (11:39 +0000)]
*** empty log message ***

24 years ago(my_strftime) [strftime]: Declare strftime here, since the definition
Jim Meyering [Mon, 17 Apr 2000 11:39:26 +0000 (11:39 +0000)]
(my_strftime) [strftime]: Declare strftime here, since the definition
of it to rpl_strftime also defined-away the system's declaration.

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Apr 2000 09:56:02 +0000 (09:56 +0000)]
*** empty log message ***

24 years agoGet it right :-)
Jim Meyering [Mon, 17 Apr 2000 09:55:53 +0000 (09:55 +0000)]
Get it right :-)
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
Suggestion from Akim Demaille.

24 years ago*** empty log message ***
Jim Meyering [Sat, 15 Apr 2000 21:58:37 +0000 (21:58 +0000)]
*** empty log message ***

24 years agoUse `C' to denote so-called `contiguous' files, the same way that tar does.
Jim Meyering [Sat, 15 Apr 2000 21:54:46 +0000 (21:54 +0000)]
Use `C' to denote so-called `contiguous' files, the same way that tar does.
* filemode.c (S_ISCTG) [!S_ISCTG && S_IFCTG]: Define.
(ftypelet): Use S_ISCTG.

24 years ago*** empty log message ***
Jim Meyering [Fri, 14 Apr 2000 15:42:02 +0000 (15:42 +0000)]
*** empty log message ***

24 years ago(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
Jim Meyering [Fri, 14 Apr 2000 15:41:06 +0000 (15:41 +0000)]
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.

24 years ago*** empty log message ***
Jim Meyering [Thu, 13 Apr 2000 08:15:07 +0000 (08:15 +0000)]
*** empty log message ***

24 years ago(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
Jim Meyering [Thu, 13 Apr 2000 08:15:01 +0000 (08:15 +0000)]
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
to insert required #ifndef into config.h.in.
Suggestion from Akim Demaille.

24 years ago*** empty log message ***
Jim Meyering [Wed, 12 Apr 2000 16:03:53 +0000 (16:03 +0000)]
*** empty log message ***

24 years ago(AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
Jim Meyering [Wed, 12 Apr 2000 16:03:20 +0000 (16:03 +0000)]
(AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
`AC_CHECK_HEADER' to check for locale.h.  Thanks to a report from
Christian Krackowizer.

24 years ago*** empty log message ***
Jim Meyering [Wed, 12 Apr 2000 06:21:06 +0000 (06:21 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 12 Apr 2000 06:19:55 +0000 (06:19 +0000)]
*** empty log message ***

24 years ago(_GNU_SOURCE): Define.
Jim Meyering [Wed, 12 Apr 2000 06:19:45 +0000 (06:19 +0000)]
(_GNU_SOURCE): Define.
(AC_SYS_LARGEFILE): Require.
(AM_C_PROTOTYPES): Require.

24 years ago*** empty log message ***
Jim Meyering [Sat, 8 Apr 2000 06:34:06 +0000 (06:34 +0000)]
*** empty log message ***

24 years ago(charset.alias): Use t-$@, not $@-t so the DOS 8.3
Jim Meyering [Sat, 8 Apr 2000 06:34:02 +0000 (06:34 +0000)]
(charset.alias): Use t-$@, not $@-t so the DOS 8.3
names don't conflict.  Reported by Eli Zaretskii.

24 years ago.
Jim Meyering [Sat, 8 Apr 2000 06:31:38 +0000 (06:31 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Fri, 7 Apr 2000 09:41:51 +0000 (09:41 +0000)]
*** empty log message ***

24 years ago(print_unicode_char): Avoid triggering Solaris iconv bug.
Jim Meyering [Fri, 7 Apr 2000 09:41:38 +0000 (09:41 +0000)]
(print_unicode_char): Avoid triggering Solaris iconv bug.
Deal with the different error behaviour of Irix iconv.

24 years agoMove inclusion of errno.h so it follows that of sys/types.h,
Jim Meyering [Fri, 7 Apr 2000 09:24:18 +0000 (09:24 +0000)]
Move inclusion of errno.h so it follows that of sys/types.h,
to work around system header problems on AIX 3.2.5.  From Bruno Haible.

24 years ago.
Jim Meyering [Fri, 7 Apr 2000 08:45:27 +0000 (08:45 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Thu, 6 Apr 2000 06:56:05 +0000 (06:56 +0000)]
*** empty log message ***

24 years ago(AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
Jim Meyering [Thu, 6 Apr 2000 06:55:14 +0000 (06:55 +0000)]
(AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
IRIX if the installer said otherwise.

24 years agofix two typos. Duh
Jim Meyering [Wed, 5 Apr 2000 15:22:04 +0000 (15:22 +0000)]
fix two typos.  Duh

24 years ago*** empty log message ***
Jim Meyering [Wed, 5 Apr 2000 15:16:27 +0000 (15:16 +0000)]
*** empty log message ***

24 years ago[!HAVE_UTMPX_H] (headers): Include <utmp.h>.
Jim Meyering [Wed, 5 Apr 2000 15:14:28 +0000 (15:14 +0000)]
[!HAVE_UTMPX_H] (headers): Include <utmp.h>.
(jm_CHECK_DECLS): Add getutent to the list of functions.
(_jm_DECL_HEADERS): Add utmpx.h.

24 years agoDeclare strdup.
Jim Meyering [Wed, 5 Apr 2000 15:08:11 +0000 (15:08 +0000)]
Declare strdup.

24 years ago[HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent.
Jim Meyering [Wed, 5 Apr 2000 15:05:54 +0000 (15:05 +0000)]
[HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent.

24 years agoInclude sys/types.h before sys/stat.h.
Jim Meyering [Wed, 5 Apr 2000 15:00:11 +0000 (15:00 +0000)]
Include sys/types.h before sys/stat.h.
Required for ultrix4.3.

24 years ago(canon_host): Declare strdup. Required for ultrix4.3.
Jim Meyering [Wed, 5 Apr 2000 14:57:36 +0000 (14:57 +0000)]
(canon_host): Declare strdup.  Required for ultrix4.3.

24 years ago*** empty log message ***
Jim Meyering [Wed, 5 Apr 2000 12:25:13 +0000 (12:25 +0000)]
*** empty log message ***

24 years agoBack out the 2000-04-02 change.
Jim Meyering [Wed, 5 Apr 2000 12:13:59 +0000 (12:13 +0000)]
Back out the 2000-04-02 change.
Instead of that change, simply undefine putenv in the test program.

24 years agoBack out the 2000-04-02 change.
Jim Meyering [Wed, 5 Apr 2000 11:50:48 +0000 (11:50 +0000)]
Back out the 2000-04-02 change.

24 years ago*** empty log message ***
Jim Meyering [Tue, 4 Apr 2000 12:58:57 +0000 (12:58 +0000)]
*** empty log message ***

24 years agoBe more DOS 8.3-friendly.
Jim Meyering [Tue, 4 Apr 2000 12:58:49 +0000 (12:58 +0000)]
Be more DOS 8.3-friendly.
* ref-add.sin: Renamed from ref-add.sed.in.
* ref-del.sin: Renamed from ref-del.sed.in.
* Makefile.am: Reflect renaming.

24 years agorenamed to ref-del.sin
Jim Meyering [Tue, 4 Apr 2000 12:50:59 +0000 (12:50 +0000)]
renamed to ref-del.sin

24 years agorenamed from ref-del.sed.in
Jim Meyering [Tue, 4 Apr 2000 12:50:59 +0000 (12:50 +0000)]
renamed from ref-del.sed.in

24 years agorenamed to ref-add.sin
Jim Meyering [Tue, 4 Apr 2000 12:50:44 +0000 (12:50 +0000)]
renamed to ref-add.sin

24 years agorenamed from ref-add.sed.in
Jim Meyering [Tue, 4 Apr 2000 12:50:44 +0000 (12:50 +0000)]
renamed from ref-add.sed.in

24 years agoUse a temporary file name that won't clash with `charset.alias'
Jim Meyering [Tue, 4 Apr 2000 12:47:19 +0000 (12:47 +0000)]
Use a temporary file name that won't clash with `charset.alias'
in the DOS 8.3 name space.

(charset_tmp): Define.
(install-exec-local): Use $(charset_tmp) instead of $(charset_alias)-t.
(uninstall-local): Likewise.
Reported by Eli Zaretskii.

24 years ago*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 19:35:28 +0000 (19:35 +0000)]
*** empty log message ***

24 years agoFix typo in comment.
Jim Meyering [Mon, 3 Apr 2000 19:35:24 +0000 (19:35 +0000)]
Fix typo in comment.

24 years ago*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 07:48:11 +0000 (07:48 +0000)]
*** empty log message ***

24 years ago(AC_CHECK_HEADERS): Add langinfo.h (moved here from
Jim Meyering [Mon, 3 Apr 2000 07:48:06 +0000 (07:48 +0000)]
(AC_CHECK_HEADERS): Add langinfo.h (moved here from
textutils/configure.in).  Suggestion from Paul Eggert.
(AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)

24 years ago(AC_CHECK_HEADERS): Remove langinfo.h -- put it in codeset instead.
Jim Meyering [Mon, 3 Apr 2000 07:46:51 +0000 (07:46 +0000)]
(AC_CHECK_HEADERS): Remove langinfo.h -- put it in codeset instead.
(AC_CHECK_FUNCS): Likewise for nl_langinfo.

24 years ago*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 07:32:07 +0000 (07:32 +0000)]
*** empty log message ***

24 years ago(_jm_STRFTIME_PREREQS): Check for strftime,
Jim Meyering [Mon, 3 Apr 2000 07:31:59 +0000 (07:31 +0000)]
(_jm_STRFTIME_PREREQS): Check for strftime,
since strftime.c uses HAVE_STRFTIME to decide whether to use
the underlying strftime.

24 years ago*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 07:26:43 +0000 (07:26 +0000)]
*** empty log message ***

24 years ago(AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
Jim Meyering [Mon, 3 Apr 2000 07:26:38 +0000 (07:26 +0000)]
(AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)

24 years ago*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 07:20:44 +0000 (07:20 +0000)]
*** empty log message ***

24 years ago(AC_CHECK_HEADERS): Add langinfo.h (moved here from textutils/configure.in).
Jim Meyering [Mon, 3 Apr 2000 07:20:38 +0000 (07:20 +0000)]
(AC_CHECK_HEADERS): Add langinfo.h (moved here from textutils/configure.in).

24 years ago*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 07:10:21 +0000 (07:10 +0000)]
*** empty log message ***

24 years ago(my_strftime): Make sure we call the system
Jim Meyering [Mon, 3 Apr 2000 07:09:38 +0000 (07:09 +0000)]
(my_strftime): Make sure we call the system
strftime, not ourselves, when invoking the underlying strftime.

24 years ago*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 06:24:31 +0000 (06:24 +0000)]
*** empty log message ***

24 years ago(jm_FUNC_GNU_STRFTIME): Set TZ environment
Jim Meyering [Mon, 3 Apr 2000 06:24:20 +0000 (06:24 +0000)]
(jm_FUNC_GNU_STRFTIME): Set TZ environment
variable in the shell rather than using putenv, which isn't
portable.  This avoids the configure-time inter-test dependency
on the potentially-renamed putenv function.

24 years ago* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier [Sun, 2 Apr 2000 23:56:45 +0000 (23:56 +0000)]
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
(RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros.
(GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when
we are between str1 and str2.
(MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default.
(PATFETCH): Use `TRANSLATE'.
(PATFETCH_RAW): Fetch multibyte char if applicable.
(PATUNFETCH): Remove.
(regex_compile): Rely on PATFETCH to do most of the multibyte magic.
When writing a char, write it directly into the pattern buffer rather
than going needlessly through a temp char-array.
(re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the
multibyte magic and remove the useless `#ifdef emacs'.
(bcmp_translate): Don't compare as multibyte chars when in a unibyte
buffer.
* regex.h (struct re_pattern_buffer): Make field `multibyte'
conditional on `emacs'.
* charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.

24 years ago*** empty log message ***
Jim Meyering [Sun, 2 Apr 2000 21:00:30 +0000 (21:00 +0000)]
*** empty log message ***

24 years ago(jm_CHECK_ALL_TYPES): Include <sys/stat.h>
Jim Meyering [Sun, 2 Apr 2000 21:00:24 +0000 (21:00 +0000)]
(jm_CHECK_ALL_TYPES): Include <sys/stat.h>
before checking struct stat.st_blksize, so that
HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.

24 years ago(analyse_first): New function obtained by ripping out most
Stefan Monnier [Wed, 29 Mar 2000 04:01:25 +0000 (04:01 +0000)]
(analyse_first): New function obtained by ripping out most
of re_compile_fastmap and generalizing it a little bit so that it
can also just return whether a given (sub)pattern can match the empty
string or not.
(regex_compile): Use `analyse_first' to decide whether the loop-check
needs to be done or not for *, +, *? and +? (the loop check is costly
for non-greedy repetition).
(re_compile_fastmap): Delegate the actual work to `analyse_first'.

24 years ago(REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as an expression.
Stefan Monnier [Mon, 27 Mar 2000 22:26:37 +0000 (22:26 +0000)]
(REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as an expression.
(enum re_opcode_t): Update description of succeed_n.
(PATFETCH): Always define.
(regex_compile): Use lookahead rather than PATUNFETCH (for repetition
operators, char classes, shy-groups and intervals).
Optimize special cases of intervals so as to only use succeed_n and
jump_n when really needed.
(re_compile_fastmap): Simplify handling of jump_n and succeed_n now
that we don't have to handle the special cases any more.
Simplify on_failure_jump handling as well.