Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18860 closed defect (fixed)

qt4-mac & qt4-mac-devel incorrect use of 'tolower'

Reported by: michaelld (Michael Dickens) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: qt4-mac, qt4-mac-devel, tolower Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: qt4-mac, qt4-mac-devel

Description

In qt4-mac (4.4.3) & qt4-mac-devel (4.5.0) post-destroot, the 'tolower' command is used for renaming files -including the whole directory path-; this rename will fail if using case-sensitive formatting and any part of the directory path contains an uppercase letter. What's really wanted is to 'tolower' just the filename to be renamed, not the whole directory path. I'm attaching a patch to the qt4-mac Portfile to correct this issue; it should be obvious how to apply the changes to qt4-mac-devel's Portfile. - MLD

Attachments (1)

qt4-mac_Portfile_diff.patch (467 bytes) - added by michaelld (Michael Dickens) 16 years ago.
qt4-mac Portfile patch to correct 'tolower' issue

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by michaelld (Michael Dickens)

Attachment: qt4-mac_Portfile_diff.patch added

qt4-mac Portfile patch to correct 'tolower' issue

comment:1 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

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

Thanks for pointing this out.
Fixed in r48181.

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.