perl, Socket::unpack_sockaddr_in and solaris 2.6

Hi all,

apologies for delayed summary.

thanks to John White at triceratops.com

for trying to help.

real problem was nothing to do with perl ( as such ) or libc

the fault lay in a bit of cack perl appliation code not handling

'unexpected' returns from system calls ( i.e. not expecting 'accept' to

return from an interupt, leading to an undefined socket ... )

ray

original post-

>i've inherited some perl interface scripts which are part of a cgi set.

>the package works on solaris 2.5.1 and used to work on solaris 2.6

>applying the libc patches (105210) has broken it.

> the perl is 5.004 ( nuber of zeroes may be wrong )

> the Socket.pm appears to be version 1.6 ( althogh i can only find

> upto version 1.5 on CPAN )

>

> upto at least 105210-12 the package work as it should

>

> 105210-17, -18, -19 all result in

> Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16

>

> any adice, as i'm not keen on being that out of date on security patches

[1233 byte] By [CodeProf.com] at [2007-12-25 10:04:00]