Changeset 1009 for trunk/dll/literal.c
- Timestamp:
- May 10, 2008, 9:51:58 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/dll/literal.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/literal.c
r999 r1009 194 194 cBufBytes = pszOut - pszWork; /* Calc string length excluding terminator */ 195 195 memcpy(pszBuf, pszWork, cBufBytes + 1); /* Overwrite including terminator */ 196 xfree(pszWork );196 xfree(pszWork, pszSrcFile, __LINE__); 197 197 198 198 return cBufBytes; /* Return string length */ … … 297 297 if (!(strchr(tcard, '?')) && !(strchr(tcard, '*'))){ 298 298 if (strstr(fstr, tcard)){ //strstr match for *stuff* pattern no wildcards in "stuff" 299 xfree(tcard );299 xfree(tcard, pszSrcFile, __LINE__); 300 300 return TRUE; 301 301 } 302 302 else{ 303 xfree(tcard );303 xfree(tcard, pszSrcFile, __LINE__); 304 304 return FALSE; 305 305 } 306 306 } 307 xfree(tcard );307 xfree(tcard, pszSrcFile, __LINE__); 308 308 } 309 309 else //reverse search for *stuff pattern "stuff" can contain wildcards
Note:
See TracChangeset
for help on using the changeset viewer.
