On 2002.11.13, Jim Wilcoxson <[EMAIL PROTECTED]> wrote:
> The "cd" TCL command does not work in AOLServer, because all threads share the same
> working directory. When executed in multiple threads simulataneously, you have a
> race condition.
>
> We do this in _init.tcl, the first modules we load with AS:
>
> rename cd {}
>
> That disables the cd command altogether, which is what you want, because it doesn't
> work.
A little friendlier:
proc cd {args} {
error "cd is not thread-safe and is disabled"
}
:-)
-- Dossy
--
Dossy Shiobara mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)