diff dmd/FileName.d @ 136:9d194c848e3a

fixed a few null reference bugs, thx sagitario
author Trass3r
date Mon, 13 Sep 2010 23:27:38 +0200
parents e28b18c23469
children af724d3510d7
line wrap: on
line diff
--- a/dmd/FileName.d	Fri Sep 10 19:14:09 2010 +0100
+++ b/dmd/FileName.d	Mon Sep 13 23:27:38 2010 +0200
@@ -586,6 +586,8 @@
 	
     static void ensurePathExists(string path)
 	{
+		if (path.length == 0)
+			return;
 		try {
 			mkdirRecurse(path);
 		} catch {