[MacPorts] #11759: BUG: case-sensitive port uninstall
MacPorts
noreply at macports.org
Sat Jun 7 09:42:44 PDT 2008
#11759: BUG: case-sensitive port uninstall
------------------------------------+---------------------------------------
Reporter: yunzheng.hu at gmail.com | Owner: eridius at macports.org
Type: defect | Status: assigned
Priority: High | Milestone: MacPorts 1.6.1
Component: base | Version:
Resolution: | Keywords: port uninstall case-sensitive
------------------------------------+---------------------------------------
Changes (by jmr at macports.org):
* cc: pguyot at kallisys.net (added)
Comment:
I think that raimue's patch should actually be applied as well. The flat-
file registry prevents us from having ports with names that differ only in
case when running on a case-insensitive filesystem (even if we considered
allowing them a good idea). My patch extends that restriction to case-
sensitive filesystems. I made sure to use the canonical name whenever
possible, but it's pretty easy to end up using the name as entered by the
user, so it could easily happen in future code, breaking things again. We
should therefore make the filemap treat port names case-insensitively as
well.
Of course, my reasoning falls down if the filemap code is used for
anything other than associating file paths with port names. Is it?
--
Ticket URL: <http://trac.macports.org/ticket/11759#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list