gnulib.git
24 years ago(DIRECTORY_SEPARATOR): Define.
Jim Meyering [Sun, 26 Sep 1999 18:52:51 +0000 (18:52 +0000)]
(DIRECTORY_SEPARATOR): Define.
(ISSLASH): Define.
(path_concat): Allow parameter DIR to be NULL.
(xpath_concat): New function.
From Akim Demaille.

24 years ago(__attribute__): Define.
Jim Meyering [Sun, 26 Sep 1999 18:42:56 +0000 (18:42 +0000)]
(__attribute__): Define.
(ATTRIBUTE_NORETURN): Define.
(xalloc_fail_func): Add noreturn attribute.
(xalloc_die): Declare.
(NEW): Define as yet unused macro.
(XFREE): Likewise
(CCLONE): Likewise.
(CLONE): Likewise.
From Akim Demaille.

24 years ago(base_name): Add prototype. From Akim Demaille.
Jim Meyering [Sun, 26 Sep 1999 18:37:02 +0000 (18:37 +0000)]
(base_name): Add prototype.  From Akim Demaille.

24 years ago.
Jim Meyering [Fri, 24 Sep 1999 07:35:42 +0000 (07:35 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 19 Sep 1999 16:47:58 +0000 (16:47 +0000)]
*** empty log message ***

24 years ago[STAT_MACROS_BROKEN] (S_ISLNK): Undefine.
Jim Meyering [Sun, 19 Sep 1999 16:46:50 +0000 (16:46 +0000)]
[STAT_MACROS_BROKEN] (S_ISLNK): Undefine.
(S_ISLNK): Define if necessary.
This is necessary on a NEC SX-4 with SUPER-UX 9.1.

24 years agoRemove useless parens in #if directive
Jim Meyering [Sun, 19 Sep 1999 08:09:50 +0000 (08:09 +0000)]
Remove useless parens in #if directive

24 years ago*** empty log message ***
Jim Meyering [Fri, 17 Sep 1999 21:45:53 +0000 (21:45 +0000)]
*** empty log message ***

24 years ago(AC_REPLACE_FUNCS): Add strdup.
Jim Meyering [Fri, 17 Sep 1999 21:45:48 +0000 (21:45 +0000)]
(AC_REPLACE_FUNCS): Add strdup.
Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
due to missing strdup (against sh-utils-2.0).

24 years ago(ENOSYS): Don't use ENOMSG; it's not in NeXTStep3.3.
Jim Meyering [Sun, 5 Sep 1999 06:56:50 +0000 (06:56 +0000)]
(ENOSYS): Don't use ENOMSG; it's not in NeXTStep3.3.
Use EINVAL instead.

24 years agotweak comment
Jim Meyering [Sat, 4 Sep 1999 20:27:03 +0000 (20:27 +0000)]
tweak comment

24 years ago(xalloc_fail_func): Use `PARAMS'.
Jim Meyering [Thu, 2 Sep 1999 21:23:01 +0000 (21:23 +0000)]
(xalloc_fail_func): Use `PARAMS'.
(xstrdup): Add protoype.

24 years ago(version_etc_copyright): Declare it.
Jim Meyering [Wed, 1 Sep 1999 13:16:46 +0000 (13:16 +0000)]
(version_etc_copyright): Declare it.

24 years ago(version_etc_copyright): Default copyright string.
Jim Meyering [Wed, 1 Sep 1999 13:15:11 +0000 (13:15 +0000)]
(version_etc_copyright): Default copyright string.
(version_etc): Use it.

24 years ago(xalloc_fail_func): Use `PARAMS'.
Jim Meyering [Wed, 1 Sep 1999 13:09:19 +0000 (13:09 +0000)]
(xalloc_fail_func): Use `PARAMS'.

24 years ago.
Jim Meyering [Mon, 30 Aug 1999 14:34:09 +0000 (14:34 +0000)]
.

24 years ago.
Jim Meyering [Mon, 30 Aug 1999 14:33:39 +0000 (14:33 +0000)]
.

24 years ago.
Jim Meyering [Mon, 30 Aug 1999 14:30:28 +0000 (14:30 +0000)]
.

24 years ago.
Jim Meyering [Sun, 29 Aug 1999 21:13:46 +0000 (21:13 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 20:40:15 +0000 (20:40 +0000)]
*** empty log message ***

24 years agoRequire jm_BISON.
Jim Meyering [Sun, 29 Aug 1999 20:40:00 +0000 (20:40 +0000)]
Require jm_BISON.

24 years ago[emacs]: Handle character classes for multibyte chars:
Richard Stallman [Sun, 29 Aug 1999 20:38:11 +0000 (20:38 +0000)]
[emacs]: Handle character classes for multibyte chars:
(ISBLANK, ISGRAPH, ISPRINT, ISALNUM, ISALPHA, ISLOWER)
(ISPUNCT, ISSPACE, ISUPPER): New definitions for emacs only.
(ISWORD): New macro.
(re_opcode_t): Add 2 bytes of flag bits to charset and charset_not.
(CHARSET_RANGE_TABLE): Update definition.
(CHARSET_RANGE_TABLE_BITS): New macro.
(print_partial_compiled_pattern): Skip charset's range table.
(struct range_table_work_area): New field `bits'.
(SET_RANGE_TABLE_WORK_AREA_BIT): New macro.
(BIT_ALNUM, BIT_ALPHA, BIT_WORD, BIT_GRAPH, BIT_LOWER, BIT_PRINT)
(BIT_PUNCT, BIT_SPACE, BIT_UPPER): New macros.
(CLEAR_RANGE_TABLE_WORK_USED): Clear field `bits'.
(RANGE_TABLE_WORK_BITS): New macro.
(IS_CHAR_CLASS): Check for "word".
(regex_compile): Set the `bits' field for some character classes.
Handle the `word' class.  Store the `bits' field into the range table.
(re_compile_fastmap): Handle flag bits in range table.
(re_match_2_internal): For charset and charset_not,
handle flag bits in the range table.

24 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 20:35:16 +0000 (20:35 +0000)]
*** empty log message ***

24 years ago(relative_time_table): Change `type' of `THIS' from
Jim Meyering [Sun, 29 Aug 1999 14:55:24 +0000 (14:55 +0000)]
(relative_time_table): Change `type' of `THIS' from
tMINUTE_UNIT to tUNUMBER.  From Urs Thuermann.

24 years ago(get_date): Rename latter local `tm' to probe_tm.
Jim Meyering [Sun, 29 Aug 1999 12:55:35 +0000 (12:55 +0000)]
(get_date): Rename latter local `tm' to probe_tm.

24 years ago(get_date): Rename outermost local `probe' to `quarter'.
Jim Meyering [Sun, 29 Aug 1999 12:28:56 +0000 (12:28 +0000)]
(get_date): Rename outermost local `probe' to `quarter'.

24 years agoAdd copyright notice.
Jim Meyering [Sun, 29 Aug 1999 07:29:51 +0000 (07:29 +0000)]
Add copyright notice.

(number): Handle `Nov 11 1996' example; see Risks Digest 20.55
http://catless.ncl.ac.uk/Risks/20.55.html#subj18
(1999-08-27)

(<stdio.h>): Include only if testing.
(ISUPPER): Remove.
(ISLOWER, PC): New macros.
(<string.h>): Include if HAVE_STRING_H, not USG.
(bcopy): Remove.
(yymaxdepth, ..., yycheck): Don't bother to redefine, since we assume
bison.
(EPOCH_YEAR): Renamed from EPOCH.
(table): Renamed from TABLE.
(meridian): Now an anonymous enum.
(struct parser_control): New type.
(YYLEX_PARAM, YYPARSE_PARAM, YYSTYPE): New macros.
(yyInput, ..., yyRelYear): Migrated into struct parser_control.
(%pure_parser): Added, so that the parser is pure.
(%union): Removed; the type is now just plain int.
All %type directives removed.
(tLOCAL_ZONE): New %token.
(month_day_table): Renamed from MonthDayTable.
(gmtime, localtime, mktime, time): Declare only if not defined.
(meridian_table): New table.
(dst_table): New table.
(units_table): renamed from UnitsTable.
(relative_time_table): Renamed from OtherTable.
(time_zone_table): Renamed from TimezoneTable.  Modernized data.
(military_table): Renamed from MilitaryTable.
(to_hour): Renamed from ToHour.
(to_year): Renamed from ToYear.
(lookup_zone): New function.
(LookupWord): Renamed from lookup_word.
Use lookup_zone for time zones.
(yylex): Now reentrant.  All callers changed.
(get_date): Add support for local time zone abbreviations.
Make it reentrant.

24 years ago*** empty log message ***
Jim Meyering [Wed, 18 Aug 1999 07:41:39 +0000 (07:41 +0000)]
*** empty log message ***

24 years ago(AC_SYS_LARGEFILE): Fix typo: missing comma
Jim Meyering [Wed, 18 Aug 1999 07:41:27 +0000 (07:41 +0000)]
(AC_SYS_LARGEFILE): Fix typo: missing comma
in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.

24 years ago.
Jim Meyering [Tue, 17 Aug 1999 08:00:19 +0000 (08:00 +0000)]
.

24 years ago.
Jim Meyering [Tue, 17 Aug 1999 07:46:10 +0000 (07:46 +0000)]
.

24 years ago. SH-UTILS-2_0
Jim Meyering [Sat, 14 Aug 1999 15:37:41 +0000 (15:37 +0000)]
.

24 years ago(ARGMATCH_QUOTING_STYLE):
Jim Meyering [Tue, 10 Aug 1999 11:00:12 +0000 (11:00 +0000)]
(ARGMATCH_QUOTING_STYLE):
Change from escape_quoting_style to locale_quoting_style.
(argmatch_invalid): Use new quotearg_style primitive for simplicity.
Also, use ARGMATCH_QUOTING_STYLE to quote, instead of quoting ourselves.

24 years ago(locale_quoting_style): New enum value.
Jim Meyering [Tue, 10 Aug 1999 10:58:01 +0000 (10:58 +0000)]
(locale_quoting_style): New enum value.
(quotearg_n_style, quotearg_style): New decls.

24 years agoInclude <libintl.h> if ENABLE_NLS.
Jim Meyering [Tue, 10 Aug 1999 10:50:18 +0000 (10:50 +0000)]
Include <libintl.h> if ENABLE_NLS.
(_): New macro.
(quoting_style_args, quoting_style_v, quotearg_buffer): Add support
for locale_quoting_style, using _("`") and _("'") for open and close
quote symbols.
Do not quote spaces in escape_quoting_style.
(quotearg_n_style, quotearg_style): New functions.

24 years ago.
Jim Meyering [Sun, 8 Aug 1999 10:18:36 +0000 (10:18 +0000)]
.

24 years agofix typo
Jim Meyering [Sun, 8 Aug 1999 10:16:53 +0000 (10:16 +0000)]
fix typo

24 years agoupdate prototype
Jim Meyering [Sun, 8 Aug 1999 10:12:55 +0000 (10:12 +0000)]
update prototype

24 years ago(savedir): Change type of name_size parameter to off_t.
Jim Meyering [Sun, 8 Aug 1999 10:12:43 +0000 (10:12 +0000)]
(savedir): Change type of name_size parameter to off_t.

24 years ago. SH-UTILS-1_16m
Jim Meyering [Sat, 7 Aug 1999 09:59:51 +0000 (09:59 +0000)]
.

24 years ago(OtherTable[]): Use tDAY_UNIT for `tomorrow,'
Jim Meyering [Sat, 7 Aug 1999 09:50:34 +0000 (09:50 +0000)]
(OtherTable[]): Use tDAY_UNIT for `tomorrow,'
`yesterday,' `today,' and `now' rather than tMINUTE_UNIT.  Of course
with correspondingly smaller numbers for tomorrow and yesterday.
This change does not change the way the code works, since the
grammar rules for the two symbols are analogous.

24 years ago*** empty log message *** TEXTUTILS-2_0
Jim Meyering [Thu, 5 Aug 1999 11:19:54 +0000 (11:19 +0000)]
*** empty log message ***

24 years agoRename test file from conftestdata to conftest.data
Jim Meyering [Thu, 5 Aug 1999 11:18:39 +0000 (11:18 +0000)]
Rename test file from conftestdata to conftest.data
to avoid conflicts with `conftest' on 8+3 filesystems.
Suggestion from Eli Zaretskii.

24 years ago*** empty log message *** TEXTUTILS-1_22q
Jim Meyering [Wed, 4 Aug 1999 08:13:33 +0000 (08:13 +0000)]
*** empty log message ***

24 years ago(AM_FUNC_GETLINE): Run this test.
Jim Meyering [Wed, 4 Aug 1999 08:10:17 +0000 (08:10 +0000)]
(AM_FUNC_GETLINE): Run this test.
(AC_CHECK_FUNCS): Check for getdelim.

24 years ago*** empty log message ***
Jim Meyering [Mon, 2 Aug 1999 08:34:49 +0000 (08:34 +0000)]
*** empty log message ***

24 years agoAdd a comment.
Jim Meyering [Mon, 2 Aug 1999 08:34:39 +0000 (08:34 +0000)]
Add a comment.

24 years ago. TEXTUTILS-1_22p
Jim Meyering [Sun, 1 Aug 1999 10:13:13 +0000 (10:13 +0000)]
.

24 years ago.
Jim Meyering [Sun, 1 Aug 1999 10:09:46 +0000 (10:09 +0000)]
.

24 years ago.
Jim Meyering [Sun, 1 Aug 1999 10:01:27 +0000 (10:01 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 1 Aug 1999 09:59:51 +0000 (09:59 +0000)]
*** empty log message ***

24 years ago(AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
Jim Meyering [Sun, 1 Aug 1999 09:59:45 +0000 (09:59 +0000)]
(AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.

24 years ago*** empty log message ***
Jim Meyering [Sun, 1 Aug 1999 09:44:42 +0000 (09:44 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 1 Aug 1999 09:33:53 +0000 (09:33 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 1 Aug 1999 09:33:49 +0000 (09:33 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 1 Aug 1999 09:32:29 +0000 (09:32 +0000)]
*** empty log message ***

24 years agoNew file, which is a preview of what should appear
Jim Meyering [Sun, 1 Aug 1999 09:22:38 +0000 (09:22 +0000)]
New file, which is a preview of what should appear
in the next public autoconf release.

24 years ago*** empty log message ***
Jim Meyering [Sun, 1 Aug 1999 09:05:29 +0000 (09:05 +0000)]
*** empty log message ***

24 years ago(jm_AC_PREREQ_XSTRTOUMAX): Check whether
Jim Meyering [Sun, 1 Aug 1999 09:05:17 +0000 (09:05 +0000)]
(jm_AC_PREREQ_XSTRTOUMAX): Check whether
<inttypes.h> defines strtoumax as a macro (and not as a
function).

24 years agoNew file. It contains the old contents of
Jim Meyering [Sun, 1 Aug 1999 08:59:46 +0000 (08:59 +0000)]
New file.  It contains the old contents of
lfs.m4, except that all names with prefix AC_LFS have been
changed to use the prefix AC_SYS_LARGEFILE instead, to be
compatible with future autoconf versions.  Also, some minor m4
quoting problems have been fixed.

24 years ago(jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
Jim Meyering [Sun, 1 Aug 1999 08:47:11 +0000 (08:47 +0000)]
(jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
that we can shift, multiply and divide unsigned long long
values; Ultrix cc can't do it.

24 years ago*** empty log message ***
Jim Meyering [Sun, 1 Aug 1999 07:59:08 +0000 (07:59 +0000)]
*** empty log message ***

24 years ago(AM_WITH_NLS): Remove unnecessary lines.
Jim Meyering [Sun, 1 Aug 1999 07:58:44 +0000 (07:58 +0000)]
(AM_WITH_NLS): Remove unnecessary lines.
Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
(AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
and simplify the shell code.

24 years ago(quotearg_buffer):
Jim Meyering [Sun, 1 Aug 1999 07:44:39 +0000 (07:44 +0000)]
(quotearg_buffer):
Don't quote spaces if C quoting style.

24 years ago. TEXTUTILS-1_22o
Jim Meyering [Fri, 30 Jul 1999 21:15:01 +0000 (21:15 +0000)]
.

24 years ago.
Jim Meyering [Fri, 30 Jul 1999 21:15:01 +0000 (21:15 +0000)]
.

24 years agoInclude <sys/types.h> now that linebuffer.h uses
Jim Meyering [Fri, 30 Jul 1999 19:29:27 +0000 (19:29 +0000)]
Include <sys/types.h> now that linebuffer.h uses
size_t.  This is required on at least SunOS4.  From Kaveh Ghazi.

24 years ago*** empty log message ***
Jim Meyering [Mon, 26 Jul 1999 06:52:28 +0000 (06:52 +0000)]
*** empty log message ***

24 years agoupdate comments
Jim Meyering [Tue, 20 Jul 1999 18:52:05 +0000 (18:52 +0000)]
update comments

24 years ago(translate_040_to_space) [MOUNTED_GETMNTENT1]: New function.
Jim Meyering [Tue, 20 Jul 1999 18:41:58 +0000 (18:41 +0000)]
(translate_040_to_space) [MOUNTED_GETMNTENT1]: New function.
(read_filesystem_list) [MOUNTED_GETMNTENT1]: Use it.

24 years ago*** empty log message *** TEXTUTILS-1_22n
Jim Meyering [Tue, 20 Jul 1999 17:06:53 +0000 (17:06 +0000)]
*** empty log message ***

24 years ago(AC_REPLACE_FUNCS): Add memmove.
Jim Meyering [Tue, 20 Jul 1999 17:06:50 +0000 (17:06 +0000)]
(AC_REPLACE_FUNCS): Add memmove.

24 years ago.
Jim Meyering [Sun, 18 Jul 1999 11:21:58 +0000 (11:21 +0000)]
.

24 years ago(noinst_HEADERS): Add getpagesize.h.
Jim Meyering [Thu, 15 Jul 1999 16:16:24 +0000 (16:16 +0000)]
(noinst_HEADERS): Add getpagesize.h.

24 years ago.
Jim Meyering [Thu, 15 Jul 1999 09:31:44 +0000 (09:31 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jul 1999 09:31:34 +0000 (09:31 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jul 1999 09:11:24 +0000 (09:11 +0000)]
*** empty log message ***

24 years ago(AC_CHECK_FUNCS): Check for getpagesize.
Jim Meyering [Thu, 15 Jul 1999 09:11:13 +0000 (09:11 +0000)]
(AC_CHECK_FUNCS): Check for getpagesize.

24 years ago(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]:
Jim Meyering [Thu, 15 Jul 1999 07:50:06 +0000 (07:50 +0000)]
(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]:
Work around SunOS botch also when block size is different from 1k.

24 years ago*** empty log message ***
Jim Meyering [Sat, 10 Jul 1999 16:40:33 +0000 (16:40 +0000)]
*** empty log message ***

24 years agocpp indent and split a long line
Jim Meyering [Sat, 10 Jul 1999 16:40:16 +0000 (16:40 +0000)]
cpp indent and split a long line

24 years agouse a space, not TAB after #define
Jim Meyering [Sat, 10 Jul 1999 16:36:56 +0000 (16:36 +0000)]
use a space, not TAB after #define

24 years agocpp indent
Jim Meyering [Sat, 10 Jul 1999 16:36:11 +0000 (16:36 +0000)]
cpp indent

24 years ago.
Jim Meyering [Sat, 10 Jul 1999 07:17:02 +0000 (07:17 +0000)]
.

24 years ago[!defined strtoumax]: Declare strtoumax.
Jim Meyering [Sun, 4 Jul 1999 10:40:04 +0000 (10:40 +0000)]
[!defined strtoumax]: Declare strtoumax.

24 years ago.
Jim Meyering [Sun, 4 Jul 1999 10:38:37 +0000 (10:38 +0000)]
.

24 years ago(readline): Leave room for an extra byte
Jim Meyering [Sun, 4 Jul 1999 10:31:01 +0000 (10:31 +0000)]
(readline): Leave room for an extra byte
after the newline; comm needs this for memcoll.

24 years ago[struct linebuffer] (size): Declare to be of type size_t, not long.
Jim Meyering [Sun, 4 Jul 1999 10:08:56 +0000 (10:08 +0000)]
[struct linebuffer] (size): Declare to be of type size_t, not long.
[struct linebuffer] (length): Likewise.

24 years ago(readline): Append trailing newline to line.
Jim Meyering [Sun, 4 Jul 1999 10:06:42 +0000 (10:06 +0000)]
(readline): Append trailing newline to line.

24 years ago.
Jim Meyering [Sun, 4 Jul 1999 09:37:57 +0000 (09:37 +0000)]
.

24 years ago(enum human_inexact_style): New enum.
Jim Meyering [Sun, 4 Jul 1999 08:47:49 +0000 (08:47 +0000)]
(enum human_inexact_style): New enum.
(human_readable_inexact): New decl.

24 years ago(human_readable): New function.
Jim Meyering [Sun, 4 Jul 1999 08:47:28 +0000 (08:47 +0000)]
(human_readable): New function.
(human_readable_inexact): Renamed from human_readable, with new arg
INEXACT_STYLE.  Add support for ceiling and floor.

24 years ago(__strtol): Remove decl; it doesn't work if __strtol
Jim Meyering [Sun, 4 Jul 1999 08:34:31 +0000 (08:34 +0000)]
(__strtol): Remove decl; it doesn't work if __strtol
expands to a macro, which occurs in HP-UX 10.20 with strtoumax.
(strtol, strtoul): New decls (for pre-ANSI hosts), to replace
the above decl.

25 years ago. FILEUTILS-4_0i
Jim Meyering [Sun, 23 May 1999 21:06:36 +0000 (21:06 +0000)]
.

25 years ago.
Jim Meyering [Sun, 23 May 1999 20:44:48 +0000 (20:44 +0000)]
.

25 years ago(libfu_a_SOURCES): Add same.c.
Jim Meyering [Sun, 23 May 1999 20:40:59 +0000 (20:40 +0000)]
(libfu_a_SOURCES): Add same.c.
(noinst_HEADERS): Add same.h.

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 19:43:10 +0000 (19:43 +0000)]
*** empty log message ***

25 years agoNew file (function extracted from ln.c).
Jim Meyering [Sun, 23 May 1999 19:42:59 +0000 (19:42 +0000)]
New file (function extracted from ln.c).

25 years ago*** empty log message *** SH-UTILS-1_16k
Jim Meyering [Sat, 22 May 1999 22:02:00 +0000 (22:02 +0000)]
*** empty log message ***

25 years ago(AC_REPLACE_FUNCS): Add memchr.
Jim Meyering [Sat, 22 May 1999 22:00:42 +0000 (22:00 +0000)]
(AC_REPLACE_FUNCS): Add memchr.