[MacPorts] #19235: port provides nonexistent-path produces wrong error
#19235: port provides nonexistent-path produces wrong error -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.7.1 Keywords: | Port: -------------------------------------+-------------------------------------- If I call "port provides" on a nonexistent path, the error message shows the wrong path. {{{ $ port provides /a/b/c/d/e/f/g /a/g does not exist. }}} -- Ticket URL: <http://trac.macports.org/ticket/19235> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19235: port provides nonexistent-path produces wrong error -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.7.1 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by blb@…): It looks like CompatFileNormalize() (in [browser:trunk/base/src/pextlib1.0/compat.c#L168]) may need a bit of work, as it can get confusing with other bits as well: {{{ port provides / /// is a directory. }}} -- Ticket URL: <http://trac.macports.org/ticket/19235#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19235: port provides nonexistent-path produces wrong error --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.8.0 Resolution: fixed | Keywords: Port: | --------------------------------------+------------------------------------- Changes (by jmr@…): * cc: jmr@… (added) * status: new => closed * version: 1.7.1 => 1.8.0 * resolution: => fixed Comment: Fixed in r49347. -- Ticket URL: <http://trac.macports.org/ticket/19235#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts