New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18860 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Reported by: mlk@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: qt4-mac, qt4-mac-devel, tolower Cc: mcalhoun@…
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

qt4-mac_Portfile_diff.patch (467 bytes) - added by mlk@… 4 years ago.
qt4-mac Portfile patch to correct 'tolower' issue

Change History

Changed 4 years ago by mlk@…

qt4-mac Portfile patch to correct 'tolower' issue

comment:1 Changed 4 years ago by mcalhoun@…

  • Cc mcalhoun@… added
  • Status changed from new to closed
  • Resolution set to fixed

Thanks for pointing this out.
Fixed in r48181.

comment:2 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.