gnulib.git
27 years ago. TEXTUTILS-1_21a
Jim Meyering [Sat, 25 Jan 1997 06:52:50 +0000 (06:52 +0000)]
.

27 years agoMove the code from configure.in into
Jim Meyering [Sat, 25 Jan 1997 06:45:32 +0000 (06:45 +0000)]
Move the code from configure.in into
this macro that resorts to looking for getgroups in -lbsd.
Set new shell variable, GETGROUPS_LIB (that callers should check),
if it is found there.

27 years ago(XSTRTOL_H): Undefine it.
Jim Meyering [Sat, 25 Jan 1997 06:17:13 +0000 (06:17 +0000)]
(XSTRTOL_H): Undefine it.

27 years ago[!_STRTOL_ERROR]: Define the type `enum strtol_error'
Jim Meyering [Sat, 25 Jan 1997 06:15:18 +0000 (06:15 +0000)]
[!_STRTOL_ERROR]: Define the type `enum strtol_error'
only if it hasn't already been defined.

27 years ago(__xstrtol): Change interpretation of
Jim Meyering [Sat, 25 Jan 1997 06:13:46 +0000 (06:13 +0000)]
(__xstrtol): Change interpretation of
VALID_SUFFIXES == NULL vs VALID_SUFFIXES == "".  Use the former
when any suffix is valid, the later when no suffix is allowed.

27 years ago(parse_long_options): Reset optind to zero
Jim Meyering [Sat, 25 Jan 1997 05:37:15 +0000 (05:37 +0000)]
(parse_long_options): Reset optind to zero
before just returning so that getopt internals get initialized from
the probably-new parameters when/if getopt is called later.

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 05:15:14 +0000 (05:15 +0000)]
.

27 years agoUpdate from GNU via Uli
Jim Meyering [Thu, 23 Jan 1997 02:45:02 +0000 (02:45 +0000)]
Update from GNU via Uli

27 years agorevert last change
Jim Meyering [Thu, 23 Jan 1997 02:23:44 +0000 (02:23 +0000)]
revert last change

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 02:18:00 +0000 (02:18 +0000)]
.

27 years ago(AM_FUNC_MKTIME): Run tests for each of a few values
Jim Meyering [Thu, 23 Jan 1997 02:16:20 +0000 (02:16 +0000)]
(AM_FUNC_MKTIME): Run tests for each of a few values
for the TZ environment variable.  Andre Novaes Cunha provided the
hairy TZ setting that exercized the Solaris tzset bug.

27 years agoincrement serial number
Jim Meyering [Thu, 23 Jan 1997 00:39:19 +0000 (00:39 +0000)]
increment serial number

27 years ago[strftime]: Add parameters to macro definition. From Drepper.
Jim Meyering [Wed, 22 Jan 1997 23:23:04 +0000 (23:23 +0000)]
[strftime]: Add parameters to macro definition.  From Drepper.

27 years ago(main): Use TZ=GMT0, not TZ=GMT, since only GMT0 is specified by Posix.1.
Jim Meyering [Wed, 22 Jan 1997 22:45:47 +0000 (22:45 +0000)]
(main): Use TZ=GMT0, not TZ=GMT, since only GMT0 is specified by Posix.1.

27 years ago(_strftime_copytm): New function, to work around Solaris 2.5 tzset bug.
Jim Meyering [Wed, 22 Jan 1997 22:43:15 +0000 (22:43 +0000)]
(_strftime_copytm): New function, to work around Solaris 2.5 tzset bug.
From Paul Eggert.

27 years ago(AM_FUNC_MKTIME): Fix bug in mktime test -- don't
Jim Meyering [Wed, 22 Jan 1997 22:38:37 +0000 (22:38 +0000)]
(AM_FUNC_MKTIME): Fix bug in mktime test -- don't
test now, test a couple of thousand times.

27 years ago.
Jim Meyering [Sun, 19 Jan 1997 13:11:40 +0000 (13:11 +0000)]
.

27 years agoIndent with GNU indent.
Jim Meyering [Sat, 18 Jan 1997 20:17:39 +0000 (20:17 +0000)]
Indent with GNU indent.

27 years agoIndent 2 more cpp-directives to reflect nesting.
Jim Meyering [Sat, 18 Jan 1997 20:12:10 +0000 (20:12 +0000)]
Indent 2 more cpp-directives to reflect nesting.

27 years ago(get_date): Change prototype to reflect const'ness of parameters.
Jim Meyering [Sat, 18 Jan 1997 20:11:05 +0000 (20:11 +0000)]
(get_date): Change prototype to reflect const'ness of parameters.
Indent cpp-directives to reflect nesting.

27 years ago.
Jim Meyering [Sat, 18 Jan 1997 16:58:30 +0000 (16:58 +0000)]
.

27 years ago.
Jim Meyering [Sat, 18 Jan 1997 15:46:09 +0000 (15:46 +0000)]
.

27 years ago1997-01-06 Paul Eggert <eggert@twinsun.com>
Jim Meyering [Sat, 18 Jan 1997 15:32:16 +0000 (15:32 +0000)]
1997-01-06  Paul Eggert  <eggert@twinsun.com>

* getdate.y: Rewrite to use mktime.

<sys/timeb.h>: Don't include.
(mktime): Declare.

(struct timeb, timezone, DOOMSDAY, SECSPERDAY, DSTMODE, yyDSTmode,
ToSeconds, Convert, DSTcorrect, RelativeDate, RelativeMonth): Remove.
(ToHour): New function (part of the old ToSeconds fn).
(ToYear): New function (part of the old Convert fn).

(TABLE.value, yyDayOrdinal, yyDayNumber, yyTimezone, yyDay, yyHour,
yyMinutes, yyMonth, yySeconds, yyYear, yyRelMonth, yyRelSeconds,
Number): Now int instead of time_t.
(HOUR): Don't cast to time_t.

(tDAY_UNIT, tHOUR_UNIT, tYEAR_UNIT): New %tokens.
(UnitsTable): Use new units that are closer to the keywords.

(yyRelDay, yyRelHour, yyRelMinutes, yyRelYear): New variables.
(rel, relunit, get_date): Add support for them.

(time): Fix timezone calculations for negative half-hour offsets
when integer division truncates towards minus infinity.

(zone): Incorporiate DST calculation directly.

(get_date): 2nd arg is now time_t *, not struct timeb *.
Use mktime to do most of the work, instead of computing it ourselves.
Guard against falsely reporting errors near the time_t boundaries
when parsing times in other time zones.

27 years agoAdd comment re HAVE_PSTAT_GETDYNAMIC.
Jim Meyering [Sat, 18 Jan 1997 15:07:16 +0000 (15:07 +0000)]
Add comment re HAVE_PSTAT_GETDYNAMIC.

27 years agoreindent
Jim Meyering [Sat, 18 Jan 1997 13:44:49 +0000 (13:44 +0000)]
reindent

27 years ago(AM_FUNC_GETLOADAVG): Check for pstat_getdynamic.
Jim Meyering [Fri, 17 Jan 1997 03:00:45 +0000 (03:00 +0000)]
(AM_FUNC_GETLOADAVG): Check for pstat_getdynamic.

27 years agoFix up indentation a little.
Jim Meyering [Wed, 15 Jan 1997 04:59:07 +0000 (04:59 +0000)]
Fix up indentation a little.

27 years agoIndent cpp-directives to reflect nesting.
Jim Meyering [Wed, 15 Jan 1997 04:55:39 +0000 (04:55 +0000)]
Indent cpp-directives to reflect nesting.

27 years agoRemove AC_ISC_POSIX.
Jim Meyering [Thu, 9 Jan 1997 12:24:51 +0000 (12:24 +0000)]
Remove AC_ISC_POSIX.

27 years ago(_getopt_internal): Use `_', rather than the (sometimes-)expansion `gettext'. SH-UTILS-1_15
Jim Meyering [Wed, 8 Jan 1997 22:40:00 +0000 (22:40 +0000)]
(_getopt_internal): Use `_', rather than the (sometimes-)expansion `gettext'.

27 years ago.
Jim Meyering [Wed, 8 Jan 1997 04:59:01 +0000 (04:59 +0000)]
.

27 years ago[_]: Define to gettext also if ENABLE_NLS is defined.
Jim Meyering [Wed, 8 Jan 1997 04:52:00 +0000 (04:52 +0000)]
[_]: Define to gettext also if ENABLE_NLS is defined.

27 years agoNew (more POSIX compliant) version from GNU libc.
Jim Meyering [Wed, 8 Jan 1997 04:11:29 +0000 (04:11 +0000)]
New (more POSIX compliant) version from GNU libc.

27 years ago. FILEUTILS-3_14b
Jim Meyering [Fri, 3 Jan 1997 03:24:22 +0000 (03:24 +0000)]
.

27 years ago(EXTRA_DIST): Add getgroups.c.
Jim Meyering [Fri, 3 Jan 1997 03:16:29 +0000 (03:16 +0000)]
(EXTRA_DIST): Add getgroups.c.

27 years ago.
Jim Meyering [Thu, 2 Jan 1997 03:13:58 +0000 (03:13 +0000)]
.

27 years ago. TEXTUTILS-1_20b
Jim Meyering [Sun, 29 Dec 1996 01:48:20 +0000 (01:48 +0000)]
.

27 years ago.
Jim Meyering [Sat, 28 Dec 1996 13:30:51 +0000 (13:30 +0000)]
.

27 years ago.
Jim Meyering [Sat, 28 Dec 1996 06:27:35 +0000 (06:27 +0000)]
.

27 years agoRewrite the test so that systems lacking
Jim Meyering [Sat, 28 Dec 1996 02:59:25 +0000 (02:59 +0000)]
Rewrite the test so that systems lacking
getgroups don't try to use the supplied replacement function --
that depends on the existence of such a function.

27 years agoAdd comment.
Jim Meyering [Fri, 27 Dec 1996 03:36:53 +0000 (03:36 +0000)]
Add comment.
Rename local, ng to n_groups.

27 years ago. TEXTUTILS-1_20a
Jim Meyering [Mon, 23 Dec 1996 05:41:19 +0000 (05:41 +0000)]
.

27 years ago(EXTRA_DIST): Add README.
Jim Meyering [Mon, 23 Dec 1996 05:31:46 +0000 (05:31 +0000)]
(EXTRA_DIST): Add README.

27 years ago.
Jim Meyering [Mon, 23 Dec 1996 05:14:55 +0000 (05:14 +0000)]
.

27 years ago.
Jim Meyering [Sat, 21 Dec 1996 18:49:14 +0000 (18:49 +0000)]
.

27 years agoupdate from GNU libc
Jim Meyering [Sat, 21 Dec 1996 13:51:26 +0000 (13:51 +0000)]
update from GNU libc

27 years ago.
Jim Meyering [Sat, 21 Dec 1996 04:21:29 +0000 (04:21 +0000)]
.

27 years ago.
Jim Meyering [Sat, 21 Dec 1996 04:09:35 +0000 (04:09 +0000)]
.

27 years ago.
Jim Meyering [Sat, 21 Dec 1996 03:43:47 +0000 (03:43 +0000)]
.

27 years ago.
Jim Meyering [Sat, 21 Dec 1996 03:21:34 +0000 (03:21 +0000)]
.

27 years ago.
Jim Meyering [Sat, 21 Dec 1996 03:20:48 +0000 (03:20 +0000)]
.

27 years ago.
Jim Meyering [Sat, 21 Dec 1996 03:15:44 +0000 (03:15 +0000)]
.

27 years ago.
Jim Meyering [Sat, 21 Dec 1996 02:03:14 +0000 (02:03 +0000)]
.

27 years agocopied from automake-1.1l
Jim Meyering [Sat, 21 Dec 1996 01:56:50 +0000 (01:56 +0000)]
copied from automake-1.1l

27 years agobroken out of ../acinclude.m4
Jim Meyering [Sat, 21 Dec 1996 01:50:50 +0000 (01:50 +0000)]
broken out of ../acinclude.m4

27 years agoUpdate from GNU libc.
Jim Meyering [Sat, 21 Dec 1996 01:40:43 +0000 (01:40 +0000)]
Update from GNU libc.

27 years ago.
Jim Meyering [Thu, 19 Dec 1996 13:53:16 +0000 (13:53 +0000)]
.

27 years agorun cpp-indent
Jim Meyering [Wed, 18 Dec 1996 16:56:46 +0000 (16:56 +0000)]
run cpp-indent

27 years agoanother new version ...
Jim Meyering [Wed, 18 Dec 1996 16:54:48 +0000 (16:54 +0000)]
another new version ...

27 years ago(ISDIGIT): Replace with smaller, faster edition
Jim Meyering [Wed, 18 Dec 1996 03:30:20 +0000 (03:30 +0000)]
(ISDIGIT): Replace with smaller, faster edition
that yields nonzero only on ASCII digits.
(ISDIGIT_LOCALE): New macro, with same meaning that ISDIGIT
used to have.  From Paul Eggert.

27 years agoadd blank line.
Jim Meyering [Wed, 18 Dec 1996 03:28:09 +0000 (03:28 +0000)]
add blank line.

27 years agoUpdate from GNU libc.
Jim Meyering [Wed, 18 Dec 1996 00:21:38 +0000 (00:21 +0000)]
Update from GNU libc.

27 years ago.
Jim Meyering [Tue, 17 Dec 1996 21:54:29 +0000 (21:54 +0000)]
.

27 years ago(IN_CTYPE_DOMAIN): Rename from ISASCII. SH-UTILS-1_14
Jim Meyering [Fri, 13 Dec 1996 03:05:00 +0000 (03:05 +0000)]
(IN_CTYPE_DOMAIN): Rename from ISASCII.
(ISDIGIT): New definition from Paul Eggert.
This one evaluates its argument exactly once.
(yylex): Move increment out of ISALPHA argument.  Use a
comma-expression instead.

27 years ago(EXTRA_DIST): Add strftime.c to appease automake. FILEUTILS-3_13k
Jim Meyering [Wed, 11 Dec 1996 04:34:37 +0000 (04:34 +0000)]
(EXTRA_DIST): Add strftime.c to appease automake.
Although it's not used yet, it'll be used by ls's (to-be-done)
--format=FORMAT option.

27 years ago.
Jim Meyering [Tue, 10 Dec 1996 22:40:30 +0000 (22:40 +0000)]
.

27 years ago(EXTRA_DIST): Add mktime.c.
Jim Meyering [Tue, 10 Dec 1996 20:48:12 +0000 (20:48 +0000)]
(EXTRA_DIST): Add mktime.c.
Reported by Thomas Bushnell.

27 years agoInclude config.h.
Jim Meyering [Tue, 10 Dec 1996 05:22:12 +0000 (05:22 +0000)]
Include config.h.
[!HAVE_BCOPY && HAVE_MEMCPY && !defined (bcopy)]: Define bcopy
in terms of memcpy.  Reported by Marcus Daniels.

27 years ago.
Jim Meyering [Tue, 10 Dec 1996 04:54:02 +0000 (04:54 +0000)]
.

27 years ago(Convert): Don't reject all dates in 2038. SH-UTILS-1_12t
Jim Meyering [Tue, 10 Dec 1996 04:34:18 +0000 (04:34 +0000)]
(Convert): Don't reject all dates in 2038.
Some fit in 31 bits.

27 years agoadd a space TEXTUTILS-1_19r
Jim Meyering [Tue, 10 Dec 1996 03:17:01 +0000 (03:17 +0000)]
add a space

27 years agorevert last change.
Jim Meyering [Tue, 10 Dec 1996 03:16:36 +0000 (03:16 +0000)]
revert last change.

27 years ago[HAVE_TZNAME || defined __LIBC]: Declare tzname.
Jim Meyering [Tue, 10 Dec 1996 02:46:42 +0000 (02:46 +0000)]
[HAVE_TZNAME || defined __LIBC]: Declare tzname.

27 years ago[HAVE_TZNAME]: Declare tzname.
Jim Meyering [Mon, 9 Dec 1996 13:02:21 +0000 (13:02 +0000)]
[HAVE_TZNAME]: Declare tzname.
Patch from Karl Heuer.

27 years ago(noinst_LIBRARIES): Rename to lib?u.a as per FILEUTILS-3_13j
Jim Meyering [Sun, 8 Dec 1996 13:28:43 +0000 (13:28 +0000)]
(noinst_LIBRARIES): Rename to lib?u.a as per
new automake requirement.
Rename ?u_* variables to lib?u_a_*.

27 years ago.
Jim Meyering [Sun, 8 Dec 1996 05:56:37 +0000 (05:56 +0000)]
.

27 years ago[__SVR4]: Define SVR4. SH-UTILS-1_12r
Jim Meyering [Sat, 7 Dec 1996 19:03:13 +0000 (19:03 +0000)]
[__SVR4]: Define SVR4.
Remove duplicate `|| defined(SVR4)' disjunct guarding the
#define KERNEL_FILE "/unix" definiton.

27 years ago(strftime): Remove " %Z" part of format for %c. Suggestion from Paul Eggert.
Jim Meyering [Sat, 7 Dec 1996 18:52:54 +0000 (18:52 +0000)]
(strftime): Remove " %Z" part of format for %c. Suggestion from Paul Eggert.

27 years ago.
Jim Meyering [Sun, 1 Dec 1996 19:22:05 +0000 (19:22 +0000)]
.

27 years ago(date): Interpret the date, L/M/N, as YYYY/MM/DD
Jim Meyering [Sun, 1 Dec 1996 19:15:03 +0000 (19:15 +0000)]
(date): Interpret the date, L/M/N, as YYYY/MM/DD
if L >= 1000, otherwise as MM/DD/YY.  With this change,
date --date=DATE accepts dates like those in an RCS log listing.

27 years agoUpdate from GNU libc.
Jim Meyering [Sun, 1 Dec 1996 04:08:17 +0000 (04:08 +0000)]
Update from GNU libc.

27 years ago(get_fs_usage): If DISK is 0 and we needed to use
Jim Meyering [Thu, 28 Nov 1996 19:37:01 +0000 (19:37 +0000)]
(get_fs_usage): If DISK is 0 and we needed to use
it, return -1 with 0 in ERRNO.

From Miles.

27 years ago.
Jim Meyering [Mon, 25 Nov 1996 04:42:15 +0000 (04:42 +0000)]
.

27 years ago(EXTRA_DIST): Add getline.c now that getline
Jim Meyering [Sun, 24 Nov 1996 05:38:29 +0000 (05:38 +0000)]
(EXTRA_DIST): Add getline.c now that getline
isn't mentioned in AC_REPLACE_FUNCS.

27 years agoremove trailing blanks TEXTUTILS-1_19q
Jim Meyering [Sun, 24 Nov 1996 03:04:12 +0000 (03:04 +0000)]
remove trailing blanks

27 years agoremove my @comco address
Jim Meyering [Thu, 21 Nov 1996 02:42:52 +0000 (02:42 +0000)]
remove my @comco address

27 years ago(xgethostname): Work around bug in SunOS5.5's gethostname.
Jim Meyering [Thu, 21 Nov 1996 02:38:40 +0000 (02:38 +0000)]
(xgethostname): Work around bug in SunOS5.5's gethostname.

27 years ago.
Jim Meyering [Wed, 20 Nov 1996 05:13:57 +0000 (05:13 +0000)]
.

27 years ago[emacs] (malloc, free): Define as xmalloc, and xfree.
Richard Stallman [Thu, 7 Nov 1996 21:13:22 +0000 (21:13 +0000)]
[emacs] (malloc, free): Define as xmalloc, and xfree.

27 years ago.
Jim Meyering [Tue, 5 Nov 1996 05:20:03 +0000 (05:20 +0000)]
.

27 years agoThu Oct 31 19:32:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
Jim Meyering [Tue, 5 Nov 1996 04:38:41 +0000 (04:38 +0000)]
Thu Oct 31 19:32:32 1996  Miles Bader  <miles@gnu.ai.mit.edu>
[ENAMETOOLONG] (xgethostname): If gethostname
returns an error other than buffer overflow, exit with an error
message instead of allocating infinite amounts of space.
[!EXIT_FAILURE] (EXIT_FAILURE): New macro.
<errno.h>: New include.
[!errno] (errno): New declaration.

27 years ago.
Jim Meyering [Tue, 5 Nov 1996 04:26:34 +0000 (04:26 +0000)]
.

27 years agoFix copyright.
Jim Meyering [Tue, 5 Nov 1996 04:22:40 +0000 (04:22 +0000)]
Fix copyright.

27 years ago.
Jim Meyering [Tue, 5 Nov 1996 04:11:31 +0000 (04:11 +0000)]
.

27 years agolibitize
Jim Meyering [Tue, 5 Nov 1996 03:38:23 +0000 (03:38 +0000)]
libitize

27 years agofrom franc,ois
Jim Meyering [Mon, 4 Nov 1996 18:15:56 +0000 (18:15 +0000)]
from franc,ois

27 years agolibitize
Jim Meyering [Mon, 4 Nov 1996 18:07:38 +0000 (18:07 +0000)]
libitize

27 years agoNew version from François Pinard.
Jim Meyering [Mon, 4 Nov 1996 18:05:10 +0000 (18:05 +0000)]
New version from François Pinard.

27 years agolibitize
Jim Meyering [Mon, 4 Nov 1996 17:57:34 +0000 (17:57 +0000)]
libitize

27 years ago.
Jim Meyering [Mon, 4 Nov 1996 17:56:16 +0000 (17:56 +0000)]
.