[MacPorts] #14123: base-1.6.0 "port uninstall" left installed files at case-sensitive FS
#14123: base-1.6.0 "port uninstall" left installed files at case-sensitive FS ---------------------------+------------------------------------------------ Reporter: ononon@csc.jp | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Low | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Keywords: | ---------------------------+------------------------------------------------ At HFS+ (case sensitive), {{{ port install ncursesw port uninstall ncursesw }}} make errors and some installed files are not deleted. This is because "filemap" in Pextlib.dylib is a case-insensitive function, so {{{ filemap set testmap "/A/Apple_Terminal" "casetest" filemap set testmap "/a/appleII" "casetest" puts [filemap list testmap "casetest"] }}} show "/A/Apple_Terminal /A/appleII". (Note that path 'a' of 'appleII' was touppered !) To fix this, you have only to substitute 'strncasecmp' with 'strncmp' in src/pextlib1.0/filemap.c . I guess that this fix make little influence to case-insensitive users, then expect that it is applied for our case- sensitive users. Thanks in advance. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14123> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts