Hi!

I just wanted to tell you that I have fixed some nasty
MT-safety issues with handful of library calls in Tcl.
The affected ones were: getgrnam, getgrgid, getpwnam, getpwuid,
gethostbyname and gethostbyaddr.

Now there are wrappers there which fallback to the MT-safe version
(if available) or, if not, perform the operation under mutex
protection. The latter not being an ideal solutiuon as some other
lib may also call the problematic function w/o lock (or under
different lock) but this is better than nothing.

If you use lots of [file attributes] or [socket] or [fconfigure $sock]
chances are that you are going to be hit by the bug. In that case
update to CVS version of the Tcl lib (core-8-4-branch).

Cheers
Zoran

Reply via email to