diff --git a/src/system/libroot/posix/unistd/sbrk.c b/src/system/libroot/posix/unistd/sbrk.c index 455ceb31a8..b0603d5acf 100644 --- a/src/system/libroot/posix/unistd/sbrk.c +++ b/src/system/libroot/posix/unistd/sbrk.c @@ -1,19 +1,22 @@ /* -** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the Haiku License. -*/ + * Copyright 2004-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include #include + /* in hoard wrapper */ extern void *(*sbrk_hook)(long); + void * sbrk(long increment) { - if (sbrk_hook) - return (*sbrk_hook)(increment); +// TODO: disabled for now - let's GDB crash, so it obviously doesn't work yet +// if (sbrk_hook) +// return (*sbrk_hook)(increment); return NULL; }