Browse Source

fix to the fix

David Rose 19 years ago
parent
commit
29f1bb30c8
1 changed files with 3 additions and 1 deletions
  1. 3 1
      dtool/src/dtoolutil/filename.cxx

+ 3 - 1
dtool/src/dtoolutil/filename.cxx

@@ -1846,7 +1846,9 @@ make_dir() const {
     path = get_dirname();
   }
 
-  path.standardize();
+  if (path.empty()) {
+    return false;
+  }
   string dirname = path.get_fullpath();
 
   // First, make sure everything up to the last path is known.  We