Changeset acd643 in git


Ignore:
Timestamp:
Sep 22, 1999, 4:45:31 PM (25 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
752a5af25aea5955499834761b16dd3cecc4d625
Parents:
c3cb957db94e858ffb78bc16d042b2ef10a60c2b
Message:
* fixed gmalloc bug when allocating huge chunks of memory


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

Legend:

Unmodified
Added
Removed
  • Singular/gmalloc.c

    rc3cb95 racd643  
    476476  __ptr_t result;
    477477  unsigned long int adj;
    478 
     478 
     479  /* 9/99 obachman@mathematik.uni-kl.de: prevent calling morecore
     480     with negative arguments here */
     481  if ((ptrdiff_t) size < 0) return NULL;
     482 
    479483  result = (*__morecore) (size);
    480484  adj = (unsigned long int) ((unsigned long int) ((char *) result -
Note: See TracChangeset for help on using the changeset viewer.