Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 182467 Details for
Bug 259507
sys-apps/sandbox-1.3.{7,git} fail on gentoo-freebsd due to missing sighandler_t type.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sighandler_t.patch
sighandler_t.patch (text/plain), 672 bytes, created by
Javier Villavicencio (RETIRED)
on 2009-02-18 20:21:12 UTC
(
hide
)
Description:
sighandler_t.patch
Filename:
MIME Type:
Creator:
Javier Villavicencio (RETIRED)
Created:
2009-02-18 20:21:12 UTC
Size:
672 bytes
patch
obsolete
>--- a/src/sandbox.c >+++ b/src/sandbox.c >@@ -303,7 +303,14 @@ > argv[i]); > } > } >- >+/* BSD and GNU... >+ * The suckers do not agree on this one. >+ */ >+#ifdef __USE_GNU >+#define shandler_t sighandler_t >+#else if __USE_BSD >+#define shandler_t sig_t >+#endif > /* set up the required signal handlers ... but allow SIGHUP to be > * ignored in case people are running `nohup ...` #217898 > */ >@@ -311,7 +318,7 @@ > signal(SIGHUP, SIG_IGN); > #define wsignal(sig, act) \ > do { \ >- sighandler_t _old = signal(sig, act); \ >+ shandler_t _old = signal(sig, act); \ > if (_old == SIG_ERR) \ > sb_pwarn("unable to bind signal %s\n", #sig); \ > else if (_old != SIG_DFL) \
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 259507
: 182467