Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 3/6] make sure signal_suspend doesn't return a undefined value
- X-seq: zsh-workers 32735
- From: Nikolas Garofil <nikolas@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 3/6] make sure signal_suspend doesn't return a undefined value
- Date: Sat, 7 Jun 2014 19:18:52 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=UycIEcRIicw4BA88KcnaA/dOffZijmtoYa1dICsehTc=; b=xxqjVJWb9ma6B6C47Dvtg/5DScUyKXif1YIMLdl1G1B8iNH1NKkppwLBhxDvZslQFe Ng7kxeeaxhKNziZAShuCWCbcHC3EY25riyZnrZ7sK+J+C7wAknog/ESIRgA3z8zUU/ti ZS/ZWPHRe3YmzT3QLPVaDA/6nkd4pFi6+73CmhbDSHxcGYO9jD2g3ekNRcUP3/EYaXNJ ADtNBv7Uphz0Cnj2qdMWh1+LZ8+O7BwyaUseZhVAv6p5TG2QumJH3MhD/lm7iB5OxIam zfpjrrpAi4qtbyjmjnzBuyaLMiMfudk0kQKBuQn+lggAmOu92hnmJpGTQs7Ynu98ZXS1 97rA==
- In-reply-to: <1402161535-20756-1-git-send-email-nikolas@garofil.be>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1402161535-20756-1-git-send-email-nikolas@garofil.be>
- Sender: Nikolas Garofil <nikolas.garofil@xxxxxxxxx>
---
Src/signals.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Src/signals.c b/Src/signals.c
index a6eb803..cb2b581 100644
--- a/Src/signals.c
+++ b/Src/signals.c
@@ -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);
--
1.8.3.2
Messages sorted by:
Reverse Date,
Date,
Thread,
Author