Denis Vlasenko
fb0eba706c
libbb: introduce and use safe_waitpid (loops in EINTR)
*: use more approproate (shorter) versions of wait()
function old new delta
safe_waitpid - 48 +48
wait_any_nohang - 17 +17
send_tree 365 369 +4
processorstop 432 435 +3
text_yank 110 108 -2
make_human_readable_str 202 200 -2
crond_main 1368 1366 -2
handle_sigchld 49 43 -6
reapchild 166 159 -7
custom 260 250 -10
checkscript 191 177 -14
wait_nohang 17 - -17
wait_pid 43 - -43
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 2/7 up/down: 72/-103) Total: -31 bytes
2008-01-02 19:55:04 +00:00
..
2007-12-02 06:30:57 +00:00
2008-01-02 19:55:04 +00:00
2007-10-11 10:05:36 +00:00
2007-11-25 12:40:56 +00:00
2007-12-24 14:09:19 +00:00
2007-10-11 10:05:36 +00:00
2007-10-11 10:05:36 +00:00
2007-11-23 21:43:40 +00:00
2007-10-11 10:05:36 +00:00
2007-10-11 10:05:36 +00:00
2007-08-23 10:43:18 +00:00
2008-01-02 19:55:04 +00:00
2007-11-04 04:10:17 +00:00
2008-01-02 19:55:04 +00:00
2008-01-02 19:55:04 +00:00
2007-10-11 19:53:10 +00:00
2007-12-22 17:00:11 +00:00
2007-10-11 10:05:36 +00:00
2007-10-11 10:05:36 +00:00
2007-08-31 21:45:52 +00:00
2007-01-14 12:34:48 +00:00
2007-06-20 15:23:03 +00:00
2007-12-28 17:04:42 +00:00
2007-10-11 10:05:36 +00:00
2007-10-11 10:05:36 +00:00
2007-12-30 01:59:53 +00:00
2007-10-11 10:05:36 +00:00
2007-10-20 02:00:49 +00:00
2007-10-11 10:05:36 +00:00
2007-11-06 02:23:39 +00:00
2007-10-11 10:05:36 +00:00
2007-11-06 02:23:39 +00:00
2008-01-02 19:55:04 +00:00
2007-10-11 10:05:36 +00:00
2007-12-16 17:19:40 +00:00
2007-10-11 10:05:36 +00:00
2007-10-11 10:05:36 +00:00
2007-11-25 12:53:25 +00:00