Re: Large file support available

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Large file support available
Дата
Msg-id 25003.1029872304@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Large file support available  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Large file support available
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Large file support is now compiled by default if available.

I am now getting (on HPUX 10.20)

/usr/include/sys/resource.h: In function `getrlimit':
/usr/include/sys/resource.h:168: warning: implicit declaration of function `__getrlimit64'
/usr/include/sys/resource.h: In function `setrlimit':
/usr/include/sys/resource.h:170: warning: implicit declaration of function `__setrlimit64'

for essentially every file in the system.  A little digging shows that
this is happening because _FILE64 is defined and _LARGEFILE64_SOURCE
is not; this is evidently a Bad Idea on HPUX.

Further digging shows that noplace in the standard headers is
_LARGEFILE64_SOURCE #define'd, so evidently one is supposed to supply it
from user headers.  Ugh.  Please add this to the list of
platform-specific symbols that had better be turned on to support large
files.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Proposal: make "opaque" obsolete