Changeset 1859
- Timestamp:
- 23/09/2007 19:51:52 (4 years ago)
- File:
-
- 1 edited
-
box/trunk/lib/common/ExcludeList.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/common/ExcludeList.cpp
r1771 r1859 195 195 196 196 // Compile 197 if(::regcomp(pregex, entry.c_str(), 198 REG_EXTENDED | REG_NOSUB) != 0) 197 int errcode = ::regcomp(pregex, entry.c_str(), 198 REG_EXTENDED | REG_NOSUB); 199 200 if (errcode != 0) 199 201 { 202 char buf[1024]; 203 regerror(errcode, pregex, buf, sizeof(buf)); 204 BOX_ERROR("Invalid regular expression: " << 205 entry << ": " << buf); 200 206 THROW_EXCEPTION(CommonException, BadRegularExpression) 201 207 }
Note: See TracChangeset
for help on using the changeset viewer.
