New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19235 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

port provides nonexistent-path produces wrong error

Reported by: ryandesign@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.8.0
Component: base Version: 1.8.0
Keywords: Cc: jmr@…
Port:

Description

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.

Change History

Changed 3 years ago by blb@…

It looks like CompatFileNormalize() (in 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.

Changed 3 years ago by jmr@…

  • status changed from new to closed
  • cc jmr@… added
  • version changed from 1.7.1 to 1.8.0
  • resolution set to fixed

Fixed in r49347.

Note: See TracTickets for help on using tickets.