(PATH_MAX): Define it if not yet defined.
authorhanda <handa>
Wed, 5 Jul 2006 07:21:45 +0000 (07:21 +0000)
committerhanda <handa>
Wed, 5 Jul 2006 07:21:45 +0000 (07:21 +0000)
commit6cd6b846e111e87816fc15e58893a1991638bf17
tree5b88b443947fdb0e631d26d021f9e0ee827625e5
parente71a5a6c44d720928d119f0b917aa44a85c1c41f
(PATH_MAX): Define it if not yet defined.
(PATH_SEPARATOR, USE_GEN_PATH, GEN_PATH, GEN_PATH_FROM_MT): New
macros.
(get_database_filename): Use GEN_PATH.
(get_dir_info): Don't include the last '/' in directory name.
(register_database): New function.
(update_database_list): Use register_database.  Search all
directories in mdatabase__dir_list for wildcard databases.
(mdatabase__init): Check "~/.m17n.d".
src/database.c