diff options
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/kpathsea.c | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index 3b6b354a4b0..1124ded5fd9 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,8 @@ +2009-03-19 Peter Breitenlohner <peb@mppmu.mpg.de> + + * kpathsea.c: Do not use initializer for kpse_def_inst (FIXME: + to be completely removed). + 2009-03-17 Taco Hoekwater <taco@luatex.org> * types.h: Define kpse_debug_hash_lookup_int. diff --git a/Build/source/texk/kpathsea/kpathsea.c b/Build/source/texk/kpathsea/kpathsea.c index e6395ab96f0..e0a13a4488b 100644 --- a/Build/source/texk/kpathsea/kpathsea.c +++ b/Build/source/texk/kpathsea/kpathsea.c @@ -113,6 +113,12 @@ kpathsea_finish (kpathsea kpse) #if defined (KPSE_COMPAT_API) +/* + * FIXME: completely remove the initializer. + */ + +#if 0 + #define NULL_FORMAT_INFO(kpse_file_format_type) { \ NULL, /* const_string type */ \ NULL, /* const_string path */ \ @@ -223,6 +229,12 @@ kpathsea_instance kpse_def_inst = { 0 /* int saved_count */ }; +#else /* zero */ + +kpathsea_instance kpse_def_inst; + +#endif /* zero */ + kpathsea kpse_def = &kpse_def_inst; #endif |