secur32: Getting real functionality into the NTLM provider

Alexandre Julliard julliard at winehq.org
Wed Aug 24 03:10:39 CDT 2005


Kai Blin <blin at gmx.net> writes:

> * Alexandre Julliard <julliard at winehq.org> [23/08/05, 20:39:52]:
>
>> You should avoid using stdio.
>
> How would I do this avoiding stdio? ntlm_auth uses stdin and stdout to
> read input and write output. This seems to be the Unix way of doing
> things.

I mean the stdio functions like fdopen, fgets, etc.  They are not
guaranteed to be thread-safe because of the way we handle libc
threads. It's better to use normal read()/write() instead.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list