develooper Front page | perl.perl5.porters | Postings from March 2001

downgrading to bytes for common functions

Thread Next
From:
andrew
Date:
March 6, 2001 23:38
Subject:
downgrading to bytes for common functions
Message ID:
20010307023655.J24024@pimlott.ne.mediaone.net
Nick recently added downgrading to bytes to gethostbyname and
gethostbyaddr, for Camel compliance.  I assume this means we should
do so everywhere; but most functions (every one I've checked) still
don't downgrade.  Am I on the right track?  (I'll put the pieces
together more carefully if I am.)

Andrew

PS.  Would somebody tell me what magic makes Perl_sv_pvbyten in sv.c
work (ie, ensure byte representation)?  I notice that SvPVbyte uses
it #ifndef CRIPPLED_CC, but I can't see how (or whether) it
downgrades.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About