[1318] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Satan_doc on Solaris 2.3

daemon@ATHENA.MIT.EDU (Brett Lymn)
Wed Mar 22 22:51:02 1995

From: blymn@awadi.com.AU (Brett Lymn)
To: peter@aodc.gov.au (Peter Edward Voss)
Date: Thu, 23 Mar 1995 13:16:19 +1030 (CST)
Cc: bugtraq@fc.net
In-Reply-To: <9503230143.AA06677@AODC.gov.au> from "Peter Edward Voss" at Mar 23, 95 11:43:06 am

According to Peter Edward Voss:
>
>Has anyone else run into similar problems with perl5
>on Solaris,

Not with perl5, but in perl4 the numbers for the socket stuff was
wrong because Sun in their infinite wisdom changed the defines for the
socket types.

> and if so could someone enlighten me with
>the necessary patch ?
>

update socket.ph so it looks like this:

    eval 'sub SOCK_STREAM {2;}';
    eval 'sub SOCK_DGRAM {1;}';
    eval 'sub SOCK_RAW {4;}';
    eval 'sub SOCK_RDM {5;}';
    eval 'sub SOCK_SEQPACKET {6;}';

This worked for me with 4.036 on Solaris.

-- 
Brett Lymn, Computer Systems Administrator, AWA Defence Industries
===============================================================================
"It's fifteen hundred miles to Ankh-Morpork" he said.  "We've got
three hundred and sixty three elephants, fifty carts of forage, the
monsoon's about to break and we're wearing ... we're wearing ... sort
of things, like glass, only dark... dark glass things on our eyes..."
        - Terry Pratchett "Moving Pictures".



home help back first fref pref prev next nref lref last post