summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-09-28 06:28:43 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-09-28 06:28:43 +0000
commit460968dd6d10a96729c24a3f37e1f54928c39603 (patch)
tree9c9f47ddc95468d6d98b94b739407fb897eb8657 /Build/source/texk
parent821f53e06c80f03b4cce345111b1fb6ae92df46c (diff)
mendexk: a patch from H. Yamashita
git-svn-id: svn://tug.org/texlive/trunk@42167 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/mendexk/ChangeLog4
-rw-r--r--Build/source/texk/mendexk/styfile.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/mendexk/ChangeLog b/Build/source/texk/mendexk/ChangeLog
index f762c5dd504..d1a9abb2940 100644
--- a/Build/source/texk/mendexk/ChangeLog
+++ b/Build/source/texk/mendexk/ChangeLog
@@ -1,3 +1,7 @@
+2016-09-28 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
+
+ * styfile.c: Use mfgets() instead of fgets() in bfgets().
+
2016-02-02 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* mendex.1, mendex.doc: Convert encoding
diff --git a/Build/source/texk/mendexk/styfile.c b/Build/source/texk/mendexk/styfile.c
index 04189664099..e35256c2e29 100644
--- a/Build/source/texk/mendexk/styfile.c
+++ b/Build/source/texk/mendexk/styfile.c
@@ -21,7 +21,7 @@ static char *
bfgets (char *buf, int size, FILE *fp)
{
char *p, *q;
- p = fgets (buf, size, fp);
+ p = mfgets (buf, size, fp);
for (q = buf; *q; q++) {
if(*q == '\r') {
*q++ = '\n';