version 1.10.6.6, 2012/05/23 14:37:36
|
version 1.12, 2012/08/02 00:47:47
|
Line 474 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 496 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 519 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; |