Skip site navigation (1) Skip section navigation (2)

Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Glen Knowles <gknowles(at)ieee(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags
Date: 2010-12-13 16:37:57
Message-ID: 4D064BE5.4050201@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers

On 12/13/2010 12:54 AM, Glen Knowles wrote:
> On Sun, Dec 12, 2010 at 8:16 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us 
> <mailto:tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-12-13 17:01:10
Subject: Re: Complier warnings on mingw gcc 4.5.0
Previous:From: Hitoshi HaradaDate: 2010-12-13 16:33:28
Subject: Re: SQL/MED - core functionality

pgsql-committers by date

Next:From: Robert HaasDate: 2010-12-13 17:35:28
Subject: pgsql: Generalize concept of temporary relations to "relationpersisten
Previous:From: Simon RiggsDate: 2010-12-13 15:20:36
Subject: Re: pgsql: Self review of previous patch. Fix assumption that xmax >= xmin.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group