Commit bdc5ed93 by Richard Kenner

(convert_filename): Fix typo.

From-SVN: r14440
parent ffdd22a9
......@@ -2296,7 +2296,7 @@ convert_filename (name, do_exe)
&& name[len - 2] == '.'
&& name[len - 1] == 'o')
{
obstack_grow (&obstack, name[i], len - 2);
obstack_grow (&obstack, name, len - 2);
obstack_grow0 (&obstack, OBJECT_SUFFIX, strlen (OBJECT_SUFFIX));
name = obstack_finish (&obstack);
}
......
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