Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-12 | (USE_STATVFS): New macro. | Paul Eggert | |
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. | |||
2006-04-12 | (main) [! HAVE_SETGROUPS]: Don't call setgroups. | Paul Eggert | |
2006-04-12 | (linkfunc): Remove. This method ran into a compiler/linker | Paul Eggert | |
bug in Interix. Just call symlink or link directly. All uses changed. | |||
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 | (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-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-03-30 | (iwrite): Remove assignment without effect. | Jim Meyering | |
Reported by Felix Rauch Valenti. | |||
2006-03-28 | (usage): Remove mention of --copyright/-C. | Jim Meyering | |
(main): Alias --copyright to --version plus a deprecation warning. | |||
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-26 | . | Jim Meyering | |
2006-03-26 | (log_su, run_shell): Use new last_component, in place of base_name. | Jim Meyering | |
2006-03-26 | (next_file_name): Use new last_component, in place of base_name. | Jim Meyering | |
2006-03-26 | (wipename): Use new last_component, in place of base_name. | Jim Meyering | |
2006-03-26 | (rm_1): Use new last_component, in place of base_name. | Jim Meyering | |
2006-03-26 | (target_directory_operand, movefile): Use new last_component, in place of ↵ | Jim Meyering | |
base_name. | |||
2006-03-26 | (basename_is_dot_or_dotdot): Use new last_component, in place of base_name. | Jim Meyering | |
2006-03-26 | (target_directory_operand, main): Use new last_component, in place of base_name. | Jim Meyering | |
2006-03-26 | (target_directory_operand, install_file_in_dir): Use new last_component, in ↵ | Jim Meyering | |
place of base_name. | |||
2006-03-26 | (guess_shell_syntax): Use new last_component. | Jim Meyering | |
2006-03-26 | (target_directory_operand): Use new last_component. | Jim Meyering | |
(ASSIGN_BASENAME_STRDUPA): Likewise. Reduce time spent traversing the string. | |||
2006-03-26 | (main): Don't strip suffix from file system roots. | Jim Meyering | |
2006-03-23 | (main): Ignore fd_reopen return value when ignoring input, since | Paul Eggert | |
we've closed input at that point so we are ignoring input. | |||
2006-03-23 | (main): nohup diagnostics are now more precise, and nohup now | Paul Eggert | |
redirects stderr to nohup.out if stdout is closed and stderr is a tty. | |||
2006-03-17 | . | Jim Meyering | |
2006-03-12 | (set_author): Rename function, from preserve_author. | Jim Meyering | |
2006-03-12 | . | Jim Meyering | |
2006-03-12 | (AD_pop_and_chdir): Use new macro, | Jim Meyering | |
CYCLE_CHECK_REFLECT_CHDIR_UP, rather than open-coding it. | |||
2006-03-12 | (SAME_INODE): Remove definition. | Jim Meyering | |
Include "same-inode.h", instead. | |||
2006-03-11 | (robust_getcwd): Prepend only one slash, not two. | Jim Meyering | |
2006-03-10 | Fix a bug whereby a user with write access to a directory being removed | Jim Meyering | |
could cause the removal of that directory to fail with an erroneous diagnostic about a directory cycle. Reported by Vineet Chadha. (AD_pop_and_chdir): If the directory we're about to leave (and try to rmdir) is the one whose dev_ino is being used to detect a cycle, reset cycle_check_state.dev_ino to that of the parent. | |||
2006-03-08 | (set_fd_flags): Handle file-creation flags on file | Paul Eggert | |
descriptors, rather than ignoring them. | |||
2006-03-06 | (O_NOLINKS): Define to 0 if not already defined. | Paul Eggert | |
2006-03-06 | (flags, usage): New flags directory, nolinks. | Paul Eggert | |
2006-03-06 | (usage): Mention that -f disables --color. | Paul Eggert | |
2006-03-05 | Make `base64 --wrap=N' work for N=0, and for N larger than SIZE_MAX. | Jim Meyering | |
(wrap_write, do_encode, main): Change type of parameters and locals, wrap_column, form size_t to uintmax_t. (main): Adjust to use xstrtoumax, accordingly. | |||
2006-02-27 | (do_decode): Use correct type for parameter, ignore_garbage: s/size_t/bool/. | Jim Meyering | |
2006-02-27 | *** empty log message *** | Jim Meyering | |
2006-02-27 | . | Jim Meyering | |
2006-02-27 | (bin_PROGRAMS): Add base64. | Jim Meyering | |
2006-02-27 | (wrap_write): Correct declaration syntax: s/size_t * V/size_t *V/. | Jim Meyering | |
2006-02-27 | Don't include .h files already included by system.h: | Jim Meyering | |
<string.h>, <stdlib.h>, <stdbool.h>, <limits.h>, <errno.h>. Include "system.h" before the other lib/*.h header files. Include <sys/types.h> before "system.h". (wrap_write): Remove declaration of unused local, initial_column. | |||
2006-02-27 | *** empty log message *** | Jim Meyering | |