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

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags
Дата
Msg-id AANLkTikwqUfqPJA3aCpOYB700xYxxm-EBMviU5izaD97@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Dec 11, 2010 at 17:38, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> On Sat, Dec 11, 2010 at 17:23, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> I think the reason it's not failing is that it includes <fcntl.h>.
>
>> S_IRWXU is defined in port/win32.h...
>
> No, it isn't.  There's an apparently-useless definition of _S_IRWXU
> there, but no S_IRWXU.

Hmm. You're right, of course.

A search on my windows box finds the text string S_IRWXU in the
following "*.h" files across the whole filesystem:
c:\perl\lib\CORE\perl.h
c:\perl64\lib\CORE\perl.h
c:\pgsql\src\include\pg_config_os.h
c:\pgsql\src\include\port\win32.h

that's it.



--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags