FreeBSD Bugzilla – Attachment 70487 Details for
Bug 102834
[patch] mail(1) hangs on the sigsuspend system call in popen.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch.popen.c.diff
patch.popen.c.diff (text/x-diff; charset="iso 8859-15"), 675 bytes, created by
longwitz
on 2009-06-10 17:36:43 UTC
(
hide
)
Description:
patch.popen.c.diff
Filename:
MIME Type:
Creator:
longwitz
Created:
2009-06-10 17:36:43 UTC
Size:
675 bytes
patch
obsolete
>--- popen.c.orig 2002-06-30 07:25:06.000000000 +0200 >+++ popen.c 2009-05-07 15:58:19.000000000 +0200 >@@ -364,11 +364,11 @@ > int pid; > { > sigset_t nset, oset; >- struct child *cp = findchild(pid); > > (void)sigemptyset(&nset); > (void)sigaddset(&nset, SIGCHLD); > (void)sigprocmask(SIG_BLOCK, &nset, &oset); >+ struct child *cp = findchild(pid); > > while (!cp->done) > (void)sigsuspend(&oset); >@@ -386,11 +386,11 @@ > int pid; > { > sigset_t nset, oset; >- struct child *cp = findchild(pid); > > (void)sigemptyset(&nset); > (void)sigaddset(&nset, SIGCHLD); > (void)sigprocmask(SIG_BLOCK, &nset, &oset); >+ struct child *cp = findchild(pid); > > if (cp->done) > delchild(cp);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 102834
: 70487