Commit 91216286 by Richard Stallman

(do_pragma): Use index, not strchr.

From-SVN: r2880
parent b84f9d9c
......@@ -5924,7 +5924,7 @@ do_pragma (buf, limit)
return 0;
fname = p + 1;
if (p = (U_CHAR *) strchr (fname, '\"'))
if (p = (U_CHAR *) index (fname, '\"'))
*p = '\0';
for (ptr = all_include_files; ptr; ptr = ptr->next) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment