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

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags
Дата
Msg-id 4D064BE5.4050201@dunslane.net
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags  (Glen Knowles <gknowles@ieee.org>)
Список pgsql-hackers

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Hitoshi Harada
Дата:
Сообщение: Re: SQL/MED - core functionality
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Complier warnings on mingw gcc 4.5.0