Zoran Vasiljevic wrote:
For all you Mac OSX users out there...

The Tcl8.4.x uses the OS-call realpath() to
figure-out the real physical path of the
file on the filesystem, stripped of all "./",
"../", constructs, symlinks and alike.

BANG: this function uses chdir/fchdir internally
which changes the process current working directory
for each invocation. It is called for just about
*every* path you pass to the Tcl library! Wow!
The funny thing: the man page does not care to
mention this *important* side-effect!

This is truly sick, Zoran. Truly sick. An extremely obnoxious side-effect, even if it were documented. Does Apple have a process for filing bug reports that would give us some hope one of their Unix hackers will see it?

--
Don Baccus
Portland, OR
http://donb.photo.net, http://birdnotes.net, http://openacs.org


-- AOLserver - http://www.aolserver.com/ To Remove yourself from this list: http://www.aolserver.com/listserv.html List information and options: http://listserv.aol.com/

Reply via email to