re PR preprocessor/14438 (Potential need for buffer overflow checks in _cpp_lex_direct)

PR preprocessor/14438
* cpplib.c (do_pragma): Remove line_change call after pragma
handler.

From-SVN: r79899
This commit is contained in:
Alexandre Oliva 2004-03-24 03:19:37 +00:00 committed by Alexandre Oliva
parent d63851eb11
commit ae87624ff0
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2004-03-24 Alexandre Oliva <aoliva@redhat.com>
PR preprocessor/14438
* cpplib.c (do_pragma): Remove line_change call after pragma
handler.
2004-03-23 Ian Lance Taylor <ian@wasabisystems.com>
* doc/extend.texi (ARM Built-in Functions): Replace with correct

View File

@ -1164,9 +1164,6 @@ do_pragma (cpp_reader *pfile)
if (pfile->cb.line_change)
(*pfile->cb.line_change) (pfile, pragma_token, false);
(*p->u.handler) (pfile);
if (pfile->cb.line_change)
(*pfile->cb.line_change) (pfile, pfile->cur_token, false);
}
else if (pfile->cb.def_pragma)
{