New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21852 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

proc merge doesn't properly handle symlinks on Snow Leopard

Reported by: ryandesign@… Owned by: ryandesign@…
Priority: Normal Milestone: MacPorts 1.9.0
Component: base Version: 1.8.1
Keywords: Cc:
Port:

Description

The "merge" procedure in portutil.tcl doesn't properly handle symlinks on Snow Leopard.

Snow Leopard's "file" command dereferences symlinks by default. This didn't happen in previous Mac OS X versions. The "-h" flag could be used to force "file" not to dereference symlinks, except that this option does not exist in the version of "file" shipped with Tiger. But we can easily use pure tcl to detect basic types like symlinks and directories and not call on "file" until we actually need it.

Change History

comment:1 Changed 4 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed on trunk in r58788.

comment:2 Changed 3 years ago by ryandesign@…

  • Milestone changed from MacPorts 1.8.2 to MacPorts 1.8.3

Updated ChangeLog in trunk in r62230.

Merged everything to 1.8 branch in r62231.

comment:3 Changed 3 years ago by jmr@…

  • Milestone changed from MacPorts 1.8.3 to MacPorts 1.9.0
Note: See TracTickets for help on using tickets.