[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: POSIX ruling on up-to-date vs. identical timestamps

From: Keith Marshall
Subject: Re: POSIX ruling on up-to-date vs. identical timestamps
Date: Tue, 26 Aug 2014 16:27:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

On 26/08/14 16:18, Paul Smith wrote:
> Can't we just #define stat(_p,_b) _stat(_p,_b)?  Not sure if that's
> sufficient: I'm not overly familiar with the limitations on the POSIX
> emulation functions in Windows.

That's effectively what MinGW does anyway, (although it does it through
an import library mapping from the undecorated POSIX name, to the
decorated name exported by MSVCRT.DLL).  The upshot is that, when you
call stat() in a Windows program compiled by MinGW's GCC, you actually
call the function provided by Microsoft themselves, with whatever
limitations that imposes.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]