* 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:
Christopher Faylor
2003-09-14 01:58:03 +00:00
parent e306c058c7
commit de9e39f701
6 changed files with 28 additions and 18 deletions

View File

@@ -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;
}