2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 16:15:27 +00:00

backed out DEC OSF1 _SOCKADDR_LEN definition, it breaks send() and recv()

This commit is contained in:
Andreas Gustafsson
1999-05-20 17:55:10 +00:00
parent ff64dc5d7f
commit 820ad97db4
2 changed files with 8 additions and 11 deletions

10
configure vendored
View File

@@ -1901,18 +1901,14 @@ EOF
;; ;;
*-dec-osf*) *-dec-osf*)
cat >> confdefs.h <<\EOF ;;
#define _SOCKADDR_LEN 1
EOF
;;
esac esac
echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6 echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
echo "configure:1914: checking for sa_len in struct sockaddr" >&5 echo "configure:1910: checking for sa_len in struct sockaddr" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1916 "configure" #line 1912 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/socket.h> #include <sys/socket.h>
EOF EOF

View File

@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE. dnl SOFTWARE.
AC_REVISION($Revision: 1.25 $) AC_REVISION($Revision: 1.26 $)
AC_PREREQ(2.12) AC_PREREQ(2.12)
@@ -236,9 +236,10 @@ case "$host" in
AC_DEFINE(NEED_AF_INET6) AC_DEFINE(NEED_AF_INET6)
;; ;;
*-dec-osf*) *-dec-osf*)
dnl 4.4BSD sa_len support is not turned on dnl Turn on 4.4BSD style sa_len support.
dnl by default, see netintro(7) dnl (Disabled for now because it is incompatible
AC_DEFINE(_SOCKADDR_LEN) dnl with the use of send() and recv()).
dnl AC_DEFINE(_SOCKADDR_LEN)
;; ;;
esac esac