Changeset 13fe1b in git for omalloc/gmalloc.c
- Timestamp:
- Apr 30, 2001, 11:02:15 AM (23 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
- Children:
- 4d59e4136d84df15b329a224051e410d9f7ac557
- Parents:
- 38f6b334b77a57a06e357ad3a927916497dcb9bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/gmalloc.c
r38f6b33 r13fe1b 1 1 /******************************************************************* 2 2 * File: gmalloc.c 3 * Purpose: implementation of malloc and friends from libc of 3 * Purpose: implementation of malloc and friends from libc of 4 4 * Linux kernel version 5 5 * Version: $Id: gmalloc.c,v 1. 5 2001-03-22 22:39:07Singular Exp $5 * Version: $Id: gmalloc.c,v 1.6 2001-04-30 09:01:59 Singular Exp $ 6 6 *******************************************************************/ 7 7 #include "omMalloc.h" … … 467 467 __ptr_t result; 468 468 unsigned long int adj; 469 469 470 470 /* 9/99 obachman@mathematik.uni-kl.de: prevent calling morecore 471 471 with negative arguments here */ 472 472 if ((ptrdiff_t) size < 0) return NULL; 473 473 474 474 result = (*__morecore) (size); 475 475 adj = (unsigned long int) ((unsigned long int) ((char *) result - … … 1407 1407 return result; 1408 1408 } 1409
Note: See TracChangeset
for help on using the changeset viewer.