Changeset 8fe650 in git for omalloc/om_Alloc.c
- Timestamp:
- May 2, 2006, 1:39:03 PM (17 years ago)
- Branches:
- (u'spielwiese', 'd0474371d8c5d8068ab70bfb42719c97936b18a6')
- Children:
- fc11f4583f0780c252a03d9b7079efbb0029dbce
- Parents:
- c551fdc7a02e90492400d97decfdc027e6af25a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/om_Alloc.c
rc551fdc r8fe650 4 4 * Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) 5 5 * Created: 11/99 6 * Version: $Id: om_Alloc.c,v 1. 2 2001-04-30 09:02:12Singular Exp $6 * Version: $Id: om_Alloc.c,v 1.3 2006-05-02 11:39:03 Singular Exp $ 7 7 *******************************************************************/ 8 8 #ifndef OM_ALLOC_C … … 167 167 { 168 168 omBin bin; 169 omAssume(page->used_blocks <= 0 );169 omAssume(page->used_blocks <= 0L); 170 170 171 171 #ifdef OM_HAVE_TRACK 172 if (page->used_blocks < 0 )172 if (page->used_blocks < 0L) 173 173 { 174 174 omFreeTrackAddr(addr); … … 178 178 179 179 bin = omGetBinOfPage(page); 180 if ( page->current != NULL || bin->max_blocks <= 1)180 if ((page->current != NULL) || (bin->max_blocks <= 1)) 181 181 { 182 182 // all blocks of page are now collected
Note: See TracChangeset
for help on using the changeset viewer.