Set errno=EEXIST if DB path exists as non-directory
commit2fbb24a4fcc239058ce3e712ebf094087a2e78d5
authorOlly Betts <olly@survex.com>
Sat, 19 May 2018 00:14:44 +0000 (19 12:14 +1200)
committerOlly Betts <olly@survex.com>
Sat, 19 May 2018 00:14:44 +0000 (19 12:14 +1200)
treeb05fa8203d3bdfa7cae5344086e6e6a9edbe8868
parentb2451d5c0aca860a673be0f41c76ccea41d705c5
Set errno=EEXIST if DB path exists as non-directory

Previous whatever the existing errno value was got used in this
case, which may explain the odd "Cannot create directory '.glass/dbw'
(No child processes)" we sometimes see on appveyor CI builds.
xapian-core/backends/glass/glass_database.cc