Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 83755 Details for
Bug 124794
dev-perl/Net-RawIP-0.2 fails (gcc4)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for removing left cast
Net-RawIP-0.2-gcc4.patch (text/plain), 2.14 KB, created by
Robert Marmorstein
on 2006-04-02 13:32:55 UTC
(
hide
)
Description:
Proposed patch for removing left cast
Filename:
MIME Type:
Creator:
Robert Marmorstein
Created:
2006-04-02 13:32:55 UTC
Size:
2.14 KB
patch
obsolete
>diff -Naur Net-RawIP-0.2.old/RawIP.xs Net-RawIP-0.2/RawIP.xs >--- Net-RawIP-0.2.old/RawIP.xs 2006-04-02 16:18:13.000000000 -0400 >+++ Net-RawIP-0.2/RawIP.xs 2006-04-02 16:20:17.000000000 -0400 >@@ -759,7 +759,7 @@ > if(ihl > 5){ > av_store(RETVAL,28, > ip_opts_parse(sv_2mortal(newSVpv((u_char*)pktr + 20,ihl*4 - 20)))); >- (u_char*)pktr = (u_char*)pktr + (ihl*4 - 20); >+ pktr = (u_char*)pktr + (ihl*4 - 20); > ipo = 1; > } > doff = pktr->th.doff; >@@ -785,7 +785,7 @@ > } > av_store(RETVAL,29, > tcp_opts_parse(sv_2mortal(newSVpv((u_char*)pktr+40,doff*4-20)))); >- (u_char*)pktr = (u_char*)pktr + (doff*4 - 20); >+ pktr = (u_char*)pktr + (doff*4 - 20); > } > av_store(RETVAL,27,newSVpv(((u_char*)&pktr->th.urg_ptr+2), > tot_len - (4*ihl + doff*4))); >@@ -818,7 +818,7 @@ > if(ihl > 5){ > av_store(RETVAL,20, > ip_opts_parse(sv_2mortal(newSVpv((u_char*)pktr + 20,ihl*4 - 20)))); >- (u_char*)pktr = (u_char*)pktr + (ihl*4 - 20); >+ pktr = (u_char*)pktr + (ihl*4 - 20); > } > av_store(RETVAL,11,newSViv(pktr->ich.type)); > av_store(RETVAL,12,newSViv(pktr->ich.code)); >@@ -858,7 +858,7 @@ > if(ihl > 5){ > av_store(RETVAL,12, > ip_opts_parse(sv_2mortal(newSVpv((u_char*)pktr + 20,ihl*4 - 20)))); >- (u_char*)pktr = (u_char*)pktr + (ihl*4 - 20); >+ pktr = (u_char*)pktr + (ihl*4 - 20); > } > av_store(RETVAL,11,newSVpv(((u_char*)pktr+20), > tot_len - 4*ihl)); >@@ -892,7 +892,7 @@ > if(ihl > 5){ > av_store(RETVAL,16, > ip_opts_parse(sv_2mortal(newSVpv((u_char*)pktr + 20,ihl*4 - 20)))); >- (u_char*)pktr = (u_char*)pktr + (ihl*4 - 20); >+ pktr = (u_char*)pktr + (ihl*4 - 20); > } > av_store(RETVAL,11,newSViv(ntohs(pktr->uh.source))); > av_store(RETVAL,12,newSViv(ntohs(pktr->uh.dest))); >@@ -1284,7 +1284,7 @@ > CODE: > printer = print; > if(!SvROK(user) && SvOK(user)){ >- (u_char *)user = SvIV(user); >+ user = (u_char *)SvIV(user); > ptr = &handler; > } > else { >@@ -1306,7 +1306,7 @@ > CODE: > printer = print; > if(!SvROK(user) && SvOK(user)){ >- (u_char *)user = SvIV(user); >+ user = (u_char *)SvIV(user); > ptr = &handler; > } > else {
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 124794
: 83755