summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-03 11:11:54 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-03 11:11:54 +0000
commitf48f4e04f6b1c29a0f9ef9979c082cb2de160d16 (patch)
tree608e19b03b77827e46966404068913ade78e2fec
parent93739d4f9573bc877d70a377a443d1365835e66b (diff)
kpathsea: More changes to reduce diffs with W32TeX
git-svn-id: svn://tug.org/texlive/trunk@23366 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/kpathsea/ChangeLog6
-rw-r--r--Build/source/texk/kpathsea/db.c4
2 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index ae71c4f4599..6ef2402eb14 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,7 @@
+2011-08-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * db.c (db_build): No need to slashify lines from db_file.
+
2011-08-03 Peter Breitenlohner <peb@mppmu.mpg.de>
* mingw32.[ch] (dostounix_filename): Remove unused function.
@@ -9,7 +13,7 @@
kpsewhich.c (subdir_match): Slashify and test for 2-Byte Kanji
(CP 932, SJIS) codes.
-2011-08-03 Akirar Kakuto <kakuto@fuk.kindai.ac.jp>
+2011-08-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* win32lib.h: #include <direct.h> for _getcwd.
diff --git a/Build/source/texk/kpathsea/db.c b/Build/source/texk/kpathsea/db.c
index 36dd87f6f0c..ef3dd026faa 100644
--- a/Build/source/texk/kpathsea/db.c
+++ b/Build/source/texk/kpathsea/db.c
@@ -103,9 +103,7 @@ db_build (kpathsea kpse, hash_table_type *table, const_string db_filename)
#if defined(WIN32)
for (pp = line; *pp; pp++) {
- if (*pp == '\\')
- *pp = '/';
- else if (IS_KANJI(pp))
+ if (IS_KANJI(pp))
pp++;
else
*pp = TRANSFORM(*pp);