summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-03-22 23:31:16 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-03-22 23:31:16 +0000
commit40359353f09c32ec8d8034c9fa24e9039aaa1f60 (patch)
tree5bf43d27a2a404801aac75f11732796e26eb18ac /Build
parentf9f6d883fba9f42dd455383a0bf1a13a0c193841 (diff)
N. Abe fixes a bug in synctex_parser_utils.c.
git-svn-id: svn://tug.org/texlive/trunk@36598 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/synctexdir/ChangeLog6
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_parser_utils.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/synctexdir/ChangeLog b/Build/source/texk/web2c/synctexdir/ChangeLog
index 1e195f355e5..5753c7e692f 100644
--- a/Build/source/texk/web2c/synctexdir/ChangeLog
+++ b/Build/source/texk/web2c/synctexdir/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-23 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * synctex_parser_utils.c: Fix a bug in
+ synctex_bool_t synctex_ignore_leading_dot_slash_in_path().
+ From Noriyuki Abe (2015-03-23).
+
2015-03-22 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* synctex_parser_utils.c: Use WIN32API PathFindFileName() and
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.c b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.c
index 961aa319432..e2edbc2863c 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.c
+++ b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.c
@@ -161,7 +161,7 @@ synctex_bool_t synctex_ignore_leading_dot_slash_in_path(const char ** name_ref)
if (SYNCTEX_IS_DOT((*name_ref)[0]) && SYNCTEX_IS_PATH_SEPARATOR((*name_ref)[1])) {
do {
(*name_ref) += 2;
- while (SYNCTEX_IS_PATH_SEPARATOR((*name_ref)[1])) {
+ while (SYNCTEX_IS_PATH_SEPARATOR((*name_ref)[0])) {
++(*name_ref);
}
} while(SYNCTEX_IS_DOT((*name_ref)[0]) && SYNCTEX_IS_PATH_SEPARATOR((*name_ref)[1]));