IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#1038 closed defect (fixed)

pschecklibs in 2.4-cr-0 has mistaken == instead of eq on line 461

Reported by: Michael Wood-Vasey Owned by: eugene
Priority: high Milestone:
Component: misc Version: 2.4
Severity: minor Keywords:
Cc: jester@…

Description

Line 461 of pschecklibs in ipp-2.4-cr-0 has

if ($mach == "i386") {

but that should be

if ($mach eq "i386") {

This will only cause problems on a Mac PowerPC because it will end up doing the "right" thing on Mac Intels, although for the wrong reasons (== does a numeric comparison. A numeric comparison of two strings first converts each scalar string to a number, which is 0, and then does a numeric comparison so they agree; classic Perl mistakes they I make all the time).

Change History (5)

comment:1 by jhoblitt, 18 years ago

Owner: changed from jhoblitt to eugene

comment:2 by Michael Wood-Vasey, 18 years ago

I'm sorry, that should be line 410.

comment:3 by Michael Wood-Vasey, 18 years ago

Severity: enhancementminor

comment:4 by Paul Price, 18 years ago

Cc: price@… added
Resolution: fixed
Status: newclosed

Fixed in CVS head.

comment:5 by jester@…, 18 years ago

Cc: jester@… added
Version: unspecified2.4
Note: See TracTickets for help on using tickets.