Changeset 900cea in git
- Timestamp:
- Feb 20, 2002, 4:30:16 PM (21 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- a7c2dbcae69f5b83fdb67594276913303071d020
- Parents:
- 972fb17612d377a3b09c54728fbf49382112870d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/omalloc.c
r972fb1 r900cea 5 5 * Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) 6 6 * Created: 11/99 7 * Version: $Id: omalloc.c,v 1. 7 2001-04-30 09:02:12Singular Exp $7 * Version: $Id: omalloc.c,v 1.8 2002-02-20 15:30:16 Singular Exp $ 8 8 *******************************************************************/ 9 9 … … 85 85 /* on some systems strdup is a macro -- replace it unless OMALLOC_FUNC 86 86 is defined */ 87 #if !defined(OMALOC_FUNC) 87 #ifndef OMALLOC_USES_MALLOC 88 #if !defined(OMALLOC_FUNC) 88 89 #undef strdup 89 90 #endif 90 char* strdup (const char* addr)91 char* strdup_(const char* addr) 91 92 { 92 93 char* n_s; … … 99 100 return NULL; 100 101 } 102 #endif 101 103 void freeSize(void* addr, size_t size) 102 104 {
Note: See TracChangeset
for help on using the changeset viewer.