Make conftab.c independent of the current directory
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 3 Feb 2008 20:43:49 +0000 (21:43 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 7 Feb 2008 07:01:54 +0000 (08:01 +0100)
commitb76e5a5eed06e7196cfbac1d70e837673ce6c140
tree343981373e6c098b86150dfde18cc98aa6e10d09
parent4bb23dd1a64f105db5dc679a0618c3b65338ca6b
Make conftab.c independent of the current directory

read_builtin_tables() wanted to run in builtindir, and
read_custom_tables() wanted to run in configdir.  Bothersome.  Use new
fopenat() to relax those requirements.

The chdir() satisfying them are now superflous, remove them.
include/prototypes.h
src/lib/common/conftab.c
src/lib/gen/fnameat.c
src/server/main.c