pgsql: Treat ENOTDIR as ENOENT when looking for client certificate file

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Treat ENOTDIR as ENOENT when looking for client certificate file
Дата
Msg-id E1RWqFX-0005MP-Qu@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Treat ENOTDIR as ENOENT when looking for client certificate file

This makes it possible to use a libpq app with home directory set
to /dev/null, for example - treating it the same as if the file
doesn't exist (which it doesn't).

Per bug #6302, reported by Diego Elio Petteno

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a6f8e7d9590d157e379efe4a4edfc32ab283ec42

Modified Files
--------------
src/interfaces/libpq/fe-secure.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Dodge an ancient ksh bug that breaks configure on some platforms
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Treat ENOTDIR as ENOENT when looking for client certificate file