Source-Changes-HG archive

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

[src/trunk]: src/sys/sys don't change the layout of the struct, it is used by...



details:   https://anonhg.NetBSD.org/src/rev/ada9bd5cfd41
branches:  trunk
changeset: 772172:ada9bd5cfd41
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 21 19:27:47 2011 +0000

description:
don't change the layout of the struct, it is used by fstat. (from yamt)

diffstat:

 sys/sys/socketvar.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d2e839b97224 -r ada9bd5cfd41 sys/sys/socketvar.h
--- a/sys/sys/socketvar.h       Wed Dec 21 19:04:18 2011 +0000
+++ b/sys/sys/socketvar.h       Wed Dec 21 19:27:47 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: socketvar.h,v 1.127 2011/12/20 23:56:29 christos Exp $ */
+/*     $NetBSD: socketvar.h,v 1.128 2011/12/21 19:27:47 christos Exp $ */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -128,6 +128,7 @@
        short           so_options;     /* from socket call, see socket.h */
        u_short         so_linger;      /* time to linger while closing */
        short           so_state;       /* internal state flags SS_*, below */
+       int             so_unused;      /* used to be so_nbio */
        void            *so_pcb;        /* protocol control block */
        const struct protosw *so_proto; /* protocol handle */
 /*



Home | Main Index | Thread Index | Old Index