Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#21852 closed defect (fixed)

proc merge doesn't properly handle symlinks on Snow Leopard

Reported by: ryandesign (Ryan Schmidt) Owned by: ryandesign (Ryan Schmidt)
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 (3)

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Fixed on trunk in r58788.

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Milestone: MacPorts 1.8.2MacPorts 1.8.3

Updated ChangeLog in trunk in r62230.

Merged everything to 1.8 branch in r62231.

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Milestone: MacPorts 1.8.3MacPorts 1.9.0
Note: See TracTickets for help on using tickets.