Treat ENOTDIR as ENOENT when looking for client certificate file

Magnus Hagander <magnus@hagander.net>

Commit: f3bbd7d814c152a3582365734dc7b95c4fb3a863
Author: Magnus Hagander <magnus@hagander.net>
Date: 2011-12-03T14:05:50Z
Releases: 9.0.7
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

Files

PathChange+/−
src/interfaces/libpq/fe-secure.c modified +1 −1