Closed Bug 32896 Opened 24 years ago Closed 24 years ago

Case sensitivity and CodeWarriorLib.pm

Categories

(SeaMonkey :: Build Config, defect, P3)

PowerPC
Mac System 9.x
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlong, Assigned: jj.enser)

Details

To reproduce:
In using the CodeWarriorLib.pm on Macintosh, give the full name for the project 
to build with case that does not match the Macintosh OS's display in the 
finder. eg.: 
CodeWarriorLib::build_project("MyHD:tHiS:isThe:wronG:capS:foo.mCp",$target,$outp
ut,$clean);
Result:
The project will fail to build. 

Expected:
Since the Mac OS is case insensitive, the project should build even if the case 
does not match.

How to fix:
In CodeWarriorLib.pm change:
Line 74:                     if ($full_path eq _full_path($cp)) {
 to
Line 74:                    if (lc $full_path eq lc _full_path($cp)) {
and an identical fix for line 79.
Mac.
Assignee: cls → jj
Target Milestone: ---
Simon, Steve, I know this is low priority, but do you approve this change?

Sounds good to me.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
OS: Mac System 9.x
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.