Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 13804 Details for
Bug 23332
dev-perl/mod_perl compilation error with ipv6 USE flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revised ipv6 patch
mod_perl-1.27-ipv6.patch (text/plain), 953 bytes, created by
Peter Johanson (RETIRED)
on 2003-06-24 16:58:39 UTC
(
hide
)
Description:
revised ipv6 patch
Filename:
MIME Type:
Creator:
Peter Johanson (RETIRED)
Created:
2003-06-24 16:58:39 UTC
Size:
953 bytes
patch
obsolete
>diff -aur mod_perl-1.27/src/modules/perl/Connection.xs mod_perl-1.27-ipv6/src/modules/perl/Connection.xs >--- mod_perl-1.27/src/modules/perl/Connection.xs 2000-09-29 10:41:30.000000000 -0400 >+++ mod_perl-1.27-ipv6/src/modules/perl/Connection.xs 2003-06-24 19:45:26.000000000 -0400 >@@ -84,7 +84,8 @@ > if (sockaddrlen != sizeof(addr)) { > croak("Bad arg length for remote_addr, length is %d, should be %d", sockaddrlen, sizeof(addr)); > } >- Copy(new_addr, &addr, sizeof addr, char); >+ memset(&addr, 0, sizeof new_addr); >+ Copy(new_addr, &addr, sizeof new_addr, char); > conn->remote_addr = addr; > } > >@@ -106,7 +107,7 @@ > #else > conn->remote_ip = pstrdup(conn->pool, (char *)SvPV(ST(1),na)); > #endif >- conn->remote_addr.sin_addr.s_addr = inet_addr(conn->remote_ip); >+ ((struct sockaddr_in *) &conn->remote_addr)->sin_addr.s_addr = inet_addr(conn->remote_ip); > } > > OUTPUT:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 23332
: 13804