mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 04:50:27 +02:00
32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilation
fixes Src/utils.c: properly ifdef declarations Src/zsh_system.h: memmove() should return its dest argument Src/signals.c: define ret before use Src/mem.c: remove unused pointers Src/prototypes.h: use size_t in bcopy() Src/compat.c: fix const declaration inconsistency
This commit is contained in:
parent
37ccdf58c0
commit
4f4d2b8247
7 changed files with 31 additions and 10 deletions
|
|
@ -369,7 +369,7 @@ signal_suspend(UNUSED(int sig), int wait_cmd)
|
|||
#ifdef POSIX_SIGNALS
|
||||
# ifdef BROKEN_POSIX_SIGSUSPEND
|
||||
sigprocmask(SIG_SETMASK, &set, &oset);
|
||||
pause();
|
||||
ret = pause();
|
||||
sigprocmask(SIG_SETMASK, &oset, NULL);
|
||||
# else /* not BROKEN_POSIX_SIGSUSPEND */
|
||||
ret = sigsuspend(&set);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue