Before putting back a user-contributed fix to bug 6442434 (Solaris should have AF_LOCAL/PF_LOCAL/AF_FILE/PF_FILE as synonyms for AF_UNIX/PF_UNIX) - I was wondering if there were people who could install the two replacement header files on their recent-vintage OpenSolaris boxes, and compile some of their favorite packages/sources?
An example bug we've found internally is that some apps have: struct sockaddr_un sun; which is bad on OpenSolaris, given "sun" is a preprocessor symbol that is set to '1'. You might not have seen this before because often this code isn't compiled unless AF_LOCAL is specified (because AF_UNIX is apparently too oppressive or something). The replacement header files both go in /usr/include/sys, and are located at: http://cr.opensolaris.org/~danmcd/af_local/raw_files/new/usr/src/uts/common/sys/socket.h http://cr.opensolaris.org/~danmcd/af_local/raw_files/new/usr/src/uts/common/sys/un.h And if you want to see the whole ON webrev, check it out at: http://cr.opensolaris.org/~danmcd/af_local/ Thanks, Dan McD. -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code