guide bug?
Rainer Müller
raimue at macports.org
Fri Apr 27 13:02:05 UTC 2018
On 2018-04-27 14:37, Perry E. Metzger wrote:
> "For the above operations provided by Tcl's file command, MacPorts
> provides the following shorthands. These should be used in preference
> to the Tcl commands above, as they may work around certain bugs."
Ah, I even linked to this section, but did not realize it says that...
> So we've discouraged the direct use of "file copy" over using "copy"
> by my reading. "These should be used in preference".
Very old versions of Tcl (on Tiger and before) indeed had a bug in
"file delete" that prompted the addition of "delete". That problem no
longer exists as we include our own version of Tcl, but it is probably
where this is originally coming from.
Do we really have a preference? At least for "file copy" vs. "copy",
both seem to be used to equal amounts in Portfiles.
Rainer
More information about the macports-dev
mailing list