aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/make-docfile.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 1186a0c025c..0b91cc4887f 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12013-10-10 Glenn Morris <rgm@gnu.org>
2
3 * make-docfile.c (search_lisp_doc_at_eol):
4 Use int rather than char with getc. (Bug#15481)
5
12013-09-20 Paul Eggert <eggert@cs.ucla.edu> 62013-09-20 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 A simpler, centralized INLINE. 8 A simpler, centralized INLINE.
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 73d1a0eb31d..36eb71c587b 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -1075,7 +1075,7 @@ read_lisp_symbol (FILE *infile, char *buffer)
1075static int 1075static int
1076search_lisp_doc_at_eol (FILE *infile) 1076search_lisp_doc_at_eol (FILE *infile)
1077{ 1077{
1078 char c = 0, c1 = 0, c2 = 0; 1078 int c = 0, c1 = 0, c2 = 0;
1079 1079
1080 /* Skip until the end of line; remember two previous chars. */ 1080 /* Skip until the end of line; remember two previous chars. */
1081 while (c != '\n' && c != '\r' && c != EOF) 1081 while (c != '\n' && c != '\r' && c != EOF)