--- libaitio/src/aitio.c 2012/05/23 14:06:08 1.10.6.5 +++ libaitio/src/aitio.c 2012/08/02 00:47:47 1.12 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.c,v 1.10.6.5 2012/05/23 14:06:08 misho Exp $ +* $Id: aitio.c,v 1.12 2012/08/02 00:47:47 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -108,11 +108,7 @@ io_mm_inuse() void _init() { -#ifdef USE_MPOOL ioLibInit(IO_MPOOL, 0); -#else - ioLibInit(IO_SYSM, 0); -#endif } // fini libaitio routine @@ -478,7 +474,7 @@ ioStrAst(const char *csString) io_Errno = EINVAL; return NULL; } else { - str = strdup(strchr(csString, '{') + 1); + str = io_strdup(strchr(csString, '{') + 1); *strrchr(str, '}') = 0; } @@ -500,7 +496,7 @@ ioStrAst(const char *csString) /* ok, clear show */ ext = str; - out = strdup(ext); + out = io_strdup(ext); io_free(str); return out; @@ -523,7 +519,7 @@ ioMkDir(const char *csDir, int mode) if (!csDir) return cx; - str = strdup(csDir); + str = io_strdup(csDir); if (!str) { LOGERR; return cx;