Hey Tim!

> One, however, I left alone[2] because it doesn't smell right.  This one
> appears to be calling realpath too early, and ending up with the wrong
> directory.  Remy, can you please check?

Feels wrong, yes. Sure, I'll have a look tomorrow.

> To reproduce, try on OS X (no changes necessary) or *nix with something
> like:
> 
> mkdir -p /private/tmp
> mv /tmp /tmp_old
> ln -s /private/tmp /tmp

I'm not sure how much my system will appreciate my taking /tmp out from
under its feet, but I suppose the following should do:

  mkdir -p /private/tmp
  chmod 1777 /private/tmp
  ln -s /private/tmp /tmp_new
  export TMPDIR=/tmp_new

Yes, that triggers the issue. Thanks for the heads up!

-- Remy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to