Changeset 17592
- Timestamp:
- 05/25/06 16:05:28 (3 years ago)
- Files:
-
- 1 modified
-
haiku/trunk/src/system/libroot/posix/unistd/sbrk.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
haiku/trunk/src/system/libroot/posix/unistd/sbrk.c
r17590 r17592 16 16 sbrk(long increment) 17 17 { 18 // TODO: disabled for now - let's GDB crash, so it obviously doesn't work yet 19 // if (sbrk_hook) 20 // return (*sbrk_hook)(increment); 18 // TODO: we only support extending the heap for now using this method 19 if (increment <= 0) 20 return NULL; 21 22 if (sbrk_hook) 23 return (*sbrk_hook)(increment); 24 21 25 return NULL; 22 26 }
