Changeset ddaf27 in git
- Timestamp:
- Jan 26, 2012, 5:32:36 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 76f3a18e5ce9a6a62d719dfb53dd5439883be370
- Parents:
- 8156a762758cc544bbf2c95bbe2241b4452724a3
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-26 17:32:36+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-27 17:06:06+01:00
- Location:
- omalloc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/Makefile.am
r8156a7 rddaf27 35 35 nodist_libomalloc_g_la_SOURCES = omConfig.h omalloc.h omTables.inc omTables.h 36 36 37 libomalloc_la_CPPFLAGS= -DHAVE_CONFIG_H -DOM_NDEBUG 38 libomalloc_g_la_CPPFLAGS= -DHAVE_CONFIG_H 37 ### NOTE: "_g" (debug) means full library 38 ### libomalloc_la_CPPFLAGS= -DOM_ALLOC_INTERNAL -DHAVE_CONFIG_H -DOM_NDEBUG 39 40 libomalloc_la_CPPFLAGS= -DOM_ALLOC_INTERNAL -DHAVE_CONFIG_H 41 libomalloc_g_la_CPPFLAGS= -DOM_ALLOC_INTERNAL -DHAVE_CONFIG_H 39 42 40 43 BUILT_SOURCES = omTables.inc omTables.h … … 59 62 60 63 61 TESTS = omtTest-s-g omtTest-s-m omtTest-s-r omtTest-d-g omtTest-d-m omtTest-d-r 64 TESTS = omtTest-s-g omtTest-s-m omtTest-d-g omtTest-d-m 65 62 66 check_PROGRAMS = $(TESTS) 67 68 69 EXTRA_PROGRAMS = omtTest-s-r omtTest-d-r 70 #### tests fail: omtTest-s-r omtTest-d-r due to 71 # !!!expect omError_UnalignedAddr 72 # ***omError_UnalignedAddr: addr is unaligned 73 # occured at: ../../omalloc/omtTestError.c:260 74 # occured for (invalid) addr: 0x7fc5c3602811 (error=14) 75 # +++ok omError_UnalignedAddr 76 # 77 # !!!expect omError_NullSizeAlloc 78 # 2669 Segmentation fault 63 79 64 80 OMTTESTSSOURCES = omtTestReal.c omtTestDebug.c omtTestKeep.c omtTestError.c omtTest.c -
omalloc/omAllocDecl.h
r8156a7 rddaf27 8 8 #ifndef OM_ALLOC_DECL_H 9 9 #define OM_ALLOC_DECL_H 10 11 #if defined(OM_NDEBUG) && defined(OMALLOC_H)12 #if (SIZEOF_LONG == 8)13 #define OM_T_FREE114 #define OM_T_FREE315 #define OM_T_STR16 #define OM_T_ALLOC17 #define OM_T_REALLOC18 #undef OM_NDEBUG19 #endif20 #endif21 22 10 23 11 #if (!defined(OM_NDEBUG) && (defined(OM_CHECK) || (defined(OM_HAVE_TRACK) && defined(OM_TRACK)))) || defined(OM_T1) -
omalloc/omalloc.h
r8156a7 rddaf27 18 18 19 19 #include <omalloc/omConfig.h> 20 21 #if defined(OM_NDEBUG) && !defined(OM_ALLOC_INTERNAL) 22 #if (SIZEOF_LONG == 8) 23 #define OM_T_FREE1 24 #define OM_T_FREE3 25 #define OM_T_STR 26 #define OM_T_ALLOC 27 #define OM_T_REALLOC 28 #undef OM_NDEBUG 29 #endif 30 #endif 31 20 32 #include <omalloc/omDerivedConfig.h> 21 33 #include <omalloc/omError.h>
Note: See TracChangeset
for help on using the changeset viewer.