platform/upstream/coreutils.git
18 years agoremove stray stat-related line
Jim Meyering [Sat, 6 May 2006 16:01:39 +0000 (16:01 +0000)]
remove stray stat-related line

18 years ago.
Jim Meyering [Sat, 6 May 2006 15:52:56 +0000 (15:52 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2006 15:44:25 +0000 (15:44 +0000)]
*** empty log message ***

18 years agoExpand to test broken links encountered
Jim Meyering [Sat, 6 May 2006 15:44:19 +0000 (15:44 +0000)]
Expand to test broken links encountered
implicitly, favoring Solaris 9 and OpenBSD 3.4 behavior.

18 years agoExpand to test inode from readdir case.
Jim Meyering [Sat, 6 May 2006 15:44:01 +0000 (15:44 +0000)]
Expand to test inode from readdir case.

18 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2006 15:29:49 +0000 (15:29 +0000)]
*** empty log message ***

18 years ago(TESTS): Add stat-vs-dirent.
Jim Meyering [Sat, 6 May 2006 15:29:44 +0000 (15:29 +0000)]
(TESTS): Add stat-vs-dirent.

18 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2006 15:29:20 +0000 (15:29 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2006 15:27:38 +0000 (15:27 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2006 14:23:38 +0000 (14:23 +0000)]
*** empty log message ***

18 years agoWork even on case-insensitive file system.
Jim Meyering [Sat, 6 May 2006 14:23:31 +0000 (14:23 +0000)]
Work even on case-insensitive file system.

18 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2006 14:17:31 +0000 (14:17 +0000)]
*** empty log message ***

18 years ago(gl_GETADDRINFO): Fix caching error.
Jim Meyering [Sat, 6 May 2006 14:17:21 +0000 (14:17 +0000)]
(gl_GETADDRINFO): Fix caching error.

18 years agoupdate from gnulib
Jim Meyering [Fri, 5 May 2006 18:51:44 +0000 (18:51 +0000)]
update from gnulib

18 years ago*** empty log message ***
Jim Meyering [Thu, 4 May 2006 12:55:54 +0000 (12:55 +0000)]
*** empty log message ***

18 years ago(Examples of date): Give example of @seconds.
Jim Meyering [Thu, 4 May 2006 12:55:08 +0000 (12:55 +0000)]
(Examples of date): Give example of @seconds.

18 years ago*** empty log message ***
Jim Meyering [Thu, 4 May 2006 10:33:39 +0000 (10:33 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Thu, 4 May 2006 10:02:54 +0000 (10:02 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Thu, 4 May 2006 10:01:43 +0000 (10:01 +0000)]
*** empty log message ***

18 years agomention pwd fix
Jim Meyering [Thu, 4 May 2006 10:00:40 +0000 (10:00 +0000)]
mention pwd fix

18 years ago(head invocation, tail invocation, sort invocation):
Paul Eggert [Wed, 3 May 2006 23:10:04 +0000 (23:10 +0000)]
(head invocation, tail invocation, sort invocation):
Give advice about porting to hosts that support only obsolete syntax.

18 years agoInclude "same-inode.h".
Jim Meyering [Wed, 3 May 2006 10:13:07 +0000 (10:13 +0000)]
Include "same-inode.h".

18 years ago.
Jim Meyering [Wed, 3 May 2006 10:11:25 +0000 (10:11 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Wed, 3 May 2006 10:11:05 +0000 (10:11 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Wed, 3 May 2006 10:10:00 +0000 (10:10 +0000)]
*** empty log message ***

18 years ago(DEFINE_SORT_FUNCTIONS, LIST_SORTFUNCTION_VARIANTS):
Jim Meyering [Wed, 3 May 2006 10:07:36 +0000 (10:07 +0000)]
(DEFINE_SORT_FUNCTIONS, LIST_SORTFUNCTION_VARIANTS):
Use better macro parameter names: s/basename/key_name/,
s/basefunc/key_cmp_func.  Fix typo in comment.

18 years ago(main): On systems with d_type, directories_first only
Jim Meyering [Wed, 3 May 2006 10:03:58 +0000 (10:03 +0000)]
(main): On systems with d_type, directories_first only
implies format_needs_type, not format_needs_stat.

18 years ago(xstrcoll_df_version, rev_xstrcoll_df_version): Add space after comma
Jim Meyering [Wed, 3 May 2006 09:36:03 +0000 (09:36 +0000)]
(xstrcoll_df_version, rev_xstrcoll_df_version): Add space after comma
in arg list, from Eric Blake.

18 years ago(get_date): When adding relative date, start with the
Paul Eggert [Tue, 25 Apr 2006 10:29:47 +0000 (10:29 +0000)]
(get_date): When adding relative date, start with the
initial time, not with the result of the first mktime call.

18 years ago(relative-3): New test, derived from a bug report by John Thomas McDole.
Paul Eggert [Tue, 25 Apr 2006 10:29:10 +0000 (10:29 +0000)]
(relative-3): New test, derived from a bug report by John Thomas McDole.

18 years agoRemove typo in previous checkin.
Paul Eggert [Mon, 24 Apr 2006 17:51:56 +0000 (17:51 +0000)]
Remove typo in previous checkin.

18 years ago* unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
Paul Eggert [Mon, 24 Apr 2006 17:50:24 +0000 (17:50 +0000)]
* unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
to define main with arguments, for C++.  Reported by Eric Blake.
* c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
Prefer 'int main ()' to 'int main (void)', for C++.
* getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
* fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
for 'main', for C99 and C++.

18 years agoDon't assume that 'exit' is declared for us.
Paul Eggert [Mon, 24 Apr 2006 07:40:00 +0000 (07:40 +0000)]
Don't assume that 'exit' is declared for us.
Don't assume that you can exit with status -1.
(import from gnulib)

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Apr 2006 21:48:27 +0000 (21:48 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Apr 2006 21:47:00 +0000 (21:47 +0000)]
*** empty log message ***

18 years ago(Which files are listed): Describe new option: --group-directories-first.
Jim Meyering [Sun, 23 Apr 2006 21:46:54 +0000 (21:46 +0000)]
(Which files are listed): Describe new option: --group-directories-first.

18 years ago[New features]: Mention ls's new option, --group-directories-first
Jim Meyering [Sun, 23 Apr 2006 21:38:32 +0000 (21:38 +0000)]
[New features]: Mention ls's new option, --group-directories-first

18 years ago(sort_type): Rearrange to use as an array index when
Jim Meyering [Sun, 23 Apr 2006 21:35:04 +0000 (21:35 +0000)]
(sort_type): Rearrange to use as an array index when
choosing sort function; added new sort_numtypes member for
compile-time check.
(time_type): Add new time_numtypes member for compile-time check.
(directories_first): New global variable.
(GROUP_DIRECTORIES_FIRST_OPTION): New enum.
(long_options): Add --directories-first.
(main): Support new option.
(is_directory): New function.
(extract_dirs_from_files): Use it.
(DIRFIRST_CHECK, DEFINE_SORT_FUNCTIONS)
(LIST_SORTFUNCTION_VARIANTS): New macros.
(sort_functions): New global variable.
(sort_files): Use it.
(usage): Document new option.

18 years agoChange 'shred' to not use alloca.
Paul Eggert [Wed, 19 Apr 2006 06:28:11 +0000 (06:28 +0000)]
Change 'shred' to not use alloca.

18 years ago(fillrand): The assertion was way too weak, due to
Paul Eggert [Wed, 19 Apr 2006 06:27:43 +0000 (06:27 +0000)]
(fillrand): The assertion was way too weak, due to
what must be a typo.  Strengthen it to its intended value.
(dopass): Don't use alloca; it's not worth the aggravation here,
since it's used only to get a page-aligned buffer, and page
alignment doesn't buy us much here.  I'm suspicious that alloca
causes problems on some hosts, due to a recent bug report by Adam
Waltman.

18 years ago*** empty log message ***
Jim Meyering [Tue, 18 Apr 2006 14:59:27 +0000 (14:59 +0000)]
*** empty log message ***

18 years agoAdd new programs, base64, sha224sum, sha256sum, sha384sum, sha512sum.
Jim Meyering [Tue, 18 Apr 2006 14:59:22 +0000 (14:59 +0000)]
Add new programs, base64, sha224sum, sha256sum, sha384sum, sha512sum.

18 years agoDocument filemode changes.
Paul Eggert [Mon, 17 Apr 2006 23:24:49 +0000 (23:24 +0000)]
Document filemode changes.

18 years ago(human_access): Use (new) filemodestring rather than
Paul Eggert [Mon, 17 Apr 2006 23:23:43 +0000 (23:23 +0000)]
(human_access): Use (new) filemodestring rather than
(old) mode_string, so that we get more file types right, at least
in theory.  Adjust to filemode changes.

18 years ago(HAVE_ST_DM_MODE): Remove; moved to ../lib/filemode.c.
Paul Eggert [Mon, 17 Apr 2006 23:23:11 +0000 (23:23 +0000)]
(HAVE_ST_DM_MODE): Remove; moved to ../lib/filemode.c.
(print_long_format): Use (new) filemodestring rather than
(old) mode_string, so that we get more file types right, at least
in theory.  Adjust to filemode changes.

18 years ago(describe_change): Adjust to filemode changes.
Paul Eggert [Mon, 17 Apr 2006 23:22:51 +0000 (23:22 +0000)]
(describe_change): Adjust to filemode changes.

18 years ago(gl_FILEMODE): Check for strmode declaration.
Paul Eggert [Mon, 17 Apr 2006 23:22:16 +0000 (23:22 +0000)]
(gl_FILEMODE): Check for strmode declaration.

18 years agoDon't undef S_ISDOOR, since it's never buggy.
Paul Eggert [Mon, 17 Apr 2006 23:22:01 +0000 (23:22 +0000)]
Don't undef S_ISDOOR, since it's never buggy.
(S_ISDOOR): Don't bother with S_IFDOOR, since that code is never needed.
(S_ISPORT, S_ISWHT): New macros, if not already defined.

18 years ago(HAVE_DECL_STRMODE): Include <string.h> for strmode.
Paul Eggert [Mon, 17 Apr 2006 23:21:30 +0000 (23:21 +0000)]
(HAVE_DECL_STRMODE): Include <string.h> for strmode.
(strmode): Renamed from mode_string.
(filemodestring): New decl.

18 years agoInclude "filemode.h" first, to test the interface.
Paul Eggert [Mon, 17 Apr 2006 23:21:14 +0000 (23:21 +0000)]
Include "filemode.h" first, to test the interface.
Assume that filemode.h includes sys/types.h and sys/stat.h.
(HAVE_ST_DM_MODE): New macro, moved here from ls.c.
(ftypelet): Reorder to put common cases first, for efficiency.
Add 'P', 'w'.  Remove 'M', since it's now the caller's responsibility
to do 'M'.
(strmode): Renamed from mode_string, and now stores 12 bytes instead
of 10, for compatibility with FreeBSD.  All callers changed.
(filemodestring): Now stores 12 bytes instead of 10, and sets file types
that can't be deduced solely from st_mode.  First arg is now a const
pointer.

18 years ago(What information is listed): Add P for Solaris
Paul Eggert [Mon, 17 Apr 2006 23:20:53 +0000 (23:20 +0000)]
(What information is listed): Add P for Solaris
10 ports.  Add commented-out entries for other types that POSIX
says are possible, or that I observed in FreeBSD documentation.

18 years ago*** empty log message ***
Jim Meyering [Mon, 17 Apr 2006 23:17:16 +0000 (23:17 +0000)]
*** empty log message ***

18 years ago(main) [DEFAULT_IGNORE_FILE]: Remove code to use a default
Jim Meyering [Mon, 17 Apr 2006 23:17:11 +0000 (23:17 +0000)]
(main) [DEFAULT_IGNORE_FILE]: Remove code to use a default
ignore file.  This has never been enabled.  Reported by Eric Blake.

18 years ago*** empty log message ***
Jim Meyering [Mon, 17 Apr 2006 23:14:57 +0000 (23:14 +0000)]
*** empty log message ***

18 years ago(Input processing in ptx): Remove mention of the
Jim Meyering [Mon, 17 Apr 2006 23:14:45 +0000 (23:14 +0000)]
(Input processing in ptx): Remove mention of the
default --ignore file, /usr/local/lib/eign.  That file has never been used.
Reported by Eric Blake.

18 years ago*** empty log message ***
Jim Meyering [Mon, 17 Apr 2006 21:07:53 +0000 (21:07 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Mon, 17 Apr 2006 20:53:20 +0000 (20:53 +0000)]
*** empty log message ***

18 years ago(openat_needs_fchdir) [defined __OPENAT_PREFIX]:
Paul Eggert [Mon, 17 Apr 2006 20:48:23 +0000 (20:48 +0000)]
(openat_needs_fchdir) [defined __OPENAT_PREFIX]:
Turn this into a macro that always returns true.

18 years ago(futimens): glibc futimesat messes up if /proc isn't mounted.
Paul Eggert [Sat, 15 Apr 2006 07:39:46 +0000 (07:39 +0000)]
(futimens): glibc futimesat messes up if /proc isn't mounted.

18 years ago*** empty log message ***
Jim Meyering [Fri, 14 Apr 2006 20:33:42 +0000 (20:33 +0000)]
*** empty log message ***

18 years agoremove SPACEs before TAB
Jim Meyering [Fri, 14 Apr 2006 16:36:34 +0000 (16:36 +0000)]
remove SPACEs before TAB

18 years ago*** empty log message ***
Jim Meyering [Fri, 14 Apr 2006 16:35:44 +0000 (16:35 +0000)]
*** empty log message ***

18 years ago(fts_open): Don't allocate parent if *argv==NULL. Patch from glibc.
Jim Meyering [Fri, 14 Apr 2006 16:35:41 +0000 (16:35 +0000)]
(fts_open): Don't allocate parent if *argv==NULL.  Patch from glibc.

18 years ago(fts_build): Free `head' before returning NULL, in two places,
Jim Meyering [Fri, 14 Apr 2006 16:26:15 +0000 (16:26 +0000)]
(fts_build): Free `head' before returning NULL, in two places,
to avoid leaks.  Patch from glibc.

18 years ago(fts_build): Remove just-#if-0'd code and the code that
Jim Meyering [Fri, 14 Apr 2006 16:21:21 +0000 (16:21 +0000)]
(fts_build): Remove just-#if-0'd code and the code that
declares and sets cderrno.

18 years ago(fts_build): #if-0-out a block of unused code. Patch via glibc.
Jim Meyering [Fri, 14 Apr 2006 16:11:01 +0000 (16:11 +0000)]
(fts_build): #if-0-out a block of unused code. Patch via glibc.

18 years agoDon't use wchar_t or wctype_t; update comment.
Paul Eggert [Thu, 13 Apr 2006 22:17:17 +0000 (22:17 +0000)]
Don't use wchar_t or wctype_t; update comment.

18 years ago(RE_DUP_MAX): Update comment to match current implementation.
Paul Eggert [Thu, 13 Apr 2006 22:16:58 +0000 (22:16 +0000)]
(RE_DUP_MAX): Update comment to match current implementation.

18 years ago(init_dfa): Don't use wchar_t or wctype_t if RE_ENABLE_I18N
Paul Eggert [Thu, 13 Apr 2006 22:16:43 +0000 (22:16 +0000)]
(init_dfa): Don't use wchar_t or wctype_t if RE_ENABLE_I18N
is not defined.  Problem reported by Mark D. Baushke via Derek R. Price.

18 years ago(What information is listed): Document 'ls' type letters.
Paul Eggert [Thu, 13 Apr 2006 04:01:47 +0000 (04:01 +0000)]
(What information is listed): Document 'ls' type letters.

18 years agoPort to Interix.
Paul Eggert [Wed, 12 Apr 2006 20:15:30 +0000 (20:15 +0000)]
Port to Interix.

18 years ago(sync) [!HAVE_SYNC]: New macro.
Paul Eggert [Wed, 12 Apr 2006 20:15:08 +0000 (20:15 +0000)]
(sync) [!HAVE_SYNC]: New macro.

18 years ago(USE_STATVFS): New macro.
Paul Eggert [Wed, 12 Apr 2006 20:14:42 +0000 (20:14 +0000)]
(USE_STATVFS): New macro.
Include <sys/statvfs.h> and use statvfs only if USE_STATVFS.
(NAMEMAX_FORMAT): define a bit more clearly, now that the
statvfs-using code is a bit more regular.

18 years ago(main) [! HAVE_SETGROUPS]: Don't call setgroups.
Paul Eggert [Wed, 12 Apr 2006 20:14:19 +0000 (20:14 +0000)]
(main) [! HAVE_SETGROUPS]: Don't call setgroups.

18 years ago(linkfunc): Remove. This method ran into a compiler/linker
Paul Eggert [Wed, 12 Apr 2006 20:14:01 +0000 (20:14 +0000)]
(linkfunc): Remove.  This method ran into a compiler/linker
bug in Interix.  Just call symlink or link directly.  All uses changed.

18 years ago(gl_MACROS): Check for setgroups and sync, since they
Paul Eggert [Wed, 12 Apr 2006 20:13:34 +0000 (20:13 +0000)]
(gl_MACROS): Check for setgroups and sync, since they
are not in Interix.

18 years agoInclude <inttypes.h> and <stdint.h> if they exist.
Paul Eggert [Wed, 12 Apr 2006 20:13:13 +0000 (20:13 +0000)]
Include <inttypes.h> and <stdint.h> if they exist.

18 years agoDon't include <inttypes.h> or <stdint.h>, since
Paul Eggert [Wed, 12 Apr 2006 20:13:00 +0000 (20:13 +0000)]
Don't include <inttypes.h> or <stdint.h>, since
fsusage.h now does that.  Include fsusage.h first, to test interface.
Prefer statvfs if it works, since it's blessed by POSIX.  Attempt
at most one method (the old code could have generated decls that
didn't conform to C89, not that this was ever exercised).

18 years agocsplit, nl, expr now conform to POSIX better, and are
Paul Eggert [Wed, 12 Apr 2006 07:49:34 +0000 (07:49 +0000)]
csplit, nl, expr now conform to POSIX better, and are
more-compatible with traditional Unix, with respect to regular
expressions.

18 years ago(expr invocation): expr exit status is 3 only for
Paul Eggert [Wed, 12 Apr 2006 07:47:11 +0000 (07:47 +0000)]
(expr invocation): expr exit status is 3 only for
internal errors now; 2 is also for invalid values in expressions.

18 years agoClear the RE_NO_EMPTY_RANGES re syntax option, as this is a less intrusive
Paul Eggert [Wed, 12 Apr 2006 07:37:11 +0000 (07:37 +0000)]
Clear the RE_NO_EMPTY_RANGES re syntax option, as this is a less intrusive
change from the old (Emacs) behavior, and POSIX allows us to treat [z-a]
as an empty range.

18 years agoexpr, csplit, nl patches to conform better to POSIX and/or traditional
Paul Eggert [Wed, 12 Apr 2006 07:18:11 +0000 (07:18 +0000)]
expr, csplit, nl patches to conform better to POSIX and/or traditional
behavior.  Port tests to Solaris 8.

18 years agoUse \{...\} in test RE, to test that we're conforming to POSIX.
Paul Eggert [Wed, 12 Apr 2006 07:17:26 +0000 (07:17 +0000)]
Use \{...\} in test RE, to test that we're conforming to POSIX.

18 years ago(fail-a): Adjust exit status to match new expr behavior, for status 2 versus 3.
Paul Eggert [Wed, 12 Apr 2006 07:17:02 +0000 (07:17 +0000)]
(fail-a): Adjust exit status to match new expr behavior, for status 2 versus 3.
(anchor): New test.
(bre1, bre2, bre3, bre4, bre5, bre6, bre7, bre8, bre9, bre10):
(bre11, bre12, bre13, bre14, bre15, bre16, bre17, bre18, bre19, bre20):
(bre21, bre22, bre23, bre24, bre25, bre26, bre27, bre28, bre29, bre30):
(bre31, bre32, bre33, bre34, bre35, bre36, bre37, bre38, bre39, bre40):
(bre41, bre42, bre43, bre44, bre45, bre46, bre47, bre48, bre49, bre50):
(bre51, bre52, bre53, bre54, bre55, bre56, bre57, bre58, bre59, bre60):
(bre61, bre62): New tests.

18 years ago(docolon): Set re_syntax_options to a value that is compatible with
Paul Eggert [Wed, 12 Apr 2006 07:16:20 +0000 (07:16 +0000)]
(docolon): Set re_syntax_options to a value that is compatible with
what POSIX requires.  Also, don't let anchors match
newline; this fixes an incompatibility with tradition and with POSIX.
Don't warn about leading ^.  POSIX says it is unspecified whether
^ is a special character, which means that implementations can
either treat it as special or not, but either way a warning is not
allowed (unless the regexp is otherwise invalid).  Instead, anchor
the expression but treat ^ as an anchor; this is the traditional
behavior (e.g., Solaris 10).
(eval4, eval3, eval2): Treat non-numeric args, division by zero,
and the like as invalid expressions (exit status 2), not as
failure of 'expr' (exit status 3).  This is more consistent with
how Solaris behaves.

18 years ago(build_type_arg): Set re_syntax_options to a value that is compatible
Paul Eggert [Wed, 12 Apr 2006 07:15:21 +0000 (07:15 +0000)]
(build_type_arg): Set re_syntax_options to a value that is compatible
with what POSIX requires.

18 years ago(extract_regexp): Set re_syntax_options to a
Paul Eggert [Wed, 12 Apr 2006 07:14:53 +0000 (07:14 +0000)]
(extract_regexp): Set re_syntax_options to a
value that is compatible with what POSIX requires.

18 years ago(gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
Paul Eggert [Wed, 12 Apr 2006 07:11:52 +0000 (07:11 +0000)]
(gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.

18 years agoDo not assume that 'sed' can handle long, newline-free input.
Paul Eggert [Wed, 12 Apr 2006 07:07:55 +0000 (07:07 +0000)]
Do not assume that 'sed' can handle long, newline-free input.
Evaluate expr once, not $n times.

18 years agoSolaris 8 sh doesn't understand "if !". Do not assume that 'sed' can
Paul Eggert [Wed, 12 Apr 2006 07:07:32 +0000 (07:07 +0000)]
Solaris 8 sh doesn't understand "if !".  Do not assume that 'sed' can
handle long, newline-free input.

18 years agoAdjust to new regex.h API (with new fastmap type), and clean
Paul Eggert [Tue, 11 Apr 2006 00:52:16 +0000 (00:52 +0000)]
Adjust to new regex.h API (with new fastmap type), and clean
up the regex storage allocation a bit.

18 years ago(compiled_separator_fastmap): New ver.
Paul Eggert [Tue, 11 Apr 2006 00:52:01 +0000 (00:52 +0000)]
(compiled_separator_fastmap): New ver.
(main): Use it.  Don't bother allocating a buffer.

18 years ago(context_regex_string, word_regex_string): Remove.
Paul Eggert [Tue, 11 Apr 2006 00:51:42 +0000 (00:51 +0000)]
(context_regex_string, word_regex_string): Remove.
(context_regex, word_regex): New vars, replacing the above.
All uses changed.
(struct regex_data): New type.
(compile_regex): Renamed from alloc_and_compile_regex, since
we no longer allocate storage.  Arg is now a struct regex_data *,
not a const char *.  All uses changed.  Don't allocate the fastmap;
instead, take it from the caller.  Don't convert size_t to int,
to avoid arithmetic overflow problems.  Don't bother freeing
storage afterwards; it's not worth the aggravation.

18 years ago(body_fastmap, header_fastmap, footer_fastmap):
Paul Eggert [Tue, 11 Apr 2006 00:51:23 +0000 (00:51 +0000)]
(body_fastmap, header_fastmap, footer_fastmap):
New vars.
(build_type_arg): New fastmap arg.  All uses changed.
Don't bother allocating a buffer, but set a fastmap.

18 years ago(docolon): Allocate and use a fastmap.
Paul Eggert [Tue, 11 Apr 2006 00:50:56 +0000 (00:50 +0000)]
(docolon): Allocate and use a fastmap.
Don't bother allocating a buffer.

18 years agoUpdate copyright year.
Paul Eggert [Tue, 11 Apr 2006 00:50:33 +0000 (00:50 +0000)]
Update copyright year.

18 years ago(struct control): Put re_compiled member at the
Paul Eggert [Tue, 11 Apr 2006 00:49:59 +0000 (00:49 +0000)]
(struct control): Put re_compiled member at the
end, since it's large.  Change regexpr member from char * to bool;
all uses changed.  Add new member fastmap.
(extract_regexp): regexp arg is now char const *, not char *.
Don't bother duplicating the regular expression; it's not needed.
Set fastmap from new fastmap member.  Don't bother allocating
a buffer, as the regexp code does a better job than we do.

18 years agoremove useless spaces before TABs
Jim Meyering [Mon, 10 Apr 2006 19:15:08 +0000 (19:15 +0000)]
remove useless spaces before TABs

18 years agoImport latest regex module from gnulib.
Paul Eggert [Mon, 10 Apr 2006 06:46:07 +0000 (06:46 +0000)]
Import latest regex module from gnulib.

18 years agoAdd 'hostid' to System context menu line.
Paul Eggert [Sun, 9 Apr 2006 07:55:05 +0000 (07:55 +0000)]
Add 'hostid' to System context menu line.