Changeset a830133 in git for kernel/mminit.cc


Ignore:
Timestamp:
Mar 17, 2009, 10:01:46 AM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
ab89373cf4c7ae3f8b064a46e9e311cde2fb9322
Parents:
febf7e79089257c80bba7e793dd2fb03af40b285
Message:
*hannes: OMALLOC_USES_MALLOC


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

Legend:

Unmodified
Added
Removed
  • kernel/mminit.cc

    rfebf7e ra830133  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: mminit.cc,v 1.1.1.1 2003-10-06 12:15:57 Singular Exp $ */
     4/* $Id: mminit.cc,v 1.2 2009-03-17 09:01:46 Singular Exp $ */
    55/*
    66* ABSTRACT: init of memory management
     
    3939  {
    4040#if defined(OMALLOC_USES_MALLOC) || defined(X_OMALLOC)
     41    /* in mmstd.c, for some architectures freeSize() unconditionally uses the *system* free() */
     42    /* sage ticket 5344: http://trac.sagemath.org/sage_trac/ticket/5344 */
     43    /* solution: correctly check OMALLOC_USES_MALLOC from omalloc.h, */
     44    /* do not rely on the default in Singular as libsingular may be different */
    4145    mp_set_memory_functions(omMallocFunc,omReallocSizeFunc,omFreeSizeFunc);
    4246#else
Note: See TracChangeset for help on using the changeset viewer.