diff options
author | agc <agc@pkgsrc.org> | 2002-08-12 12:05:15 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2002-08-12 12:05:15 +0000 |
commit | d73762004f526b3686249e9cf842099fa453d57f (patch) | |
tree | 01a272d580fdbe150695531a3eee2f8c53329e50 | |
parent | ea22e44ecf04616d25a4470f8de7e38bbdf19fb7 (diff) | |
download | pkgsrc-d73762004f526b3686249e9cf842099fa453d57f.tar.gz |
Be more correct in the routine which acts as the accept(2) wrapper -
use socklen_t for the third argumen. From Ingolf Steinbach
<ingolf.steinbach@jena-optronik.de>.
-rw-r--r-- | x11/wx1Motif/distinfo | 4 | ||||
-rw-r--r-- | x11/wx1Motif/patches/patch-ah | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/x11/wx1Motif/distinfo b/x11/wx1Motif/distinfo index fc05d4f41eb..1ea60d9aeee 100644 --- a/x11/wx1Motif/distinfo +++ b/x11/wx1Motif/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2002/08/07 12:33:43 agc Exp $ +$NetBSD: distinfo,v 1.4 2002/08/12 12:05:15 agc Exp $ SHA1 (wx168_1.tgz) = 771e5301d81560c4750c7b28f3ed843267232af3 Size (wx168_1.tgz) = 3267398 bytes @@ -19,6 +19,6 @@ SHA1 (patch-ad) = 23515a5df517ffb1c7b41ae7e05f3872a8d075e1 SHA1 (patch-ae) = 450c95f374e44021b0a138320f47aa213fe738c2 SHA1 (patch-af) = 450b3c43fee0b6dfebf9a2d0c1ef6d5ea0b9bb0d SHA1 (patch-ag) = b278a78ecda1b6b3622c47f5c5cf371776a8ed90 -SHA1 (patch-ah) = 33b530aa7b124580bd40b71e050ca7f648c4e2f7 +SHA1 (patch-ah) = b21d4951418a3e97121ce4b6bbe0733ef672e1b1 SHA1 (patch-ai) = 4c92fe6684744985ca9cfb0bbf2a47769927b84d SHA1 (patch-aj) = 61f63aa81469648a0a4fcde5cd8478183a011e7b diff --git a/x11/wx1Motif/patches/patch-ah b/x11/wx1Motif/patches/patch-ah index fbd0e00b4b2..6e513699791 100644 --- a/x11/wx1Motif/patches/patch-ah +++ b/x11/wx1Motif/patches/patch-ah @@ -1,4 +1,4 @@ -$NetBSD: patch-ah,v 1.2 2002/08/07 12:33:44 agc Exp $ +$NetBSD: patch-ah,v 1.3 2002/08/12 12:05:16 agc Exp $ --- src/x/wx_ipc.cpp.orig Thu Mar 26 17:15:44 1998 +++ src/x/wx_ipc.cpp @@ -16,7 +16,7 @@ $NetBSD: patch-ah,v 1.2 2002/08/07 12:33:44 agc Exp $ int accept(int fd, struct sockaddr * addr, int * addrLen) { - int rval = ::accept(fd, addr, addrLen); -+ unsigned u = (unsigned) *addrLen; ++ socklen_t u = (socklen_t) *addrLen; + int rval = ::accept(fd, addr, &u); + *addrLen = (int) u; if (rval > 0) |