Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-04-09 | Remove all uses of signals; modern hosts have | Paul Eggert | |
/dev/random and don't need this gorp. Do not include signal.h. (env, sigill_handler, isaac_seed_machdep): Remove. All uses removed. | |||
2005-04-09 | (SA_NOCLDSTOP): Define to 0 if not defined. | Paul Eggert | |
All uses changed. (siginterrupt) [! HAVE_SIGINTERRUPT]: New macro. (main) [! SA_NOCLDSTOP]: Use it. | |||
2005-04-09 | Do not include safe-read.h or full-write; no longer needed. | Paul Eggert | |
(process_signals): Add forward decl. (SA_NOCLDSTOP, sigprocmask, sigset_t) [!defined SA_NOCLDSTOP]: New macros. (siginterrupt) [! HAVE_SIGINTERRUPT]: New macro. (SA_NODEFER) [!defined SA_NODEFER]: New macro. (SA_RESETHAND) [!defined SA_RESETHAND]: New macro. (caught_signals, interrupt_signal, info_signal_count, catch_siginfo): New vars. (usage): Mention -USR1 versus -INFO. (cleanup): Don't invoke print_stats; the caller must do it now. All callers changed. (quit): Process signals just before exiting. (interrupt_handler): Simply record the signal and return. (siginfo_handler): Simply increment the signal counter and return. (install_handler): Remove, replacing with: (install_signal_handlers, process_signals, iread, iwrite): New functions. All callers to safe_read and full_write replaced by iread and iwrite. All callers to install_handler replaced by install_handlers. Do not include inttostr.h, no longer needed. (print_stats, main): Rewrite and simplify formats to use PRIuMAX instead of umaxtostr. (print_stats): Work even in languages that have special forms for two of things, for r_truncate and w_bytes. We can't fix delta_s in this way, since ngettext doesn't support floating-point. (main): Rewrite to avoid casts. | |||
2005-04-09 | (SA_NOCLDSTOP): Define to 0 if not defined. | Paul Eggert | |
All uses changed. (siginterrupt) [!HAVE_SIGINTERRUPT]: New macro. (delete_all_files): New arg IN_SIGNAL_HANDLER, to avoid undefined behavior when called from a signal handler. All uses changed. (main) [!defined SA_NOCLDSTOP]: Use siginterrupt to specify that system calls should be interrupted. | |||
2005-04-09 | (RETSIGTYPE): Remove; no longer needed. All uses replaced with void. | Paul Eggert | |
2005-04-07 | (binary_operator) [LINT]: Initialize lt and rt to 0. | Jim Meyering | |
2005-04-07 | (digest_check) [LINT]: Initialize hex_digest to NULL. | Jim Meyering | |
2005-04-07 | (binop): Move function definition to precede first use so we can... | Jim Meyering | |
(binop): ...remove prototype. | |||
2005-04-07 | (is_int, age_of, binop): Declare `char *' parameters to be `const'. | Jim Meyering | |
2005-04-05 | (usage): Add examples. | Paul Eggert | |
2005-04-05 | (usage): Mention that some shells provide a built-in function by the same name. | Jim Meyering | |
2005-04-05 | (usage): Mention that some shells provide a | Jim Meyering | |
built-in function by the same name. | |||
2005-04-05 | . | Jim Meyering | |
2005-04-05 | (tee): When closing files, do not close stdout, | Jim Meyering | |
leave this job to close_stdout() instead. From Dmitry V. Levin. | |||
2005-04-04 | (usage): Move USAGE_BUILTIN_WARNING to end of --help output. | Jim Meyering | |
2005-04-04 | (USAGE_BUILTIN_WARNING): remove trailing newline | Jim Meyering | |
2005-04-04 | . | Jim Meyering | |
2005-04-04 | (usage): Mention that some shells provide a built-in | Jim Meyering | |
function by the same name. | |||
2005-04-04 | (usage): Mention that some shells provide a built-in | Jim Meyering | |
function by the same name. | |||
2005-04-04 | (usage): Mention that some shells provide a built-in | Jim Meyering | |
function by the same name. | |||
2005-04-04 | (usage): Mention that some shells provide a built-in | Jim Meyering | |
function by the same name. | |||
2005-04-04 | (USAGE_BUILTIN_WARNING): New macro. | Jim Meyering | |
2005-04-03 | (main): Fix off-by-one error. | Jim Meyering | |
pr -$(perl -e 'print "0"x63 . 1') would write one byte beyond the end of a malloc'd buffer. | |||
2005-04-01 | Correct indentation of the two just-split lines. | Jim Meyering | |
2005-04-01 | split two longer-than-80-column lines | Jim Meyering | |
2005-04-01 | (main): Free column_count_string when done with it. | Jim Meyering | |
2005-04-01 | Don't let pr treat +1:-1 like +1:18446744073709551615. | Jim Meyering | |
(strtoumax): Remove declaration. (first_last_page): Use xstrtoumax in place of strtoumax, so we don't interpret a negative page number (e.g., in an option like --pages=1:-1) as valid. | |||
2005-03-30 | (who): New arg OPTIONS. All uses changed. | Paul Eggert | |
(main): Check PIDs when invoked with zero or two arguments. Omit duplicate code in 2-arg case. (UT_PID): Moved to ../lib/readutmp.h. | |||
2005-03-30 | (users): New arg OPTIONS. All uses changed. | Paul Eggert | |
(main): Check PIDs when invoked with zero arguments. | |||
2005-03-30 | (uptime): New arg OPTIONS. All uses changed. | Paul Eggert | |
(main): Check PIDs when invoked with zero arguments. | |||
2005-03-30 | (short_pinky): Adjust to read_utmp signature change. | Paul Eggert | |
2005-03-29 | (ptr_align): Declare `ptr' parameter to be a | Jim Meyering | |
`const' pointer, since this function never writes through it. | |||
2005-03-29 | Remove #if-0'd-out code. | Jim Meyering | |
2005-03-29 | Indent cpp directives. | Jim Meyering | |
2005-03-28 | . | Jim Meyering | |
2005-03-28 | (print_sep_string): | Jim Meyering | |
Add `void' to make this an ANSI-style function declaration. | |||
2005-03-28 | (ds_init): Add `void' to make this an ANSI-style function declaration. | Jim Meyering | |
2005-03-28 | (get_width_format) [HAVE_RINT && HAVE_MODF && HAVE_FLOOR]: | Jim Meyering | |
Add `void' to make this an ANSI-style function declaration. | |||
2005-03-28 | (sc_tight_scope): Adjust to catch any | Jim Meyering | |
new declarations like that of stty.c's `speeds'. | |||
2005-03-28 | (speeds): Declare this array to be static. | Jim Meyering | |
2005-03-28 | (long_options): Use NULL, not `0'. | Jim Meyering | |
2005-03-28 | (follow_mode_string): Use NULL, not `0'. | Jim Meyering | |
2005-03-28 | (long_options): Use NULL, not `0'. | Jim Meyering | |
2005-03-28 | (docolon): Use NULL, not `0'. | Jim Meyering | |
2005-03-28 | (print_user): Use NULL, not `0'. | Jim Meyering | |
2005-03-28 | (print_uptime): Use NULL, not `0'. | Jim Meyering | |
2005-03-28 | (delimit_method_string): Use NULL, not `0'. | Jim Meyering | |
2005-03-28 | (longopts, time_args): Use NULL, not `0'. | Jim Meyering | |
2005-03-28 | (main): Use NULL, not `0'. | Jim Meyering | |
2005-03-28 | (long_options): Use NULL, not `0'. | Jim Meyering | |