pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk/files/pbulk/lib No sin_len on digital u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97631064a6e1
branches:  trunk
changeset: 531716:97631064a6e1
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Aug 05 09:03:09 2007 +0000

description:
No sin_len on digital unix derivatives. (xxx: time for a configure test?)

diffstat:

 pkgtools/pbulk/files/pbulk/lib/netaddr.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 2dbf91c77413 -r 97631064a6e1 pkgtools/pbulk/files/pbulk/lib/netaddr.c
--- a/pkgtools/pbulk/files/pbulk/lib/netaddr.c  Sun Aug 05 08:47:57 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/lib/netaddr.c  Sun Aug 05 09:03:09 2007 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netaddr.c,v 1.4 2007/07/21 14:45:12 tnn Exp $ */
+/* $NetBSD: netaddr.c,v 1.5 2007/08/05 09:03:09 tnn Exp $ */
 
 /*-
  * Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -70,7 +70,8 @@
                return -1;
        addr->sin_port = htons((in_port_t)tmp);
        addr->sin_addr = in;
-#if !defined(__sun) && !defined(__hpux) && !defined(__INTERIX)
+#if !defined(__sun) && !defined(__hpux) && !defined(__INTERIX) && \
+    !defined(__digital__)
        addr->sin_len = sizeof(*addr);
 #endif
        addr->sin_family = AF_INET;



Home | Main Index | Thread Index | Old Index