* dlmalloc.c: New file. Port of Doug Lea's malloc

* dlmalloc.h: Ditto.
* Makefile.in: Add support for MALLOC_DEBUG
* config.h.in: Ditto.
* winsup.h: Ditto.
* configure.in: Add --enable-malloc-debugging option.
* configure: Regenerate.
* debug.h: Include declarations for debugging malloc.
* tty.cc (grantpt): Fix definition.
(unlockpt): Ditto.
This commit is contained in:
Egor Duda
2001-04-24 15:25:31 +00:00
parent 19a90cfeaf
commit 8db71e0169
10 changed files with 4062 additions and 56 deletions

View File

@@ -29,14 +29,14 @@ extern fhandler_tty_master *tty_master;
extern "C"
int
grantpt (void)
grantpt (int fd)
{
return 0;
}
extern "C"
int
unlockpt (void)
unlockpt (int fd)
{
return 0;
}