httpserver may work better now

This commit is contained in:
Araq
2011-01-13 23:27:24 +01:00
parent 1a8c6fb49f
commit ddb49e069e
5 changed files with 94 additions and 78 deletions

View File

@@ -55,7 +55,7 @@ proc rawCompile(pattern: string, flags: cint): PPcre =
return com
proc finalizeRegEx(x: TRegEx) =
# XXX This is a hack, but PCRE does not export it's "free" function properly.
# XXX This is a hack, but PCRE does not export its "free" function properly.
# Sigh. The hack relies on PCRE's implementation (see ``pcre_get.c``).
# Fortunately the implementation is unlikely to change.
pcre.free_substring(cast[cstring](x.h))