FreeBSD Bugzilla – Attachment 148951 Details for
Bug 194767
[PATCH] sysutils/mcelog contains a patch adding code for an obsolete FreeBSD version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
New version of sysutils/mcelog/files/patch-config.c
patch-config.c (text/plain), 557 bytes, created by
ftigeot
on 2014-11-02 19:07:34 UTC
(
hide
)
Description:
New version of sysutils/mcelog/files/patch-config.c
Filename:
MIME Type:
Creator:
ftigeot
Created:
2014-11-02 19:07:34 UTC
Size:
557 bytes
patch
obsolete
>--- config.c.orig 2010-01-21 02:36:52 UTC >+++ config.c >@@ -18,6 +18,9 @@ > Author: Andi Kleen > */ > #define _GNU_SOURCE 1 >+#ifdef __FreeBSD__ >+#include <sys/param.h> >+#endif > #include <stdio.h> > #include <string.h> > #include <ctype.h> >@@ -304,7 +307,12 @@ int config_trigger(const char *header, c > s = config_string(header, name); > if (s) { > /* no $PATH */ >+#ifdef __Linux_ > if (trigger_check(s) != 0) { >+#endif >+#ifdef __FreeBSD__ >+ if (access(s, R_OK|X_OK) != 0) { >+#endif > SYSERRprintf("Trigger `%s' not executable\n", s); > exit(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 194767
: 148951 |
148957