[129924] trunk/base/src/port1.0/porttrace.tcl

Mihai Moldovan ionic at macports.org
Tue Dec 23 13:48:15 PST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 23.12.2014 06:17 PM, Lawrence Velázquez wrote:
> Not quite. The code currently reads roughly like
> 
> normalize path [new, resolve path] add path to sandbox add normalized path 
> to sandbox [new, add resolved path to sandbox]
> 
> and I just was wondering whether there's a technical reason for adding the
>  resolving logic in those particular locations, as it makes the code a bit
>  awkward.

There's no technical reason. normalize and resolve operate on the (shared)
original path. I don't really get your question, though. What would you have
done differently?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJUmeMdAAoJEB/WLtluJTqHd2IQAJK+8imoPXWQV6syDrdVlFCC
Xd/pksPs0Isp3RC8ifNvcuY5vJ1ayoEmsilPKn//JBsxctgoLbVoytpbjB+tpV0q
IRUSARDhtJ/XmGEsDUk1Xa2PFV0Rj8PX5yevotD4uFmoFKOopP3voCSs4Wz49qgr
0QocAxujp2XfrpPLEg7RtUhBkD8Q8q4Uz2gG1vHPMT5NpAgHrRK5CjvUsSWaRlrW
al+vyMcIM846JAb5h2VOdn7w8WVXNSq6Nmr3b3nDM/E2PGIyhRqq2ptF0rymY7YE
A4BuCSkqbnCbdq9HDo6HKQ2f6YR0VQPPRACyJ03yt4af8RWIk80Z2IWRsimreBot
Rb02vTuZZMLgtIkH6f+lfNK7npEs78XR/LwoxKlYmvYtKFbRsC2hO9DilG5a4F7r
9Ny6/jZ+avE8ChzPC/NuE/tcbUiSZChpj0Yxk5e11te5M6xzz4DHcAWsD5+OBIzU
uwMZUCsb0Z7qq2AK3OxjAzVaEVwLdSNDF5F2Fq3NypAM2Hanc4eUqLcNoHs8LCU7
UKproyv0kObpBJtTgWQGZWk97YPI0JVAsrEburmgAKJsirF1226fz9pK05bxVkAi
ZWJw0FP6iUEELzmQYiH6XXXqfeoRKun/EHo+q+Rey8nFfL4yCjMKOVMC0eLIk27L
0p06EvbQ5OVx/ugFK77T
=LWRY
-----END PGP SIGNATURE-----


More information about the macports-dev mailing list