|
|
| version 1.9.2.1, 2012/04/02 09:10:30 | version 1.9.2.2, 2012/05/14 12:48:21 |
|---|---|
| Line 249 ioRegexVerify(const char *csRegex, const char *csData, | Line 249 ioRegexVerify(const char *csRegex, const char *csData, |
| if ((ret = regcomp(&re, csRegex, REG_EXTENDED))) { | if ((ret = regcomp(&re, csRegex, REG_EXTENDED))) { |
| regerror(ret, &re, szErr, STRSIZ); | regerror(ret, &re, szErr, STRSIZ); |
| io_SetErr(ret, "Error:: %s\n", szErr); | io_SetErr(ret, "%s", szErr); |
| regfree(&re); | regfree(&re); |
| return NULL; | return NULL; |
| } | } |
| Line 267 ioRegexVerify(const char *csRegex, const char *csData, | Line 267 ioRegexVerify(const char *csRegex, const char *csData, |
| if (ret) { | if (ret) { |
| regerror(ret, &re, szErr, STRSIZ); | regerror(ret, &re, szErr, STRSIZ); |
| io_SetErr(ret, "Error:: %s\n", szErr); | io_SetErr(ret, "%s", szErr); |
| pos = NULL; | pos = NULL; |
| } | } |
| Line 373 ioStrAst(const char *csString) | Line 373 ioStrAst(const char *csString) |
| if (!strchr(csString, '{') || !strrchr(csString, '}')) { | if (!strchr(csString, '{') || !strrchr(csString, '}')) { |
| memset(io_Error, 0, STRSIZ); | memset(io_Error, 0, STRSIZ); |
| snprintf(io_Error, STRSIZ, "Error:: Invalid input string format ... " | snprintf(io_Error, STRSIZ, "Invalid input string format ... " |
| "must be like {text[:[-]#[:#]]}"); | "must be like {text[:[-]#[:#]]}"); |
| io_Errno = EINVAL; | io_Errno = EINVAL; |
| return NULL; | return NULL; |