* Perl 5.003 + DU4.0B: getservbyent doesn't seem to work (SUMMARY)
@ 1997-09-27 0:30 Robert L. McMillin
0 siblings, 0 replies; only message in thread
From: Robert L. McMillin @ 1997-09-27 0:30 UTC (permalink / raw)
To: tru64-unix-managers
Thanks to Spider Boardman, who forwarded the following info:
------- Start of forwarded message -------
Subject: Re: Perl 5.003 + DU4.0B: getservbyent doesn't seem to work
In-reply-to: Your message of "Fri, 26 Sep 1997 16:13:51 PDT."
<9709262313.AA04474@brain.syseca-us.com>
To: "Robert L. McMillin" <rlm@syseca-us.com>
Date: Fri, 26 Sep 1997 16:38:13 -0700
From: Spider Boardman <spider@Orb.Nashua.NH.US>
On Fri, 26 Sep 1997 16:13:51 -0700, "Robert L. McMillin" wrote:
rlm> I'm running Perl 5.003 (compiled on a 3.2D-1 box, but
rlm> otherwise running successfully) on an AlphaServer 1000
rlm> 4/233. Is there any reason anyone out there can think of why
rlm> the following code snippet should not yield "smtp"?
rlm> print getservbyent(25,"tcp");
You're running an old version of perl, which didn't do the
necessary htonl() on the port number before call getservbyent().
This wasn't caught in that version because it wasn't in the test
suite, and the people who use that function only tested it on
`big-endian' machines (such as Suns).
That problem is fixed in perl 5.004_01 (the most recent stable release).
------- End of forwarded message -------
--
Robert L. McMillin | Not the voice of Syseca, Inc. | rlm@syseca-us.com
Personal: rlm@helen.surfcty.com | rlm@netcom.com
Put 'rabbit' in your Subject: or my spam-schnauzer will eat your message.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-09-27 0:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-27 0:30 Perl 5.003 + DU4.0B: getservbyent doesn't seem to work (SUMMARY) Robert L. McMillin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox