FreeBSD Bugzilla – Attachment 14931 Details for
Bug 27875
invoked on boot, SIGHUP is delivered and rplayd exits
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 327 bytes, created by
SANETO Takanori
on 2001-06-04 15:00:09 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
SANETO Takanori
Created:
2001-06-04 15:00:09 UTC
Size:
327 bytes
patch
obsolete
>--- rplayd/rplayd.c.orig Sun Jun 3 11:15:22 2001 >+++ rplayd/rplayd.c Sun Jun 3 11:15:24 2001 >@@ -421,10 +421,9 @@ > /* Fork */ > if (do_fork) > { >- int pid = fork(); >- if (pid != 0) >- { >- exit(0); >+ if (daemon(1, 1) < 0) { >+ report(REPORT_ERROR, "daemon: %s\n", sys_err_str(errno)); >+ done(1); > } > }
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 27875
: 14931