FreeBSD Bugzilla – Attachment 800 Details for
Bug 3202
shutdown(8) don't work if started from an X Window Manager menu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 699 bytes, created by
Dmitrij Tejblum
on 1997-04-05 14:00:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dmitrij Tejblum
Created:
1997-04-05 14:00:02 UTC
Size:
699 bytes
patch
obsolete
>*** src/sbin/reboot/reboot.c.orig Sat Apr 5 16:23:20 1997 >--- src/sbin/reboot/reboot.c Sat Apr 5 16:36:56 1997 >*************** >*** 130,137 **** > if (kill(1, SIGTSTP) == -1) > err("SIGTSTP init: %s", strerror(errno)); > >! /* Ignore the SIGHUP we get when our parent shell dies. */ >! (void)signal(SIGHUP, SIG_IGN); > > /* Send a SIGTERM first, a chance to save the buffers. */ > if (kill(-1, SIGTERM) == -1) >--- 130,137 ---- > if (kill(1, SIGTSTP) == -1) > err("SIGTSTP init: %s", strerror(errno)); > >! /* Avoid receiving signals from parent shell or other group leader */ >! daemon(0,1); > > /* Send a SIGTERM first, a chance to save the buffers. */ > if (kill(-1, SIGTERM) == -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 3202
: 800