guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] waitpid should not crash on error


From: Nala Ginrut
Subject: [PATCH] waitpid should not crash on error
Date: Sun, 16 Oct 2011 11:57:38 +0800

hi guys!
I realized that "waitpid" in Guile will cause my program crash while "waitpid" actually returned -1. I believe it's unnecessary. I think the better way is we deal with it by ourselves if "waitpid in POSIX" returned -1. The SCM_SYSERROR bother me a lot. I hope my program get robustness other than crash. 

Yes I can wrap my own "waipid" for my program if no one get interested in this patch. Just a suggestion. ;-)
What you guys think?

Attachment: 0001-waitpid-should-return-false-on-error.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]