Jim Meyering [Sun, 3 Aug 1997 17:53:25 +0000 (17:53 +0000)]
.
Jim Meyering [Tue, 29 Jul 1997 03:03:49 +0000 (03:03 +0000)]
(mode_create_from_ref): Don't use umask.
Don't use MODE_X_IF_ANY_X.
Jim Meyering [Sat, 26 Jul 1997 02:55:14 +0000 (02:55 +0000)]
replace with new version from libc
Jim Meyering [Tue, 15 Jul 1997 14:05:07 +0000 (14:05 +0000)]
correct cpp-indentation
Jim Meyering [Tue, 15 Jul 1997 14:03:22 +0000 (14:03 +0000)]
Merge with FSF.
Jim Meyering [Mon, 14 Jul 1997 15:42:10 +0000 (15:42 +0000)]
.
Jim Meyering [Sun, 13 Jul 1997 13:31:30 +0000 (13:31 +0000)]
don't include error.h.
Jim Meyering [Sun, 13 Jul 1997 03:55:38 +0000 (03:55 +0000)]
(PARAMS): Update prototype.
(utmp_contents): Remove dcl.
Jim Meyering [Sun, 13 Jul 1997 03:54:00 +0000 (03:54 +0000)]
(read_utmp): Take new params: count and buffer.
Return boolean indicating failure.
Now, caller must give diagnostic upon.
Jim Meyering [Sun, 13 Jul 1997 02:54:48 +0000 (02:54 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 18:03:56 +0000 (18:03 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 18:02:07 +0000 (18:02 +0000)]
(make_path): Chdir to `/' before starting if necessary.
Call save_cwd before while loop rather than from first iteration inside it.
Jim Meyering [Wed, 9 Jul 1997 17:57:48 +0000 (17:57 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 15:55:41 +0000 (15:55 +0000)]
(strverscmp): Add `parenentheses around arithmetic in operand of |'
as suggested by gcc -Wall.
Jim Meyering [Wed, 9 Jul 1997 15:42:54 +0000 (15:42 +0000)]
indent
Jim Meyering [Wed, 9 Jul 1997 15:33:27 +0000 (15:33 +0000)]
fix typo in comment
Jim Meyering [Wed, 9 Jul 1997 15:31:29 +0000 (15:31 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 14:00:27 +0000 (14:00 +0000)]
Add comments.
Jim Meyering [Sun, 6 Jul 1997 21:28:04 +0000 (21:28 +0000)]
(mode_create_from_ref): New function.
Jim Meyering [Sun, 6 Jul 1997 21:27:44 +0000 (21:27 +0000)]
(mode_create_from_ref): Add prototype.
(MODE_MASK_ALL): New define.
(MODE_BAD_REFERENCE): New define.
Jim Meyering [Sun, 6 Jul 1997 21:27:07 +0000 (21:27 +0000)]
(getuidbyname): Declare parameter to be const.
(getgidbyname): Declare parameter to be const.
Jim Meyering [Sun, 6 Jul 1997 21:25:57 +0000 (21:25 +0000)]
(noinst_HEADERS): Add strverscmp.h.
Jim Meyering [Sun, 6 Jul 1997 14:47:50 +0000 (14:47 +0000)]
(libfu_a_SOURCES): Add strverscmp.c.
(noinst_HEADERS): Add strverscmp.h.
Jim Meyering [Sun, 6 Jul 1997 13:50:29 +0000 (13:50 +0000)]
(getuser): Return NULL (rather than stringified uid) upon lookup failure.
(getgroup): Likewise.
(getuidbyname) [NOT_USED]: #ifdef-out unused function.
(getgidbyname) [NOT_USED]: #ifdef-out unused function.
Jim Meyering [Sun, 6 Jul 1997 11:57:38 +0000 (11:57 +0000)]
Change some #ifdef to #if.
Indent a cpp directive.
Jim Meyering [Fri, 4 Jul 1997 23:05:22 +0000 (23:05 +0000)]
.
Richard Stallman [Fri, 4 Jul 1997 20:46:51 +0000 (20:46 +0000)]
(RE_TRANSLATE): Define default assuming simple integers.
Richard Stallman [Fri, 4 Jul 1997 20:46:22 +0000 (20:46 +0000)]
(TRANSLATE, re_search_2, re_match_2_internal,bcmp_translate):
Use RE_TRANSLATE instead of accessing translate array directly.
Jim Meyering [Fri, 4 Jul 1997 15:01:06 +0000 (15:01 +0000)]
.
Richard Stallman [Wed, 2 Jul 1997 06:25:00 +0000 (06:25 +0000)]
(re_search_2): Cast result of POS_ADDR_VSTRING.
Jim Meyering [Tue, 1 Jul 1997 11:50:39 +0000 (11:50 +0000)]
(make_path): Reorder stat-then-mkdir-if-missing
calls so that mkdir is called first. Before make_path would first
`stat' a directory, then call mkdir if it didn't exist. But if
some other process created the directory between the stat & mkdir,
the mkdir would fail with EEXIST. Diagnosis and suggestion from
Greg McGary.
Jim Meyering [Tue, 1 Jul 1997 11:30:08 +0000 (11:30 +0000)]
[putenv]: Undefine before including system headers.
Otherwise, the declaration of *rpl_putenv* conflicts with the system
prototype on at least Irix5.3. From Marcus Daniels.
Jim Meyering [Sun, 29 Jun 1997 22:26:18 +0000 (22:26 +0000)]
(base_name_strip_trailing_slashes): Remove.
Jim Meyering [Sun, 29 Jun 1997 22:25:54 +0000 (22:25 +0000)]
(base_name_strip_trailing_slashes): new function.
Jim Meyering [Sun, 29 Jun 1997 21:05:05 +0000 (21:05 +0000)]
Remove _sys_putenv cruft and just rename the function itself.
Jim Meyering [Sun, 29 Jun 1997 20:18:58 +0000 (20:18 +0000)]
fix it right
Jim Meyering [Sun, 29 Jun 1997 20:12:52 +0000 (20:12 +0000)]
Define-away putenv only if it's not already defined.
Jim Meyering [Sun, 29 Jun 1997 13:52:16 +0000 (13:52 +0000)]
.
Jim Meyering [Sun, 29 Jun 1997 03:27:24 +0000 (03:27 +0000)]
.
Jim Meyering [Wed, 25 Jun 1997 16:08:03 +0000 (16:08 +0000)]
.
Jim Meyering [Wed, 25 Jun 1997 15:38:35 +0000 (15:38 +0000)]
.
Jim Meyering [Mon, 16 Jun 1997 18:02:08 +0000 (18:02 +0000)]
.
Jim Meyering [Mon, 16 Jun 1997 17:50:23 +0000 (17:50 +0000)]
comment
Jim Meyering [Mon, 16 Jun 1997 17:42:33 +0000 (17:42 +0000)]
.
Jim Meyering [Mon, 16 Jun 1997 16:57:55 +0000 (16:57 +0000)]
.
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)]
.