git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6a2ac1e
)
darwin90-ukernel-setjmp-conflict-20060927
author
Derrick Brashear
<shadow@dementia.org>
Wed, 27 Sep 2006 22:13:15 +0000 (22:13 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Wed, 27 Sep 2006 22:13:15 +0000 (22:13 +0000)
FIXES 39354
setjmp isn't safe for #define KERNEL
src/afs/UKERNEL/sysincludes.h
patch
|
blob
|
history
diff --git
a/src/afs/UKERNEL/sysincludes.h
b/src/afs/UKERNEL/sysincludes.h
index
54f078b
..
2c851b0
100644
(file)
--- a/
src/afs/UKERNEL/sysincludes.h
+++ b/
src/afs/UKERNEL/sysincludes.h
@@
-21,7
+21,9
@@
#include <limits.h>
#include <assert.h>
#include <stdarg.h>
+#if !defined(AFS_USR_DARWIN_ENV) && !defined(AFS_USR_FBSD_ENV) /* must be included after KERNEL undef'd */
#include <setjmp.h>
+#endif
#ifdef AFS_USR_SUN5_ENV
#include <signal.h>
@@
-120,6
+122,7
@@
#define AFS_USR_UNDEF_KERNEL_ENV 1
#endif
#include <errno.h>
+#include <setjmp.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>