mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
* etags.c (readline): expect sscanf returns 2,
not 1.
This commit is contained in:
parent
867cc23e44
commit
1520a816ef
@ -1,3 +1,8 @@
|
||||
2006-08-07 Masatake YAMATO <jet@gyve.org>
|
||||
|
||||
* etags.c (readline): expect sscanf returns 2,
|
||||
not 1.
|
||||
|
||||
2006-08-07 Masatake YAMATO <jet@gyve.org>
|
||||
|
||||
* etags.c (TEX_mode): Check getc retruns EOF.
|
||||
|
@ -6259,7 +6259,7 @@ readline (lbp, stream)
|
||||
int start, lno;
|
||||
|
||||
if (DEBUG) start = 0; /* shut up the compiler */
|
||||
if (sscanf (lbp->buffer, "#line %d \"%n", &lno, &start) == 1)
|
||||
if (sscanf (lbp->buffer, "#line %d \"%n", &lno, &start) == 2)
|
||||
{
|
||||
char *endp = lbp->buffer + start;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user