summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-09(canon_host) [HAVE_GETADDRINFO]: Use memsetJim Meyering
rather than `= { 0 };' to initialize local `hint'.
2005-04-09*** empty log message ***Jim Meyering
2005-04-09Readability nit:Jim Meyering
Change this: # define __attribute__(x) to this: # define __attribute__(x) /* empty */
2005-04-09*** empty log message ***Jim Meyering
2005-04-09(posixtime) [lint]: Avoid spurious warning from gcc-4'sJim Meyering
-Wuninitialized: initialize tm0.tm_year.
2005-04-09*** empty log message ***Jim Meyering
2005-04-09(humblock): Set *options even when returning due toJim Meyering
xstrtoumax conversion failure. Thanks to a used-uninitialized warning from gcc-4.
2005-04-09*** empty log message ***Jim Meyering
2005-04-09*** empty log message ***Jim Meyering
2005-04-09(rm invocation): Say that --recursive removesJim Meyering
listed directories too, not just their contents.
2005-04-09(usage): Mention that --recursive removes listedJim Meyering
directories too, not just their contents. Say that by default, rm does not remove directories.
2005-04-09*** empty log message ***Jim Meyering
2005-04-09(sc_system_h_headers): Propagate exit status through trap.Jim Meyering
2005-04-09Don't include "timespec.h". system.h does that.Jim Meyering
2005-04-09(iread, iwrite): Use char * buffer, not void *, so we can do pointerPaul Eggert
arithmetic on it.
2005-04-09Regenerate.Paul Eggert
2005-04-09Signal-handling cleanup motivated by core dumps in dd.Paul Eggert
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-09Remove all uses of signals; modern hosts havePaul 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-09Do 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-09(gl_PREREQ_NANOSLEEP): Check for siginterrupt.Paul Eggert
2005-04-09(gl_MACROS): Check for siginterrupt.Paul Eggert
(gl_CHECK_ALL_TYPES): Do not require AC_TYPE_SIGNAL.
2005-04-09(rpl_nanosleep): Include "timespec.h" before macrosPaul Eggert
that might redefine system include files. (siginterrupt) [!HAVE_SIGINTERRUPT]: New macro. (my_usleep): Use NULL rather than (void *) 0. (rpl_nanosleep) [!defined SA_NOCLDSTOP]: Use siginterrupt to specify that system calls should be interrupted. (rpl_nanosleep): Move initialization of suspended closer to call of my_usleep.
2005-04-09(dd invocation): Document the distinction betweenPaul Eggert
INFO and USR1 for dd, and the effect of POSIXLY_CORRECT here.
2005-04-09Document that dd no longer treats QUIT or PIPE specially,Paul Eggert
and when conforming to POSIX no longer treats USR1 specially. Document that dd no longer dumps core when handling signals.
2005-04-07*** empty log message ***Jim Meyering
2005-04-07*** empty log message ***Jim Meyering
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*** empty log message ***Jim Meyering
2005-04-07(binop): Move function definition to precede first use so we can...Jim Meyering
(binop): ...remove prototype.
2005-04-07*** empty log message ***Jim Meyering
2005-04-07(is_int, age_of, binop): Declare `char *' parameters to be `const'.Jim Meyering
2005-04-06*** empty log message ***Jim Meyering
2005-04-06Remove rw.Jim Meyering
2005-04-06Remove file -- many invalid message strings.Jim Meyering
2005-04-05Regenerate.Paul Eggert
2005-04-05Add examples to basename, cat, chgrp, chown, dirname.Paul Eggert
2005-04-05(usage): Add examples.Paul Eggert
2005-04-05(.x.1): Remove "COMMAND.td/" from examples.Paul Eggert
2005-04-05Add examples to cat, chown, chgrp, basename, dirname. Change ln examplesPaul Eggert
to match that format.
2005-04-05(cat invocation, chown invocation)Paul Eggert
(chgrp invocation, basename invocation, dirname invocation): Add examples, which are copies of the examples newly added to the usage messages. (ln invocation): Use same format as other examples above, for consistency.
2005-04-05*** empty log message ***Jim Meyering
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 aJim Meyering
built-in function by the same name.
2005-04-05.Jim Meyering
2005-04-05*** empty log message ***Jim Meyering