Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/svr4 Match the Solaris siginfo layout for _LP64.



details:   https://anonhg.NetBSD.org/src/rev/cb375b40a9e7
branches:  trunk
changeset: 533044:cb375b40a9e7
user:      eeh <eeh%NetBSD.org@localhost>
date:      Wed Jun 19 17:33:01 2002 +0000

description:
Match the Solaris siginfo layout for _LP64.

diffstat:

 sys/compat/svr4/svr4_siginfo.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r b1db77c1de15 -r cb375b40a9e7 sys/compat/svr4/svr4_siginfo.h
--- a/sys/compat/svr4/svr4_siginfo.h    Wed Jun 19 17:01:18 2002 +0000
+++ b/sys/compat/svr4/svr4_siginfo.h    Wed Jun 19 17:33:01 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_siginfo.h,v 1.3 1998/09/04 19:54:39 christos Exp $         */
+/*     $NetBSD: svr4_siginfo.h,v 1.4 2002/06/19 17:33:01 eeh Exp $      */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -88,6 +88,10 @@
                int                             _signo;
                int                             _code;
                int                             _errno;
+#ifdef _LP64
+               /* In _LP64 the union starts on an 8-byte boundary. */
+               int                             _pad;
+#endif
                union {
                        struct {
                                svr4_pid_t      _pid;



Home | Main Index | Thread Index | Old Index