Re: fix compile warning for pg_backup_tar.c

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: fix compile warning for pg_backup_tar.c
Дата
Msg-id 200411081948.35112.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: fix compile warning for pg_backup_tar.c  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: fix compile warning for pg_backup_tar.c
Список pgsql-patches
Andrew Dunstan wrote:
> ISTM that what is happening here is that the compiler is smart enough
> to know that what is in MAX_TAR_MEMBER_FILELEN can't be exceeded by
> any possible value of type off_t.

Yeah, I think off_t is only 32 bits there.  Then using INT64_IS_BUSTED
as conditional is really misleading.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: fix compile warning for pg_backup_tar.c
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: fix compile warning for pg_backup_tar.c