In article <[EMAIL PROTECTED]>,
 <[EMAIL PROTECTED]> wrote:
>"Miquel van Smoorenburg" <[EMAIL PROTECTED]> wrote:
>> Well, you should be able to link against thread-safe variants of
>> those functions, right? I mean, strtok() is obviously not
>> thread safe, but localtime() should be.
>
>  Nope.  Log into a *BSD box.  The thread-safe variant of localtime()
>is localtime_r().  Localtime returns a pointer to static data, which
>can be over-written in subsequent calls.

Ah, you're right. I think I spent too much time in perl.

Mike.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to