Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!bloom-beacon!eru!hagbard!sunic!dkuug!daimi!pcn From: pcn@daimi.aau.dk (Peder Chr. N|rgaard) Newsgroups: comp.lang.perl Subject: Re: PL36: Is this a bug ??? Message-ID: <1990Oct23.152150.28029@daimi.aau.dk> Date: 23 Oct 90 15:21:50 GMT References: <14380001@hpwad.HP.COM> Sender: pcn@daimi.aau.dk (Peder Chr. N|rgaard) Organization: DAIMI: Computer Science Department, Aarhus University, Denmark Lines: 39 mleiber@hpwad.HP.COM (#Michael Leiber) writes: >Hi, >I just applied patches 29 thru 36 to perl(1) and ran the regression tests. >It looks as though there's a bug, as reported by t/op.read when running >that test on an nfs mounted file. >both machines are running under HP-UX 7.0 >When running the test on the server machine, it works fine, but running >it on the client fails. >I think the problem has to be searched within seek/read on unix rather >than in perl, but I just wanted to report that problem. Unfortunately >I didn't have the time right know to track it down, so if someone else ... We tracked that one down long ago, so just to save other people the trouble: This is an error in HP-UX 7.0, NOT in perl. Your regression test on perl.3.28 and any earlier version of perl (and HP-UX) would have provoked the same error. Larry's regression test tests a rather obscure part of UNIX file semantics - what happens if you seek far below end of file on a file and try to read. It should, of course, fail. Well, on a HP-UX system working on an NFS file, it doesn't. No big problem for anyone, (I mean, to do that in a program, you would have to commit a logical programming error first!) but of course one might suggest that Hewlett Packard ought to correct their NFS code some day. Greetings --peder chr. -- Peder Chr. Norgaard **** pcnorgaard@daimi.aau.dk Computer Science Department, Aarhus University Ny Munkegade 116, DK-8000 Aarhus C, DENMARK phone: +45 86 12 71 88 / telefax: +45 86 13 57 25 / telex: 64767 aausci dk