From 821ecf5105d92bdeaa00cac3ff55b6952bc1804d Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Sun, 9 Feb 2014 16:02:04 -0800 Subject: [PATCH] Copy path field --- modulecache.d | 1 + server.d | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modulecache.d b/modulecache.d index 9913735..6042bf4 100644 --- a/modulecache.d +++ b/modulecache.d @@ -49,6 +49,7 @@ private struct CacheEntry void opAssign(ref const CacheEntry other) { this.symbols = cast(typeof(symbols)) other.symbols; + this.path = other.path; this.modificationTime = other.modificationTime; } } diff --git a/server.d b/server.d index 1e95c82..6f8a04c 100644 --- a/server.d +++ b/server.d @@ -97,7 +97,7 @@ int main(string[] args) sw.stop(); Log.info("Startup completed in ", sw.peek().to!("msecs", float), " milliseconds"); - // No relative paths + // No relative paths version (Posix) chdir("/"); serverLoop: while (true)