Dongsheng Song <dongsheng.s...@gmail.com>
writes:

> On Thu, Jan 22, 2015 at 1:03 AM, Alexey Pavlov <alex...@gmail.com> wrote:
>>
>> Current "mkstemp" implementation call "_sopen_s" that is not present in
>> WinXP msvcrt.dll. So this break supporting WinXP.
>>
>
> I have no WinXP now, but '_sopen_s' in the msvcrt.def file:
>
> $ grep _sopen_s mingw-w64-crt/def-include/msvcrt-common.def.in
> mingw-w64-crt/lib32/msvcrt.def.in
>
> mingw-w64-crt/lib32/msvcrt.def.in:_sopen_s

I can attest that _sopen_s is not present on the msvcrt.dll version
7.0.2600.5512 installed on Windows XP SP3.

Please note that MSDN says that _sopen_s is present since Windows 95,
which is absurd, so don't rely on that either. (The *_s functions
appeared on VS 2005 [2].)

In fact, on the mingw-w64 TODO list [1] it is mentioned:

  Add runtime-function emulation for API - like _wsopen_s, _sopen_s, etc
  - not provided in older msvcrt.dll versions.


1. https://sourceforge.net/p/mingw-w64/wiki2/TODO%20List/

2. https://msdn.microsoft.com/en-us/library/wd3wzwts(v=vs.80).aspx


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to