Re: [PORTS] openbsd 3.2, postgresql 7.3beta3 and openssl 'e_os.h' include
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [PORTS] openbsd 3.2, postgresql 7.3beta3 and openssl 'e_os.h' include |
| Дата | |
| Msg-id | 28017.1036694980@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [PORTS] openbsd 3.2, postgresql 7.3beta3 and openssl 'e_os.h' include (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
I said:
> Anyway, get_last_socket_error() seems exactly equivalent to our macro
> SOCK_ERRNO in libpq/libpq-int.h. AFAICT, the uses of it in our
> code are these:
> /home/postgres/pgsql/src/backend/libpq/be-secure.c:
> errno = get_last_socket_error();
> /home/postgres/pgsql/src/backend/libpq/be-secure.c:
> errno = get_last_socket_error();
> /home/postgres/pgsql/src/interfaces/libpq/fe-secure.c:
> SOCK_ERRNO = get_last_socket_error();
> /home/postgres/pgsql/src/interfaces/libpq/fe-secure.c:
> SOCK_ERRNO = get_last_socket_error();
> and I think every one of these is bogus and should be removed.
> At best they're no-ops.
> If that is the only use of e_os.h stuff then we can stop including
> the file ...
These were indeed the only uses of e_os.h symbols. I have removed them
and the #includes.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера