Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153266739
D50251.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
428 B
Referenced Files
None
Subscribers
None
D50251.diff
View Options
diff --git a/usr.bin/mail/collect.c b/usr.bin/mail/collect.c
--- a/usr.bin/mail/collect.c
+++ b/usr.bin/mail/collect.c
@@ -698,7 +698,7 @@
/*ARGSUSED*/
void
-collhup(int s __unused)
+collhup(int signo)
{
rewind(collf);
savedeadletter(collf);
@@ -706,7 +706,8 @@
* Let's pretend nobody else wants to clean up,
* a true statement at this time.
*/
- exit(1);
+ signal(signo, SIG_DFL);
+ raise(signo);
}
void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 3:48 AM (9 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31886028
Default Alt Text
D50251.diff (428 B)
Attached To
Mode
D50251: mail: exit with the correct exit status on SIGHUP
Attached
Detach File
Event Timeline
Log In to Comment