pgsql: Treat ENOTDIR as ENOENT when looking for client certificate file
Started by Magnus Haganderalmost 15 years ago1 messagescomitters
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
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/5b40677986984d450a2a16e515fe44d90dfeef02
Modified Files
--------------
src/interfaces/libpq/fe-secure.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)