summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2019-03-02 19:10:59 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2019-03-02 19:10:59 (GMT)
commitbbb5d2ccc6a0b37611b4877d8bb1d6b969da7bf2 (patch)
treec7bbc1b9f8c3f168203a77b245721449d50d8e5d /src
parent7ec2458832f757d138a396c0bb1412df5f391c9e (diff)
downloadSCons-bbb5d2ccc6a0b37611b4877d8bb1d6b969da7bf2.zip
SCons-bbb5d2ccc6a0b37611b4877d8bb1d6b969da7bf2.tar.gz
SCons-bbb5d2ccc6a0b37611b4877d8bb1d6b969da7bf2.tar.bz2
Forgot to add current file csig when shortcutting calling changed_content(). Directly calling get_csig() when there is no previous build history
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/Node/FS.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py
index f520af1..61054f3 100644
--- a/src/engine/SCons/Node/FS.py
+++ b/src/engine/SCons/Node/FS.py
@@ -3417,7 +3417,12 @@ class File(Base):
# prev_ni as there aren't any
# shortcut the rest of the logic
if MD5_TIMESTAMP_DEBUG: print("Skipping checks len(dmap)=0")
+
+ # We still need to get the current file's csig
+ # This should be slightly faster than calling self.changed_content(target, new_prev_ni)
+ self.get_csig()
return True
+
new_prev_ni = self._get_previous_signatures(dependency_map)
new = self.changed_timestamp_match(target, new_prev_ni)