Changeset ff04713 in git for omalloc


Ignore:
Timestamp:
Jun 23, 2003, 10:09:22 AM (21 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e082b5b2887fd0dce60bfa5718a268b2bcdc4b6c
Parents:
c637212ad422fc2abb0b266245deb35e5baf4d11
Message:
*hannes: while .. while


git-svn-id: file:///usr/local/Singular/svn/trunk@6818 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • omalloc/omBinPage.c

    rc63721 rff04713  
    44 *  Author:  obachman (Olaf Bachmann)
    55 *  Created: 11/99
    6  *  Version: $Id: omBinPage.c,v 1.8 2001-04-30 09:02:02 Singular Exp $
     6 *  Version: $Id: omBinPage.c,v 1.9 2003-06-23 08:09:22 Singular Exp $
    77 *******************************************************************/
    88#include <mylimits.h>
     
    110110      goto Found;
    111111    }
    112     if (om_CurrentBinPageRegion->init_pages)
     112    if (om_CurrentBinPageRegion->init_pages > 0)
    113113    {
    114114      bin_page = (omBinPage)om_CurrentBinPageRegion->init_addr;
    115115      om_CurrentBinPageRegion->init_pages--;
    116       if (om_CurrentBinPageRegion->init_pages)
     116      if (om_CurrentBinPageRegion->init_pages > 0)
    117117        om_CurrentBinPageRegion->init_addr += SIZEOF_SYSTEM_PAGE;
    118118      else
     
    132132    }
    133133  }
    134   while (1);
    135134
    136135  Found:
     
    184183    }
    185184  }
    186   while (1);
     185  /*while (1) */
    187186
    188187  Found:
Note: See TracChangeset for help on using the changeset viewer.