diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-21 18:19:35 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-21 18:19:35 +0200 |
commit | c403e32526bc99e886d58a09e11a4f3043af8040 (patch) | |
tree | 4a423b43c92dc9836865a32cb5cb053ece5ac118 /test/locale-mbwc/dat_wcslen.c | |
parent | 71dcf8f4401b27f2b7446601a6d0dbcddc0aa8b4 (diff) |
sleep: code shrink
Use less stack by using same "sigset_t set" object for new and saved
signal set, remove redundant clearing of set, and do not save/restore
errno around sigprocmask(SIG_SETMASK) - it never changes it.
While at it, improve comments and make code style consistent
across sleep.c file.
text data bss dec hex filename
- 242 0 0 242 f2 libc/unistd/sleep.o
+ 197 0 0 197 c5 libc/unistd/sleep.o
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'test/locale-mbwc/dat_wcslen.c')
0 files changed, 0 insertions, 0 deletions