* Makefile.in: Make malloc_wrapper -fomit-frame-pointer.
* cygwin.din: Remove extraneous mallinfo definition. * dcrt0.cc (quoted): Use strechr for efficiency. * fhandler.cc (fhandler_base::write): Correctly use get_output_handle rather than get_handle. (fhandler_base::lseek): Use method for accessing name in debug output.
This commit is contained in:
@@ -231,10 +231,8 @@ quoted (char *cmd, int winshell)
|
||||
{
|
||||
char *p;
|
||||
strcpy (cmd, cmd + 1);
|
||||
if ((p = strchr (cmd, quote)) != NULL)
|
||||
if (*(p = strechr (cmd, quote)))
|
||||
strcpy (p, p + 1);
|
||||
else
|
||||
p = strchr (cmd, '\0');
|
||||
return p;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user