#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 , 18 years ago
| Owner: | changed from to |
|---|
comment:2 by , 18 years ago
comment:3 by , 18 years ago
| Severity: | enhancement → minor |
|---|
comment:5 by , 18 years ago
| Cc: | added |
|---|---|
| Version: | unspecified → 2.4 |
Note:
See TracTickets
for help on using tickets.

I'm sorry, that should be line 410.