summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordsmith <dsmith>2006-12-11 20:31:53 +0000
committerdsmith <dsmith>2006-12-11 20:31:53 +0000
commit0672c11278edfaf71d4fd3d4f50a08abea817011 (patch)
tree8a0a4423060c24fa2069e2c220f9d13e5994de05
parent4fe3511349db194e62e7351307e716ea40c4ae6e (diff)
downloadsystemtap-steved-0672c11278edfaf71d4fd3d4f50a08abea817011.tar.gz
systemtap-steved-0672c11278edfaf71d4fd3d4f50a08abea817011.tar.xz
systemtap-steved-0672c11278edfaf71d4fd3d4f50a08abea817011.zip
2006-12-11 David Smith <dsmith@redhat.com>
* hash.cxx (find_hash): Fixed a caching bug. Bulk mode (relayfs) status should be figured into the hash since it changes the generated C code.
-rw-r--r--ChangeLog6
-rw-r--r--hash.cxx1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e47b3434..ada30ffb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-12-11 David Smith <dsmith@redhat.com>
+
+ * hash.cxx (find_hash): Fixed a caching bug. Bulk mode (relayfs)
+ status should be figured into the hash since it changes the
+ generated C code.
+
2006-12-08 Josh Stone <joshua.i.stone@intel.com>
PR 3681.
diff --git a/hash.cxx b/hash.cxx
index 26a8ee6f..3c552f2d 100644
--- a/hash.cxx
+++ b/hash.cxx
@@ -94,6 +94,7 @@ find_hash (systemtap_session& s, const string& script)
h.add(s.architecture);
// Hash user-specified arguments (that change the generated module).
+ h.add(s.bulk_mode);
for (unsigned i = 0; i < s.macros.size(); i++)
h.add(s.macros[i]);