Re: "make test" for lwp 0.04 fails on last test
Mordechai T. Abzug (mabzug1@gl.umbc.edu)
Sat, 9 Sep 1995 21:07:52 -0400 (EDT)
On Sat, 9 Sep 1995, Gisle Aas wrote:
> Can you track down what fails for you? This test tries to copy the
> /etc/passwd file to /usr/tmp using the getprint() and getstore() functions.
> Is /etc/passwd read protected? Are there problems writing to /usr/tmp? Is
> there a problem in the library?
Do you actually read /etc/passwd? I don't use the Perl5 libwww, so I
can't verify this, but that is a *very* bad idea, since some systems use
NIS databases (once known as yp) or shadow password systems. Use of
setpwent/ getpwent/ endpwent is much more portable and reliable, even if
a bit more obscure.
-Mordechai T. Abzug
Homepage: http://www.gl.umbc.edu/~mabzug1 send email to: mabzug1@umbc.edu
300 bps used to seem so fast