[freetds] Using freetds in Windows
Christos Zoulas
christos at zoulas.com
Mon Jan 11 11:33:26 EST 2010
On Jan 11, 10:21am, jklowden at schemamania.org (jklowden at schemamania.org) wrote:
-- Subject: Re: [freetds] Using freetds in Windows
| > Another problem is thread safety. strerror is not thread safe, it
| > would be better to use strerror_r if available. Under Windows for C
| > errors there is _sys_nerrs and _sys_errlist.
|
| Not exactly:
|
| http://www.opengroup.org/onlinepubs/000095399/functions/strerror.html
|
| "The strerror() function need not be reentrant."
|
| Need not be, but may be. I think Win32 strerror(3) is threadsafe.
Even when doing i18n?
christos
More information about the FreeTDS
mailing list