On 12/13/2010 12:54 AM, Glen Knowles wrote:
> On Sun, Dec 12, 2010 at 8:16 AM, Tom Lane <tgl@sss.pgh.pa.us
> <mailto:tgl@sss.pgh.pa.us>> wrote:
>
> > What are the values of _S_IREAD and _S_IWRITE, anyway? I'm still
> > wondering how come the previous coding with hardwired constants
> > behaved correctly.
>
> Still curious about this.
>
> FWIW, _S_IREAD and _S_IWRITE are defined by Visual Studio C++ 2008 in
> sys/stat.h as 0x0100 and 0x0080 respectively.
>
>
Mingw values are the same.
cheers
andrew