summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/SCons/Node/FS.py2
-rw-r--r--src/engine/SCons/dblite.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py
index ca7bd28..dbe7749 100644
--- a/src/engine/SCons/Node/FS.py
+++ b/src/engine/SCons/Node/FS.py
@@ -908,7 +908,7 @@ class FS(LocalFS):
except KeyError:
if not create:
raise SCons.Errors.UserError
- directory = RootDir(drive, self)
+ directory = RootDir(_my_normcase(drive), self)
self.Root[drive] = directory
if not path_orig:
diff --git a/src/engine/SCons/dblite.py b/src/engine/SCons/dblite.py
index 637e503..18a1202 100644
--- a/src/engine/SCons/dblite.py
+++ b/src/engine/SCons/dblite.py
@@ -64,7 +64,7 @@ class dblite:
if (len(p) > 0):
try:
self._dict = cPickle.loads(p)
- except cPickle.UnpicklingError:
+ except (cPickle.UnpicklingError, EOFError):
if (ignore_corrupt_dbfiles == 0): raise
if (ignore_corrupt_dbfiles == 1):
corruption_warning(self._file_name)