Changeset 8d0069 in git
- Timestamp:
- Mar 22, 2001, 11:39:11 PM (22 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 4f85e4e9d3aad5369c5922537d1798f80d436e30
- Parents:
- 5589c00e8f0a98f97d11c3da49fce9bdf4334de0
- Location:
- omalloc
- Files:
-
- 1 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/Makefile.in
r5589c0 r8d0069 4 4 ### Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) 5 5 ### Created: 11/99 6 ### Version: $Id: Makefile.in,v 1. 8 2001-01-27 17:03:38 obachmanExp $6 ### Version: $Id: Makefile.in,v 1.9 2001-03-22 22:39:05 Singular Exp $ 7 7 ################################################################# 8 8 … … 76 76 ASO_SOURCES = 77 77 78 HEADERS= 79 om_Alloc.h omList.homDerivedConfig.h \78 HEADERS= mylimits.h \ 79 om_Alloc.h omList.h omDerivedConfig.h \ 80 80 omAllocDecl.h omConfig.h omMemOps.h \ 81 81 omDebug.h omOpts.h omInlineDecl.h \ … … 96 96 97 97 DISTFILES=$(SOURCES) $(HEADERS) omtTest.h makeheader.pl Makefile.in \ 98 omConfig.h.in configure.in mkinstalldirs install-sh configure98 omConfig.h.in mylimits.h configure.in mkinstalldirs install-sh configure 99 99 100 100 ## 101 101 ## Build Targets 102 102 ## 103 %.o: %.c omConfig.h omTables.h omalloc.h omTables.inc103 %.o: %.c omConfig.h mylimits.h omTables.h omalloc.h omTables.inc 104 104 ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -c $< 105 105 106 %.o_ndebug: %.c omConfig.h omTables.h omalloc.h omTables.inc106 %.o_ndebug: %.c omConfig.h mylimits.h omTables.h omalloc.h omTables.inc 107 107 ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -DOM_NDEBUG -c $< -o $@ 108 108 … … 118 118 lib: libomalloc.a 119 119 120 libomalloc.a: $(OBJS) Makefile omConfig.h 120 libomalloc.a: $(OBJS) Makefile omConfig.h mylimits.h 121 121 rm -f $@ 122 122 $(AR) cr $@ $(OBJS) 123 123 $(RANLIB) $@ 124 124 125 libomalloc_ndebug.a: $(OBJS_NDEBUG) Makefile omConfig.h 125 libomalloc_ndebug.a: $(OBJS_NDEBUG) Makefile omConfig.h mylimits.h 126 126 rm -f $@ 127 127 $(AR) cr $@ $(OBJS_NDEBUG) … … 143 143 ./omTables 1 >$@ 144 144 145 omTables: omAllocPrivate.h omConfig.h omTables.c 145 omTables: omAllocPrivate.h omConfig.h omTables.c mylimits.h 146 146 ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -DOM_GENERATE_INC omTables.c -o omTables 147 147 … … 169 169 # configure related stuff 170 170 # 171 omConfig.h omMalloc.h : stamp-h172 173 stamp-h : config.status omConfig.h.in ${OM_MALLOC_HEADER}174 CONFIG_FILES= CONFIG_HEADERS="omConfig.h omMalloc.h:${OM_MALLOC_HEADER}" ./config.status171 omConfig.h omMalloc.h mylimits.h: stamp-h 172 173 stamp-h : config.status omConfig.h.in mylimits.h.in ${OM_MALLOC_HEADER} 174 CONFIG_FILES= CONFIG_HEADERS="omConfig.h mylimits.h omMalloc.h:${OM_MALLOC_HEADER}" ./config.status 175 175 176 176 Makefile: Makefile.in config.status … … 199 199 $(INSTALL_DATA) omalloc.o omalloc_debug.o $(libdir) 200 200 $(INSTALL_DATA) omalloc.h omalloc.c $(includedir) 201 $(INSTALL_DATA) mylimits.h omalloc.c $(includedir) 201 202 202 203 … … 228 229 -rm -f *~ .\#* stamp-h configure omMalloc.h 229 230 rm -rf omalloc-$(VERSION) 230 -rm -f omConfig.h Makefile TAGS* tags config.status config.cache config.log231 -rm -f omConfig.h mylimits.h Makefile TAGS* tags config.status config.cache config.log 231 232 232 233 srcclean: distclean … … 237 238 .PHONY: TAGS 238 239 239 TAGS: omConfig.h.in 240 etags omConfig.h.in $(SOURCES) $(HEADERS)240 TAGS: omConfig.h.in mylimits.h.in 241 etags omConfig.h.in mylimits.h.in $(SOURCES) $(HEADERS) 241 242 242 243 ## … … 264 265 OBJG := $(CSOURCES:.c=.og) $(GSOURCES:.c=.og) 265 266 266 %.og: %.c omConfig.h omTables.h omalloc.h 267 %.og: %.c omConfig.h omTables.h omalloc.h mylimits.h 267 268 $(CCG) ${CFLAGSG} ${CPPFLAGS} ${DEFSG} -c $< -o $@ 268 269 269 270 libg: libomalloc_g.a 270 271 271 libomalloc_g.a: $(OBJG) Makefile omConfig.h 272 libomalloc_g.a: $(OBJG) Makefile omConfig.h mylimits.h 272 273 rm -f $@ 273 274 $(AR) cr $@ $(OBJG) … … 280 281 OBJD := $(CSOURCES:%.c=%_d.og) $(GSOURCES:%.c=%_d.og) 281 282 282 %_d.c : %.c omConfig.h omTables.h omalloc.h 283 %_d.c : %.c omConfig.h omTables.h omalloc.h mylimits.h 283 284 $(CCG) -E -P $< | $(PERL) -p -e 's/;/;\n/g' | $(PERL) -p -e 's/\{/\n\{/g' | $(PERL) -p -e 's/\}/\n\}/g' > $@ 284 285 .PRECIOUS: %_d.c … … 286 287 libd: libomalloc_d.a 287 288 288 libomalloc_d.a: $(OBJD) Makefile omConfig.h 289 libomalloc_d.a: $(OBJD) Makefile omConfig.h mylimits.h 289 290 rm -f $@ 290 291 $(AR) cr $@ $(OBJD) … … 306 307 ## Profile Targets 307 308 ## 308 %.op: %.c omConfig.h omTables.h omalloc.h 309 %.op: %.c omConfig.h omTables.h omalloc.h mylimits.h 309 310 $(CCP) ${CFLAGSP} ${CPPFLAGS} ${DEFSP} -c $< -o $@ 310 311 311 312 libp: libomalloc_p.a 312 313 313 libomalloc_p.a: $(OBJP) Makefile omConfig.h 314 libomalloc_p.a: $(OBJP) Makefile omConfig.h mylimits.h 314 315 rm -f $@ 315 316 $(AR) cr $@ $(OBJP) … … 334 335 ## Profile Targets 335 336 ## 336 %.ob: %.c omConfig.h omTables.h omalloc.h 337 %.ob: %.c omConfig.h omTables.h omalloc.h mylimits.h 337 338 $(CCB) ${CFLAGSB} ${CPPFLAGS} ${DEFSB} -c $< -o $@ 338 339 339 340 libb: libomalloc_b.a 340 341 341 libomalloc_b.a: $(OBJB) Makefile omConfig.h 342 libomalloc_b.a: $(OBJB) Makefile omConfig.h mylimits.h 342 343 rm -f $@ 343 344 $(AR) cr $@ $(OBJB) … … 389 390 ## Dependencies 390 391 ## 391 %.d: %.c omConfig.h Makefile omTables.h omTables.inc omalloc.h392 %.d: %.c omConfig.h mylimits.h Makefile omTables.h omTables.inc omalloc.h 392 393 echo $(@:.d=.o_ndebug) $(@:.d=.og) $(@:.d=.od) $(@:.d=.op) $(@:.d=.ob) $(@:.d=_d.c) $(@:.d=.om)" " \\ > $@ 393 394 $(CCM) ${CPPFLAGS} ${DEFSG} $< >> $@ 394 395 395 depend: $(CSOURCES:.c=.d) omConfig.h $(TESTSOURCES:.c=.d)396 depend: $(CSOURCES:.c=.d) omConfig.h mylimits.h $(TESTSOURCES:.c=.d) 396 397 cat *.d >depend 397 398 -
omalloc/configure
r5589c0 r8d0069 32 32 ac_help="$ac_help 33 33 --with-provide-malloc=yes|debug|malloc 34 provide normal|debug|underlying malloc ANSI-C conforming 34 provide normal|debug|underlying malloc ANSI-C conforming 35 35 versions of malloc|calloc|realloc|free" 36 36 ac_help="$ac_help … … 38 38 provide only omallocs interface, but do not use its features" 39 39 ac_help="$ac_help 40 --with-align=8|sloppy|strict 41 how memory is aligned, 40 --with-align=8|sloppy|strict 41 how memory is aligned, 42 42 default: if possible sloppy, else strict" 43 43 ac_help="$ac_help … … 58 58 --with-track-custom track custom values" 59 59 ac_help="$ac_help 60 --with-internal-debug 60 --with-internal-debug 61 61 turn on internal debugging" 62 62 … … 675 675 : 676 676 fi 677 677 678 678 # Check whether --with-internal_debug or --without-internal_debug was given. 679 679 if test "${with_internal_debug+set}" = set; then … … 1818 1818 fi 1819 1819 1820 # can not really handle pagesizes which are greater -- there must be a 1820 # can not really handle pagesizes which are greater -- there must be a 1821 1821 # bug somewhere 1822 1822 if test $ac_cv_pagesize -gt 8192; then … … 1889 1889 #line 1890 "configure" 1890 1890 #include "confdefs.h" 1891 1892 main() 1891 1892 main() 1893 1893 { 1894 void* ptr = (void*) malloc(12); 1895 double* d_ptr; 1896 if ((unsigned long) ptr % 8 == 0) ptr = ptr + 4; 1894 void* ptr = (void*) malloc(12); 1895 double* d_ptr; 1896 if ((unsigned long) ptr % 8 == 0) ptr = ptr + 4; 1897 1897 d_ptr = (double*) ptr; 1898 1898 *d_ptr = (double) 1.1; … … 1962 1962 OM_MALLOC_SOURCE=pmalloc.c 1963 1963 elif test "${with_malloc}" = external; then 1964 if test "${with_external_malloc_h+set}" != set; then 1964 if test "${with_external_malloc_h+set}" != set; then 1965 1965 { echo "configure: error: need --with_external_malloc_h for external malloc" 1>&2; exit 1; } 1966 1966 fi … … 1974 1974 EOF 1975 1975 1976 else 1976 else 1977 1977 with_malloc=dlmalloc 1978 1978 OM_MALLOC_HEADER=dlmalloc.h … … 2041 2041 2042 2042 fi 2043 2043 2044 2044 if test "${with_provide_malloc}" = malloc; then 2045 2045 cat >> confdefs.h <<\EOF … … 2166 2166 else 2167 2167 ac_cv_align="sloppy" 2168 fi 2168 fi 2169 2169 fi 2170 2170 echo "$ac_t""$ac_cv_align" 1>&6 … … 2325 2325 int main() 2326 2326 { 2327 int i; 2327 int i; 2328 2328 omInitGetBackTrace(); 2329 2329 i = test_backtrace(); … … 2380 2380 int i; 2381 2381 struct omRetInfo_s info; 2382 2382 2383 2383 GET_RET_ADDR(bt); 2384 2384 i = omBackTrace_2_RetInfo(&bt, &info, 1); … … 2386 2386 } 2387 2387 2388 2389 2388 int main(int argc, char** argv) 2390 2389 { … … 2397 2396 2398 2397 EOF 2399 if { (eval echo configure:2 400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2398 if { (eval echo configure:2399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2400 2399 then 2401 2400 ac_cv_prog_addr2line_works=yes … … 2412 2411 2413 2412 echo "$ac_t""$ac_cv_prog_addr2line_works" 1>&6 2414 2413 2415 2414 echo $ac_n "checking whether to track return addresses""... $ac_c" 1>&6 2416 echo "configure:241 7: checking whether to track return addresses" >&52415 echo "configure:2416: checking whether to track return addresses" >&5 2417 2416 if test "$with_track_return" = no || test "$ac_cv_get_return_addr_works" = no || test "$ac_cv_prog_addr2line_works" != yes; then 2418 2417 with_track_return=no … … 2427 2426 2428 2427 echo $ac_n "checking whether to track files and line numbers""... $ac_c" 1>&6 2429 echo "configure:24 30: checking whether to track files and line numbers" >&52428 echo "configure:2429: checking whether to track files and line numbers" >&5 2430 2429 if test "$with_track_fl" = no && test "$with_track_return" = no; then 2431 2430 with_track_fl=yes 2432 2431 fi 2433 if test "${with_track_fl+set}" != set; then 2432 if test "${with_track_fl+set}" != set; then 2434 2433 if test "$with_track_return" = yes; then 2435 2434 with_track_fl=no … … 2439 2438 fi 2440 2439 echo "$ac_t""$with_track_fl" 1>&6 2441 if test "$with_track_fl" = yes; then 2440 if test "$with_track_fl" = yes; then 2442 2441 cat >> confdefs.h <<\EOF 2443 2442 #define OM_TRACK_FILE_LINE 1 … … 2447 2446 2448 2447 echo $ac_n "checking whether to track stack backtraces""... $ac_c" 1>&6 2449 echo "configure:24 50: checking whether to track stack backtraces" >&52448 echo "configure:2449: checking whether to track stack backtraces" >&5 2450 2449 if test "$with_track" != no && test "$ac_cv_get_backtrace_works" = yes && test "$with_track_backtrace" != no && test "$ac_cv_prog_addr2line_works" = yes; then 2451 2450 with_track_backtrace=yes … … 2460 2459 2461 2460 echo $ac_n "checking whether to track custom values""... $ac_c" 1>&6 2462 echo "configure:246 3: checking whether to track custom values" >&52461 echo "configure:2462: checking whether to track custom values" >&5 2463 2462 if test "$with_track" != no && test "$with_track_custom" = yes; then 2464 2463 cat >> confdefs.h <<\EOF … … 2470 2469 fi 2471 2470 echo "$ac_t""$with_track_custom" 1>&6 2472 2473 2471 2474 2472 … … 2575 2573 ac_given_INSTALL="$INSTALL" 2576 2574 2577 trap 'rm -fr `echo "Makefile omConfig.h omMalloc.h:${OM_MALLOC_HEADER}" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 152575 trap 'rm -fr `echo "Makefile omConfig.h mylimits.h omMalloc.h:${OM_MALLOC_HEADER}" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 2578 2576 EOF 2579 2577 cat >> $CONFIG_STATUS <<EOF … … 2745 2743 EOF 2746 2744 cat >> $CONFIG_STATUS <<EOF 2747 CONFIG_HEADERS="omConfig.h omMalloc.h:${OM_MALLOC_HEADER}"2745 CONFIG_HEADERS="omConfig.h mylimits.h omMalloc.h:${OM_MALLOC_HEADER}" 2748 2746 EOF 2749 2747 cat >> $CONFIG_STATUS <<\EOF … … 2843 2841 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 2844 2842 2845 2846 2847 2848 -
omalloc/configure.in
r5589c0 r8d0069 4 4 dnl Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) 5 5 dnl Created: 11/99 6 dnl Version: $Id: configure.in,v 1.1 2 2001-01-27 17:03:39 obachmanExp $6 dnl Version: $Id: configure.in,v 1.13 2001-03-22 22:39:07 Singular Exp $ 7 7 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll 8 8 … … 42 42 provide-malloc, 43 43 [ --with-provide-malloc=yes|debug|malloc 44 provide normal|debug|underlying malloc ANSI-C conforming 44 provide normal|debug|underlying malloc ANSI-C conforming 45 45 versions of malloc|calloc|realloc|free]) 46 46 AC_ARG_WITH( … … 50 50 AC_ARG_WITH( 51 51 align, 52 [ --with-align=8|sloppy|strict 53 how memory is aligned, 52 [ --with-align=8|sloppy|strict 53 how memory is aligned, 54 54 default: if possible sloppy, else strict]) 55 55 AC_ARG_WITH( … … 76 76 AC_ARG_WITH( 77 77 track-custom, 78 [ --with-track-custom track custom values]) 78 [ --with-track-custom track custom values]) 79 79 AC_ARG_WITH( 80 80 internal_debug, 81 [ --with-internal-debug 81 [ --with-internal-debug 82 82 turn on internal debugging]) 83 83 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll … … 161 161 exit(0); 162 162 }], ac_cv_pagesize=`cat conftestval`, ac_cv_pagesize=0, ac_cv_pagesize=0)) 163 # can not really handle pagesizes which are greater -- there must be a 163 # can not really handle pagesizes which are greater -- there must be a 164 164 # bug somewhere 165 165 if test $ac_cv_pagesize -gt 8192; then … … 198 198 dnl 199 199 AC_CACHE_CHECK(whether alignment needs to be strict, ac_cv_align_need_strict, 200 AC_TRY_RUN([ 201 main() 202 { 203 void* ptr = (void*) malloc(12); 204 double* d_ptr; 205 if ((unsigned long) ptr % 8 == 0) ptr = ptr + 4; 200 AC_TRY_RUN([ 201 main() 202 { 203 void* ptr = (void*) malloc(12); 204 double* d_ptr; 205 if ((unsigned long) ptr % 8 == 0) ptr = ptr + 4; 206 206 d_ptr = (double*) ptr; 207 207 *d_ptr = (double) 1.1; … … 250 250 OM_MALLOC_SOURCE=pmalloc.c 251 251 elif test "${with_malloc}" = external; then 252 if test "${with_external_malloc_h+set}" != set; then 252 if test "${with_external_malloc_h+set}" != set; then 253 253 AC_MSG_ERROR(need --with_external_malloc_h for external malloc) 254 254 fi … … 259 259 OM_MALLOC_SOURCE=$with_external_malloc_c 260 260 AC_DEFINE(OMALLOC_USES_MALLOC) 261 else 261 else 262 262 with_malloc=dlmalloc 263 263 OM_MALLOC_HEADER=dlmalloc.h … … 300 300 AC_DEFINE(OM_MALLOC_PROVIDES_SIZEOF_ADDR) 301 301 fi 302 302 303 303 if test "${with_provide_malloc}" = malloc; then 304 304 AC_DEFINE(OM_PROVIDE_MALLOC, 3) … … 375 375 376 376 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll 377 dnl alignment 377 dnl alignment 378 378 dnl 379 379 AC_MSG_CHECKING(how to align) … … 387 387 else 388 388 ac_cv_align="sloppy" 389 fi 389 fi 390 390 fi 391 391 AC_MSG_RESULT($ac_cv_align) … … 462 462 exit(! test_return_addr()); 463 463 } 464 ], ac_cv_get_return_addr_works=yes, 464 ], ac_cv_get_return_addr_works=yes, 465 465 ac_cv_get_return_addr_works=no, 466 466 ac_cv_get_return_addr_works=no)) … … 483 483 int main() 484 484 { 485 int i; 485 int i; 486 486 omInitGetBackTrace(); 487 487 i = test_backtrace(); … … 489 489 else exit(i+1); 490 490 } 491 ], ac_cv_get_backtrace_works=yes, 491 ], ac_cv_get_backtrace_works=yes, 492 492 ac_cv_get_backtrace_works=no, 493 493 ac_cv_get_backtrace_works=no)) … … 513 513 int i; 514 514 struct omRetInfo_s info; 515 515 516 516 GET_RET_ADDR(bt); 517 517 i = omBackTrace_2_RetInfo(&bt, &info, 1); … … 519 519 } 520 520 521 522 521 int main(int argc, char** argv) 523 522 { … … 528 527 else exit (i+10); 529 528 } 530 ], ac_cv_prog_addr2line_works=yes, 529 ], ac_cv_prog_addr2line_works=yes, 531 530 ac_cv_prog_addr2line_works=no, 532 531 ac_cv_prog_addr2line_works=no)) 533 532 AC_MSG_RESULT($ac_cv_prog_addr2line_works) 534 533 535 534 AC_MSG_CHECKING(whether to track return addresses) 536 535 if test "$with_track_return" = no || test "$ac_cv_get_return_addr_works" = no || test "$ac_cv_prog_addr2line_works" != yes; then … … 546 545 with_track_fl=yes 547 546 fi 548 if test "${with_track_fl+set}" != set; then 547 if test "${with_track_fl+set}" != set; then 549 548 if test "$with_track_return" = yes; then 550 549 with_track_fl=no … … 554 553 fi 555 554 AC_MSG_RESULT($with_track_fl) 556 if test "$with_track_fl" = yes; then 555 if test "$with_track_fl" = yes; then 557 556 AC_DEFINE(OM_TRACK_FILE_LINE) 558 557 fi … … 567 566 AC_MSG_RESULT($with_track_backtrace) 568 567 569 AC_MSG_CHECKING(whether to track custom values) 568 AC_MSG_CHECKING(whether to track custom values) 570 569 if test "$with_track" != no && test "$with_track_custom" = yes; then 571 570 AC_DEFINE(OM_TRACK_CUSTOM) … … 578 577 dnl wrap it up 579 578 dnl 580 AC_CONFIG_HEADER(omConfig.h omMalloc.h:${OM_MALLOC_HEADER}) 581 579 AC_CONFIG_HEADER(omConfig.h mylimits.h omMalloc.h:${OM_MALLOC_HEADER}) 582 580 583 581 AC_OUTPUT(Makefile, \ 584 582 if test "$CONFIG_HEADERS"; then echo timestamp > stamp-h; fi) 585 586 587 588 -
omalloc/gmalloc.c
r5589c0 r8d0069 3 3 * Purpose: implementation of malloc and friends from libc of 4 4 * Linux kernel version 5 5 * Version: $Id: gmalloc.c,v 1. 4 2000-08-14 12:26:38 obachmanExp $5 * Version: $Id: gmalloc.c,v 1.5 2001-03-22 22:39:07 Singular Exp $ 6 6 *******************************************************************/ 7 7 #include "omMalloc.h" … … 53 53 54 54 #if defined (__GNU_LIBRARY__) || (defined (__STDC__) && __STDC__) 55 #include < limits.h>55 #include <mylimits.h> 56 56 #else 57 57 #ifndef CHAR_BIT -
omalloc/omAllocSystem.c
r5589c0 r8d0069 4 4 * Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) 5 5 * Created: 11/99 6 * Version: $Id: omAllocSystem.c,v 1. 7 2000-12-12 15:26:15 obachmanExp $6 * Version: $Id: omAllocSystem.c,v 1.8 2001-03-22 22:39:08 Singular Exp $ 7 7 *******************************************************************/ 8 8 #ifndef OM_ALLOC_SYSTEM_C … … 10 10 11 11 #include <unistd.h> 12 #include < limits.h>12 #include <mylimits.h> 13 13 14 14 -
omalloc/omBinPage.c
r5589c0 r8d0069 4 4 * Author: obachman (Olaf Bachmann) 5 5 * Created: 11/99 6 * Version: $Id: omBinPage.c,v 1. 6 2000-12-12 15:26:16 obachmanExp $6 * Version: $Id: omBinPage.c,v 1.7 2001-03-22 22:39:09 Singular Exp $ 7 7 *******************************************************************/ 8 #include < limits.h>8 #include <mylimits.h> 9 9 #include "om_Alloc.h" 10 10 #include "omDefaultConfig.h" -
omalloc/omDebug.c
r5589c0 r8d0069 4 4 * Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) 5 5 * Created: 7/00 6 * Version: $Id: omDebug.c,v 1.1 3 2000-12-12 15:26:16 obachmanExp $6 * Version: $Id: omDebug.c,v 1.14 2001-03-22 22:39:09 Singular Exp $ 7 7 *******************************************************************/ 8 #include < limits.h>8 #include <mylimits.h> 9 9 #include <string.h> 10 10 #include "omConfig.h" -
omalloc/omDebugCheck.c
r5589c0 r8d0069 4 4 * Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) 5 5 * Created: 11/99 6 * Version: $Id: omDebugCheck.c,v 1.1 1 2000-12-12 15:26:16 obachmanExp $6 * Version: $Id: omDebugCheck.c,v 1.12 2001-03-22 22:39:09 Singular Exp $ 7 7 *******************************************************************/ 8 #include < limits.h>8 #include <mylimits.h> 9 9 #include <stdarg.h> 10 10 -
omalloc/omDebugTrack.c
r5589c0 r8d0069 4 4 * Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) 5 5 * Created: 11/99 6 * Version: $Id: omDebugTrack.c,v 1.1 2 2000-12-12 15:26:17 obachmanExp $6 * Version: $Id: omDebugTrack.c,v 1.13 2001-03-22 22:39:10 Singular Exp $ 7 7 *******************************************************************/ 8 #include < limits.h>8 #include <mylimits.h> 9 9 #include <string.h> 10 10 #include "omConfig.h" -
omalloc/omDefaultConfig.h
r5589c0 r8d0069 4 4 * Author: obachman (Olaf Bachmann) 5 5 * Created: 11/99 6 * Version: $Id: omDefaultConfig.h,v 1. 6 2001-03-12 19:14:28 obachmanExp $6 * Version: $Id: omDefaultConfig.h,v 1.7 2001-03-22 22:39:10 Singular Exp $ 7 7 *******************************************************************/ 8 8 … … 23 23 the global om_Opts struct. 24 24 ********************************************************************/ 25 #include < limits.h>25 #include <mylimits.h> 26 26 #include "omConfig.h" 27 27 /* if external config was provided, 'make' makes links from it to omExternalConfig.h */ -
omalloc/omtTest.h
r5589c0 r8d0069 1 1 #include <time.h> 2 2 #include <string.h> 3 #include < limits.h>3 #include <mylimits.h> 4 4 5 5 #define TRACK_LEVEL 1
Note: See TracChangeset
for help on using the changeset viewer.