* lib-src/make-docfile.c (search_lisp_doc_at_eol): Use int rather than char
with getc. Fixes: debbugs:15481
This commit is contained in:
parent
c6e8ae77b3
commit
4b5a548d59
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-10-10 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* make-docfile.c (search_lisp_doc_at_eol):
|
||||
Use int rather than char with getc. (Bug#15481)
|
||||
|
||||
2013-09-20 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
A simpler, centralized INLINE.
|
||||
|
|
|
@ -1075,7 +1075,7 @@ read_lisp_symbol (FILE *infile, char *buffer)
|
|||
static int
|
||||
search_lisp_doc_at_eol (FILE *infile)
|
||||
{
|
||||
char c = 0, c1 = 0, c2 = 0;
|
||||
int c = 0, c1 = 0, c2 = 0;
|
||||
|
||||
/* Skip until the end of line; remember two previous chars. */
|
||||
while (c != '\n' && c != '\r' && c != EOF)
|
||||
|
|
Loading…
Add table
Reference in a new issue