early directory validation

Allow early prefix directory validation to help prevent
failed games and lost save files due to incorrect config
file settings.
This commit is contained in:
nethack.allison
2002-07-01 22:42:57 +00:00
parent 8d0b3091cb
commit ea268b5b6f
5 changed files with 51 additions and 2 deletions

View File

@@ -186,7 +186,7 @@ gotlock:
chdirx(orgdir, 0);
#if defined(WIN32)
error("cannot creat file (%s.)\n%s\n%s\"%s\" exists?\n",
fq_lock, strerror(ern), "Are you sure that the directory",
fq_lock, strerror(ern), " Are you sure that the directory",
fqn_prefix[LEVELPREFIX]);
#else
error("cannot creat file (%s.)", fq_lock);