minor tweaks; updated todo.txt

This commit is contained in:
Araq
2014-04-25 19:54:42 +02:00
parent e6675bd8b2
commit fab8cee13d
5 changed files with 16 additions and 17 deletions

View File

@@ -192,7 +192,7 @@ when false:
if path[path.len-1] == '/' or existsDir(path):
path = path / "index.html"
if not ExistsFile(path):
if not existsFile(path):
discardHeaders(client)
notFound(client)
else:

View File

@@ -243,7 +243,7 @@ when not defined(useNimRtl):
# on UNIX, the GC uses ``SIGFREEZE`` to tell every thread to stop so that
# the GC can examine the stacks?
proc stopTheWord() = nil
proc stopTheWord() = discard
# We jump through some hops here to ensure that Nimrod thread procs can have
# the Nimrod calling convention. This is needed because thread procs are