summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex8
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/bibtex8')
-rw-r--r--Build/source/texk/bibtex8/ChangeLog5
-rw-r--r--Build/source/texk/bibtex8/utils.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/texk/bibtex8/ChangeLog b/Build/source/texk/bibtex8/ChangeLog
index 4c2d16a0488..c530050fb40 100644
--- a/Build/source/texk/bibtex8/ChangeLog
+++ b/Build/source/texk/bibtex8/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-11 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * utils.c (c8read_csf): DEFAULT_BIBTEX_CSFILE is set to
+ "/nonesuch" in ../kpathsea/paths.h; so we use CSF_FILE_ENVVAR.
+
2012-04-12 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* bibtex-2.c: Do not check whether Glob_Str_Size > Buf_Size,
diff --git a/Build/source/texk/bibtex8/utils.c b/Build/source/texk/bibtex8/utils.c
index adf605cefea..cb4085bf6aa 100644
--- a/Build/source/texk/bibtex8/utils.c
+++ b/Build/source/texk/bibtex8/utils.c
@@ -1719,8 +1719,11 @@ int c8read_csf (void)
*/
if (Str_csfile == NULL) {
#ifdef KPATHSEA
+#ifndef CSF_FILE_ENVVAR
+#define CSF_FILE_ENVVAR "BIBTEX_CSFILE"
+#endif
/* Default value from environment or texmf.cnf */
- Str_csfile = kpse_var_value (DEFAULT_BIBTEX_CSFILE);
+ Str_csfile = kpse_var_value (CSF_FILE_ENVVAR);
if (Str_csfile == NULL) /* Use fallback value */
Str_csfile = xstrdup ("88591lat.csf");
#else