Re: [COMMITTERS] pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [COMMITTERS] pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL
Дата
Msg-id 13826.1191333859@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: [COMMITTERS] pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
>> I thought of a compromise. We can put back a check if the file exists without using bio. That would cover some 99
percentof the messages coming out of that 
 
>> routine, I bet. And things would still work correct in 0.9.8.

> Here's an example of what I meant.

+1, but I think you should "#ifndef HAVE_ERR_SET_MARK" the added code.
Also, maybe try to fopen rather than just fstat?
        regards, tom lane


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [COMMITTERS] pgsql: ITAGAKI Takahiro added
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: [COMMITTERS] pgsql: ITAGAKI Takahiro added