Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-12 | (expr invocation): expr exit status is 3 only for | Paul Eggert | |
internal errors now; 2 is also for invalid values in expressions. | |||
2006-04-12 | Clear the RE_NO_EMPTY_RANGES re syntax option, as this is a less intrusive | Paul Eggert | |
change from the old (Emacs) behavior, and POSIX allows us to treat [z-a] as an empty range. | |||
2006-04-12 | expr, csplit, nl patches to conform better to POSIX and/or traditional | Paul Eggert | |
behavior. Port tests to Solaris 8. | |||
2006-04-12 | Use \{...\} in test RE, to test that we're conforming to POSIX. | Paul Eggert | |
2006-04-12 | (fail-a): Adjust exit status to match new expr behavior, for status 2 versus 3. | Paul Eggert | |
(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. | |||
2006-04-12 | (docolon): Set re_syntax_options to a value that is compatible with | Paul Eggert | |
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. | |||
2006-04-12 | (build_type_arg): Set re_syntax_options to a value that is compatible | Paul Eggert | |
with what POSIX requires. | |||
2006-04-12 | (extract_regexp): Set re_syntax_options to a | Paul Eggert | |
value that is compatible with what POSIX requires. | |||
2006-04-12 | (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h. | Paul Eggert | |
2006-04-12 | Do not assume that 'sed' can handle long, newline-free input. | Paul Eggert | |
Evaluate expr once, not $n times. | |||
2006-04-12 | Solaris 8 sh doesn't understand "if !". Do not assume that 'sed' can | Paul Eggert | |
handle long, newline-free input. | |||
2006-04-11 | Adjust to new regex.h API (with new fastmap type), and clean | Paul Eggert | |
up the regex storage allocation a bit. | |||
2006-04-11 | (compiled_separator_fastmap): New ver. | Paul Eggert | |
(main): Use it. Don't bother allocating a buffer. | |||
2006-04-11 | (context_regex_string, word_regex_string): Remove. | Paul Eggert | |
(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. | |||
2006-04-11 | (body_fastmap, header_fastmap, footer_fastmap): | Paul Eggert | |
New vars. (build_type_arg): New fastmap arg. All uses changed. Don't bother allocating a buffer, but set a fastmap. | |||
2006-04-11 | (docolon): Allocate and use a fastmap. | Paul Eggert | |
Don't bother allocating a buffer. | |||
2006-04-11 | Update copyright year. | Paul Eggert | |
2006-04-11 | (struct control): Put re_compiled member at the | Paul Eggert | |
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. | |||
2006-04-10 | remove useless spaces before TABs | Jim Meyering | |
2006-04-10 | Import latest regex module from gnulib. | Paul Eggert | |
2006-04-09 | Add 'hostid' to System context menu line. | Paul Eggert | |
2006-04-09 | (Top): Fix typo in System context menu entry: hostid wasn't mentioned. | Paul Eggert | |
2006-03-30 | (iwrite): Remove assignment without effect. | Jim Meyering | |
Reported by Felix Rauch Valenti. | |||
2006-03-30 | *** empty log message *** | Jim Meyering | |
2006-03-28 | *** empty log message *** | Jim Meyering | |
2006-03-28 | (General options in ptx): Undocument --copyright. | Jim Meyering | |
2006-03-28 | *** empty log message *** | Jim Meyering | |
2006-03-28 | (usage): Remove mention of --copyright/-C. | Jim Meyering | |
(main): Alias --copyright to --version plus a deprecation warning. | |||
2006-03-28 | deprecate ptx's --copyright (-C) option | Jim Meyering | |
2006-03-27 | *** empty log message *** | Jim Meyering | |
2006-03-27 | (dirname invocation): Macro in previous patch was too broad. | Jim Meyering | |
2006-03-27 | version: 5.94 | Jim Meyering | |
2006-03-27 | . | Jim Meyering | |
2006-03-27 | (uptime_LDADD): Add $(POW_LIB), for uptime's use of strtod. | Jim Meyering | |
Tiny patch from Nickolai Zeldovich. | |||
2006-03-27 | *** empty log message *** | Jim Meyering | |
2006-03-26 | . | Jim Meyering | |
2006-03-26 | *** empty log message *** | Jim Meyering | |
2006-03-26 | (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT. | Jim Meyering | |
2006-03-26 | (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h. | Jim Meyering | |
(FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define. | |||
2006-03-26 | new file from Eric Blake | Jim Meyering | |
2006-03-26 | *** empty log message *** | Jim Meyering | |
2006-03-26 | (base_name): New semantics - malloc the result. | Jim Meyering | |
Preserve // when it is special. Preserve relative files that look like drive letters. (base_len): Preserve // when it is special. (last_component): New method, similar to old base_name semantics. | |||
2006-03-26 | (dir_len): Determine when drive letters need a subsequent slash. | Jim Meyering | |
Preserve // when it is special. (dir_name): Don't append dot when drive letter is absolute. [TEST_DIRNAME]: Move into a full-blown gnulib test. | |||
2006-03-26 | (FILE_SYSTEM_PREFIX_LEN): Move here from dos.m4. | Jim Meyering | |
[FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]: Don't treat 1: as a drive prefix. (IS_ABSOLUTE_FILE_NAME): Treat all drive letters as absolute on platforms like cygwin with FILE_SYSTEM_DRIVE_PREFIX_IS_ABSOLUTE. (last_component): New method. | |||
2006-03-26 | (strip_trailing_slashes): Use last_component, not base_name. | Jim Meyering | |
Strip redundant slashes from ///. | |||
2006-03-26 | (file_name_concat): s/base_name/last_component/ | Jim Meyering | |
2006-03-26 | (check_extension, numbered_backup): s/base_name/last_component/ | Jim Meyering | |
2006-03-26 | (same_name): s/base_name/last_component/ | Jim Meyering | |
2006-03-26 | (basename invocation, dirname invocation): | Jim Meyering | |
Improve documentation to match recent // patches. | |||
2006-03-26 | *** empty log message *** | Jim Meyering | |