Changeset 715936 in git
- Timestamp:
- Sep 9, 2011, 7:41:13 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- f29ab6c2e7fe07c324d37a46dfb6a9760b4ecb66
- Parents:
- 534886637bbc60712e1adffc56bba8346d98e245
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-09 19:41:13+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:40+01:00
- Files:
-
- 9 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
Singular/makefile
r5348866 r715936 145 145 CXXSOURCES2 = SingularBuilder.cpp 146 146 147 CSOURCES = fereadl.c 147 CSOURCES = fereadl.c mmstd.c 148 148 149 149 SOURCES=${CSOURCES} ${CXXSOURCES} \ … … 181 181 minpoly.h \ 182 182 misc_ip.h \ 183 mmalloc.h \ 184 omSingularConfig.h \ 183 185 mpsr.h \ 184 186 mpsr_Get.h \ … … 189 191 ndbm.h \ 190 192 newstruct.h \ 191 omSingularConfig.h \192 193 pcv.h \ 193 194 pipeLink.h \ -
Singular/misc_ip.cc
r5348866 r715936 676 676 v=v->next; 677 677 } while (v!=NULL); 678 678 679 // set global variable to show memory usage 679 680 extern int om_sing_opt_show_mem; 680 681 if (BVERBOSE(V_SHOW_MEM)) om_sing_opt_show_mem = 1; 681 682 else om_sing_opt_show_mem = 0; 683 682 684 return FALSE; 683 685 } -
Singular/mmstd.c
r5348866 r715936 11 11 12 12 #include <omalloc/omalloc.h> 13 #include <Singular/static.h> 13 #include <omalloc/config.h> 14 #include <omalloc/omConfig.h> 15 16 #include "static.h" 14 17 15 18 // we provide these functions, so that the settings of OM_CHECK … … 18 21 // already provided in libomalloc 19 22 #if !defined(OMALLOC_USES_MALLOC) && !defined(X_OMALLOC) 20 /* in mmstd.c, for some architectures freeSize() unconditionally uses the *system* free() */ 21 /* sage ticket 5344: http://trac.sagemath.org/sage_trac/ticket/5344 */ 22 /* solution: correctly check OMALLOC_USES_MALLOC from omalloc.h, */ 23 /* do not rely on the default in Singular as libsingular may be different */ 23 24 /* in mmstd.c, for some architectures freeSize() unconditionally uses the *system* free() */ 25 /* sage ticket 5344: http://trac.sagemath.org/sage_trac/ticket/5344 */ 26 /* solution: correctly check OMALLOC_USES_MALLOC from omalloc.h, */ 27 /* do not rely on the default in Singular as libsingular may be different */ 24 28 25 29 // define this so that all addr allocated there are marked … … 27 31 #define OM_MALLOC_MARK_AS_STATIC 28 32 #define strdup_ strdup__ 29 #include <omalloc/omalloc.c> 33 #include <omalloc/omalloc.c> /// UGLY!!!!!!!!!!!!!!!! 34 30 35 #else 31 36 #include <stdlib.h> -
Singular/mpsr_GetMisc.cc
r5348866 r715936 436 436 #undef freeSize 437 437 438 #include " kernel/mmalloc.h"438 #include "mmalloc.h" 439 439 440 440 static int mpsr_is_initialized = 0; -
Singular/test.cc
r5348866 r715936 98 98 #include <kernel/ratgring.h> 99 99 #include <kernel/shiftgb.h> 100 #include <kernel/mmalloc.h>100 #include "mmalloc.h" 101 101 #include <kernel/gfan.h> 102 102 … … 146 146 147 147 // #include "lplist.h" // Too old! 148 #include <kernel/mmalloc.h>148 #include "mmalloc.h" 149 149 #include <kernel/multicnt.h> 150 150 #include <kernel/npolygon.h> -
configure.ac
r5348866 r715936 1 1 AC_INIT([singular], [3.1.2.sw]) 2 2 3 AC_CONFIG_AUX_DIR([.]) 4 3 5 AM_MAINTAINER_MODE 4 6 AM_INIT_AUTOMAKE … … 13 15 LB_CHECK_NTL(5.0,,AC_MSG_WARN([Unable to find NTL (which is strongly recommended) on your machine: please use --with-ntl=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)])) 14 16 15 AC_CONFIG_FILES([Makefile]) 17 18 #if test x$ac_configure_args != x; then 19 # old_ac_configure_args="$ac_configure_args" 20 # ac_configure_args="$ac_configure_args --with-external-config_h=../Singular/omSingularConfig.h" 21 #else 22 # old_ac_configure_args="" 23 #fi 24 25 ac_configure_args="$ac_configure_args --with-external-config_h=../Singular/omSingularConfig.h" 26 16 27 AC_CONFIG_SUBDIRS(omalloc) 28 29 # ac_configure_args="$old_ac_configure_args" 30 17 31 if test x$ENABLE_FACTORY = xyes; then 18 32 AC_CONFIG_SUBDIRS(factory) 19 33 fi 34 20 35 AC_CONFIG_SUBDIRS(libpolys) 36 37 AC_CONFIG_FILES([Makefile]) 21 38 AC_CONFIG_FILES([numeric/Makefile]) 22 39 -
kernel/makefile
r5348866 r715936 90 90 91 91 # normal C source files 92 CSOURCES =fegetopt.c mmstd.c92 CSOURCES = fegetopt.c 93 93 94 94 # special C++ source files (need extra compiling and/or linking), for which … … 114 114 fegetopt.h \ 115 115 ratgring.h shiftgb.h nc.h \ 116 mmalloc.h \117 116 semic.h \ 118 117 gfan.h preimage.h -
kernel/test.cc
r5348866 r715936 95 95 #include "ratgring.h" 96 96 #include "shiftgb.h" 97 #include "mmalloc.h" 97 // #include "mmalloc.h" // move to Singular!? 98 98 #include "gfan.h" 99 99 … … 143 143 144 144 // #include "lplist.h" // Too old! 145 #include "mmalloc.h"146 145 #include "multicnt.h" 147 146 #include "npolygon.h" -
omalloc/configure.ac
r5348866 r715936 574 574 575 575 576 AC_DEFINE(OM_PROVIDE_MALLOC,0,[Provide NO standard routines!]) 577 578 576 579 577 580 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll -
omalloc/omConfig.h.in
r5348866 r715936 96 96 #endif 97 97 98 /* Provide NO standard routines! */ 99 #ifndef OM_PROVIDE_MALLOC 100 #undef OM_PROVIDE_MALLOC 101 #endif 102 98 103 /* "Disable debug" */ 99 104 #ifndef OM_NDEBUG
Note: See TracChangeset
for help on using the changeset viewer.