Jim Meyering [Mon, 16 Jun 1997 16:57:02 +0000 (16:57 +0000)]
(EXTRA_DIST): Add putenv.m4.
Jim Meyering [Mon, 16 Jun 1997 16:45:15 +0000 (16:45 +0000)]
.
Jim Meyering [Mon, 16 Jun 1997 16:15:30 +0000 (16:15 +0000)]
add copyright
Richard Stallman [Sun, 15 Jun 1997 19:43:01 +0000 (19:43 +0000)]
Fix previous change.
Richard Stallman [Sun, 15 Jun 1997 19:05:59 +0000 (19:05 +0000)]
Fix up whitespace.
Richard Stallman [Sun, 15 Jun 1997 19:02:27 +0000 (19:02 +0000)]
(struct re_pattern_buffer): New member multibyte.
(re_match_object): New variable.
Richard Stallman [Sun, 15 Jun 1997 19:00:12 +0000 (19:00 +0000)]
(PTR_TO_OFFSET): New macro.
(POS_AS_IN_BUFFER): New macro.
(SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table' text
property into account when doing SYNTAX (c).
(re_compile_fastmap): disable fastmap if any of wordbound
notwordbound wordbeg wordend notsyntaxspec syntaxspec are seen.
(re_search_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
(re_match_object): New variable.
(re_match_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
(re_match_2_internal): For any of wordbound notwordbound wordbeg
wordend notsyntaxspec syntaxspec call UPDATE_SYNTAX_TABLE before
doing SYNTAX (c).
[emacs]: Include charset.h and category.h
[!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P, CHAR_HEAD_P,
SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH,
STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2):
New dummy macros.
(enum re_opcode_t): New member categoryspec and notcategoryspec.
(STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER,
CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT,
CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE,
CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABLE
CHARSET_PAST_RANGE_TABLE): New macros.
(TRANSLATE): Cast return value to unsigned char, not char.
(struct range_table_work_area): New structure.
(EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA,
FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED,
RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros.
(FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA.
(regex_compile): Declare `c' and `c1' as int to store multibyte characters.
Declare range_table_work and initialize it.
Initialize bufp->multibyte to 0 if not emacs.
For case '[' and `default', code re-written to handle multibyte characters.
Add code for case 'c' and 'C' to handle category spec.
(re_compile_fastmap): New local variables k, simple_char_max,
and match_any_multibyte_characters.
Use macro CHARSET_BITMAP_SIZE.
Handle multibyte characters in cases charset, charset_not,
wordchar, notwordchar, anychar, syntaxspec, notsyntaxspec,
categoryspec, notcategoryspec.
(STOP_ADDR_VSTRING, POS_ADDR_VSTRING): New macros.
(re_search_2): Code re-written to handle multibyte characters.
(AT_WORD_BOUNDARY): Macro disabled.
(re_match_2_internal): New local variable multibyte. `d' is
incremented while paying attention to multibyte characters if necessary.
For case charset, charsetnot, wordbound, notwordbound,
wordbeg, wordend, matchsyntax, and matchnotsyntax, code
re-written to handle multibyte characters.
Add code for case categoryspec and notcategoryspec.
Declare c, c1 as unsigned int, not unsigned char.
Jim Meyering [Sun, 15 Jun 1997 15:06:52 +0000 (15:06 +0000)]
(full_write): Add comment regarding failure due to bug in
Linux Slackware 1.2.13 kernel.
Jim Meyering [Sun, 15 Jun 1997 13:34:47 +0000 (13:34 +0000)]
Rewrite using save-cwd.c and chdir to remove quadratic component of complexity.
Before, it processed O(n^2) directory name components via stat and mkdir.
Now it's O(n). This makes mkdir -p a lot more efficient when creating
directories with very many components. On a Linux 2.0.30 ext2fs filesystem
this command: mkdir -p `perl -e 'print "a/" x 500'` now runs in 0.77 seconds
(user+sys). Contrast that with the 9.5(!) seconds it took before.
Jim Meyering [Sat, 14 Jun 1997 16:36:22 +0000 (16:36 +0000)]
.
Jim Meyering [Thu, 12 Jun 1997 12:58:47 +0000 (12:58 +0000)]
remove blank line at end and add copyright
tweak cpp indentation
Jim Meyering [Fri, 6 Jun 1997 14:30:11 +0000 (14:30 +0000)]
.
Jim Meyering [Tue, 3 Jun 1997 20:01:47 +0000 (20:01 +0000)]
[HAVE_UNISTD_H]: Include unistd.h.
John Gatewood Ham reported that this is necessary for DJGPP/Win95.
Jim Meyering [Sun, 1 Jun 1997 17:15:51 +0000 (17:15 +0000)]
(OtherTable): Interpret `next' as 1 (not 2) units.
Patch from Richard Sharman <rsharman@magmacom.com>.
Jim Meyering [Fri, 30 May 1997 14:00:47 +0000 (14:00 +0000)]
fix for abs pathnames
Jim Meyering [Wed, 28 May 1997 12:19:28 +0000 (12:19 +0000)]
correct/normalize indentation in cpp directives
Jim Meyering [Wed, 28 May 1997 12:01:33 +0000 (12:01 +0000)]
update from FSF
Jim Meyering [Wed, 28 May 1997 11:42:29 +0000 (11:42 +0000)]
(read_filesystem_list): Add `|| defined (__OpenBSD__)'
to the NetBSD #if so OpenBSD also uses the f_fstypename member.
(fstype_to_string): Add `&& !defined (__OpenBSD__)' to the NetBSD #if
expression to exclude this function definition. OpenBSD 2.1 beta
doesn't need it. Patch from Hugh Daniel <hugh@ecotone.xanadu.com>
Jim Meyering [Tue, 27 May 1997 14:16:49 +0000 (14:16 +0000)]
Don't include backupfile.h.
Jim Meyering [Tue, 27 May 1997 10:45:34 +0000 (10:45 +0000)]
(libfu_a_SOURCES): Add addext.c.
Remove getversion.c; get_version is now in backupfile.c.
Add basename.c since it's no longer replacible.
Jim Meyering [Tue, 27 May 1997 10:39:10 +0000 (10:39 +0000)]
Change dcl of program_name so it doesn't conflict with the ubiquitous char* one.
Jim Meyering [Tue, 27 May 1997 10:31:04 +0000 (10:31 +0000)]
.
Jim Meyering [Tue, 27 May 1997 10:30:45 +0000 (10:30 +0000)]
Update from patch-2.2.93.
Jim Meyering [Tue, 27 May 1997 09:39:25 +0000 (09:39 +0000)]
Update from FSF via patch-2.2.93.
Jim Meyering [Tue, 27 May 1997 09:38:06 +0000 (09:38 +0000)]
Update from glibc via patch-2.2.93.
Jim Meyering [Sat, 24 May 1997 18:12:59 +0000 (18:12 +0000)]
.
Jim Meyering [Sat, 24 May 1997 18:11:33 +0000 (18:11 +0000)]
.
Jim Meyering [Sat, 24 May 1997 14:43:21 +0000 (14:43 +0000)]
(read_filesystem_list): Show automount-related
duplicate filesystems only when --all specified. With suggestions
from Stuart Kemp.
Jim Meyering [Sat, 24 May 1997 14:42:40 +0000 (14:42 +0000)]
Indent cpp directives.
Jim Meyering [Sat, 24 May 1997 14:31:23 +0000 (14:31 +0000)]
.
Jim Meyering [Sat, 24 May 1997 14:11:19 +0000 (14:11 +0000)]
.
Jim Meyering [Fri, 23 May 1997 13:23:49 +0000 (13:23 +0000)]
.
Jim Meyering [Fri, 2 May 1997 04:02:17 +0000 (04:02 +0000)]
.
Jim Meyering [Tue, 29 Apr 1997 15:48:14 +0000 (15:48 +0000)]
update from automake-1.1o
Jim Meyering [Tue, 29 Apr 1997 15:22:05 +0000 (15:22 +0000)]
.
Jim Meyering [Sun, 27 Apr 1997 23:12:01 +0000 (23:12 +0000)]
.
Jim Meyering [Thu, 10 Apr 1997 03:46:01 +0000 (03:46 +0000)]
s/;/. in comment to placate francois
Jim Meyering [Mon, 7 Apr 1997 16:59:43 +0000 (16:59 +0000)]
.
Jim Meyering [Mon, 7 Apr 1997 15:24:38 +0000 (15:24 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Apr 1997 15:21:33 +0000 (15:21 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Apr 1997 00:44:33 +0000 (00:44 +0000)]
.
Jim Meyering [Sun, 6 Apr 1997 20:42:00 +0000 (20:42 +0000)]
.
Jim Meyering [Fri, 4 Apr 1997 03:29:25 +0000 (03:29 +0000)]
.
Jim Meyering [Fri, 4 Apr 1997 03:27:35 +0000 (03:27 +0000)]
(EXTRA_DIST): Update file list.
Jim Meyering [Sun, 23 Mar 1997 21:27:46 +0000 (21:27 +0000)]
.
Jim Meyering [Sun, 23 Mar 1997 02:57:05 +0000 (02:57 +0000)]
.
Jim Meyering [Sat, 22 Mar 1997 19:54:32 +0000 (19:54 +0000)]
.
Jim Meyering [Fri, 21 Mar 1997 03:10:21 +0000 (03:10 +0000)]
.
Jim Meyering [Fri, 14 Mar 1997 03:28:09 +0000 (03:28 +0000)]
(TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
Jim Meyering [Thu, 13 Mar 1997 05:17:50 +0000 (05:17 +0000)]
Update from gettext-0.10.27.
Jim Meyering [Thu, 13 Mar 1997 05:16:47 +0000 (05:16 +0000)]
.
Jim Meyering [Thu, 13 Mar 1997 05:13:18 +0000 (05:13 +0000)]
(EXTRA_DIST): Add chown.c.
Jim Meyering [Thu, 13 Mar 1997 05:12:13 +0000 (05:12 +0000)]
Add chown.m4.
Jim Meyering [Thu, 13 Mar 1997 05:10:42 +0000 (05:10 +0000)]
.
Jim Meyering [Wed, 12 Mar 1997 01:26:15 +0000 (01:26 +0000)]
.
Jim Meyering [Tue, 11 Mar 1997 05:11:09 +0000 (05:11 +0000)]
.
Jim Meyering [Tue, 11 Mar 1997 05:02:11 +0000 (05:02 +0000)]
.
Jim Meyering [Thu, 27 Feb 1997 05:53:15 +0000 (05:53 +0000)]
(tYEAR_UNIT): Increase yyRelYear by $1, not just by 1.
From Andreas Schwab.
Jim Meyering [Sat, 22 Feb 1997 20:13:19 +0000 (20:13 +0000)]
(tMONTH_UNIT): Increase yyRelMonth by $1, not just by 1.
(tDAY_UNIT): Likewise for yyRelDay.
(tHOUR_UNIT): Likewise for yyRelHour.
(tMINUTE_UNIT): Likewise for yyRelMinutes.
(tSEC_UNIT): Likewise for yyRelSeconds.
Jim Meyering [Fri, 21 Feb 1997 02:16:54 +0000 (02:16 +0000)]
update from FSF
Jim Meyering [Tue, 18 Feb 1997 17:46:04 +0000 (17:46 +0000)]
.
Jim Meyering [Tue, 18 Feb 1997 15:12:41 +0000 (15:12 +0000)]
.
Jim Meyering [Mon, 17 Feb 1997 04:11:19 +0000 (04:11 +0000)]
.
Jim Meyering [Tue, 4 Feb 1997 03:26:31 +0000 (03:26 +0000)]
libitize
Jim Meyering [Tue, 4 Feb 1997 03:20:29 +0000 (03:20 +0000)]
new obstack from libc
Jim Meyering [Mon, 3 Feb 1997 05:06:27 +0000 (05:06 +0000)]
(parse_long_options): Compare getopt_long return
value against -1, not EOF. Use NULL, not `(int *) 0' as last parameter
in getopt_long call.
Jim Meyering [Sun, 26 Jan 1997 20:01:11 +0000 (20:01 +0000)]
.
Jim Meyering [Sun, 26 Jan 1997 06:23:06 +0000 (06:23 +0000)]
bracket prototype with PARAMS
Jim Meyering [Sun, 26 Jan 1997 04:31:05 +0000 (04:31 +0000)]
.
Jim Meyering [Sat, 25 Jan 1997 13:50:24 +0000 (13:50 +0000)]
remove trailing blanks
Jim Meyering [Sat, 25 Jan 1997 13:38:49 +0000 (13:38 +0000)]
(noinst_HEADERS): Add getdate.h.
Jim Meyering [Sat, 25 Jan 1997 06:52:50 +0000 (06:52 +0000)]
.
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.
Jim Meyering [Sat, 25 Jan 1997 06:17:13 +0000 (06:17 +0000)]
(XSTRTOL_H): Undefine it.
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.
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.
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.
Jim Meyering [Thu, 23 Jan 1997 05:15:14 +0000 (05:15 +0000)]
.
Jim Meyering [Thu, 23 Jan 1997 02:45:02 +0000 (02:45 +0000)]
Update from GNU via Uli
Jim Meyering [Thu, 23 Jan 1997 02:23:44 +0000 (02:23 +0000)]
revert last change
Jim Meyering [Thu, 23 Jan 1997 02:18:00 +0000 (02:18 +0000)]
.
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.
Jim Meyering [Thu, 23 Jan 1997 00:39:19 +0000 (00:39 +0000)]
increment serial number
Jim Meyering [Wed, 22 Jan 1997 23:23:04 +0000 (23:23 +0000)]
[strftime]: Add parameters to macro definition. From Drepper.
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.
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.
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.
Jim Meyering [Sun, 19 Jan 1997 13:11:40 +0000 (13:11 +0000)]
.
Jim Meyering [Sat, 18 Jan 1997 20:17:39 +0000 (20:17 +0000)]
Indent with GNU indent.
Jim Meyering [Sat, 18 Jan 1997 20:12:10 +0000 (20:12 +0000)]
Indent 2 more cpp-directives to reflect nesting.
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.
Jim Meyering [Sat, 18 Jan 1997 16:58:30 +0000 (16:58 +0000)]
.
Jim Meyering [Sat, 18 Jan 1997 15:46:09 +0000 (15:46 +0000)]
.
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.
Jim Meyering [Sat, 18 Jan 1997 15:07:16 +0000 (15:07 +0000)]
Add comment re HAVE_PSTAT_GETDYNAMIC.
Jim Meyering [Sat, 18 Jan 1997 13:44:49 +0000 (13:44 +0000)]
reindent
Jim Meyering [Fri, 17 Jan 1997 03:00:45 +0000 (03:00 +0000)]
(AM_FUNC_GETLOADAVG): Check for pstat_getdynamic.
Jim Meyering [Wed, 15 Jan 1997 04:59:07 +0000 (04:59 +0000)]
Fix up indentation a little.
Jim Meyering [Wed, 15 Jan 1997 04:55:39 +0000 (04:55 +0000)]
Indent cpp-directives to reflect nesting.
Jim Meyering [Thu, 9 Jan 1997 12:24:51 +0000 (12:24 +0000)]
Remove AC_ISC_POSIX.