Article View: comp.sources.bugs
Article #32perl porting problem
From: Jonathan Sweedler
Date: Fri, 23 Jun 1989 09:17
Date: Fri, 23 Jun 1989 09:17
18 lines
1404 bytes
1404 bytes
We have perl 2.0 patch level 18 running on a Sun 3/160 with SunOS 3.5
and on a '532 VME board running GENIX (National's version of Sys V). I
came across a strange discrepancy in the behavior of these two versions
of perl. I was using the 'sort' function with my own sorting routine
(one that was almost identical to the example given in the man page),
and I found that the two versions sorted the same information
differently. The difference was introduced when I sorted on identical
keys. The two different systems sorted identical keys in different
orders.
Anyone else have this problem? If it matters some of the distributed
tests didn't work, but they seemed completely unrelated to the sort
routine (I don't remember what they were now - something having to
do with the 'stat' function I think).
---
Jonathan Sweedler === National Semiconductor Israel
UUCP: ...!{amdahl,hplabs,decwrl}!nsc!taux01!cjosta
Domain: cjosta@taux01.nsc.com
Technical Details
Message-ID:
<2008@taux01.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!voder!nsc!taux01!tasu77!cjostaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!voder!nsc!taux01!tasu77!cjosta From: cjosta@tasu77.UUCP (Jonathan Sweedler) Newsgroups: comp.sources.bugs Subject: perl porting problem Message-ID: <2008@taux01.UUCP> Date: 23 Jun 89 09:17:00 GMT Sender: netnews@taux01.UUCP Reply-To: cjosta@tasu77.UUCP (Jonathan Sweedler) Organization: National Semiconductor (IC) Ltd, Israel Lines: 18