Source-Changes archive

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

CVS commit: basesrc



Module Name:    basesrc
Committed By:   itojun
Date:           Thu Mar  2 07:41:52 UTC 2000

Modified Files:
        basesrc/distrib/sets/lists/base: shl.mi
        basesrc/lib/libc: shlib_version
        basesrc/lib/libc/net: Makefile.inc
        syssrc/sys/lib/libkern: Makefile
        syssrc/sys/sys: socket.h
Added Files:
        basesrc/lib/libc/net: __cmsg_alignbytes.c
        syssrc/sys/lib/libkern: __cmsg_alignbytes.c

Log Message:
make CMSG_ALIGN always synchronize with kernel's idea of ALIGNBYTES.
ancillary data alignment will be ALIGNBYTES, not sizeof(long) - 1, from now.

CMSG_xx will NOT resolve into constant.  if you use CMSG_xx to allocate
arrays, you'll lose.

bump shlib minor for libc.

NOTE: if you are on top of arch with ALIGNBYTES != sizeof(long) - 1,
you need to recompile IPv6-related binaries.  there is no way to guarantee
backward compat in this aspect.  sorry for this.  this should be the last
backward compat breakage for IPv6-related ancillary data manipulation.
(we still have PR 9516 for unix-domain sockets...)


To generate a diff of this commit:
cvs rdiff -r1.55 -r1.56 basesrc/distrib/sets/lists/base/shl.mi
cvs rdiff -r1.84 -r1.85 basesrc/lib/libc/shlib_version
cvs rdiff -r1.51 -r1.52 basesrc/lib/libc/net/Makefile.inc
cvs rdiff -r0 -r1.1 basesrc/lib/libc/net/__cmsg_alignbytes.c
cvs rdiff -r1.53 -r1.54 syssrc/sys/lib/libkern/Makefile
cvs rdiff -r0 -r1.1 syssrc/sys/lib/libkern/__cmsg_alignbytes.c
cvs rdiff -r1.50 -r1.51 syssrc/sys/sys/socket.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index