|
|
| version 1.10.6.5, 2012/05/23 14:06:08 | version 1.12, 2012/08/02 00:47:47 |
|---|---|
| Line 108 io_mm_inuse() | Line 108 io_mm_inuse() |
| void | void |
| _init() | _init() |
| { | { |
| #ifdef USE_MPOOL | |
| ioLibInit(IO_MPOOL, 0); | ioLibInit(IO_MPOOL, 0); |
| #else | |
| ioLibInit(IO_SYSM, 0); | |
| #endif | |
| } | } |
| // fini libaitio routine | // fini libaitio routine |
| Line 478 ioStrAst(const char *csString) | Line 474 ioStrAst(const char *csString) |
| io_Errno = EINVAL; | io_Errno = EINVAL; |
| return NULL; | return NULL; |
| } else { | } else { |
| str = strdup(strchr(csString, '{') + 1); | str = io_strdup(strchr(csString, '{') + 1); |
| *strrchr(str, '}') = 0; | *strrchr(str, '}') = 0; |
| } | } |
| Line 500 ioStrAst(const char *csString) | Line 496 ioStrAst(const char *csString) |
| /* ok, clear show */ | /* ok, clear show */ |
| ext = str; | ext = str; |
| out = strdup(ext); | out = io_strdup(ext); |
| io_free(str); | io_free(str); |
| return out; | return out; |
| Line 523 ioMkDir(const char *csDir, int mode) | Line 519 ioMkDir(const char *csDir, int mode) |
| if (!csDir) | if (!csDir) |
| return cx; | return cx; |
| str = strdup(csDir); | str = io_strdup(csDir); |
| if (!str) { | if (!str) { |
| LOGERR; | LOGERR; |
| return cx; | return cx; |