From 20f0f17bdb1b40fe0dd7ac64abfffcff2d29082a Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Mon, 11 Nov 2013 11:06:29 +0000 Subject: [PATCH 1/2] Update .ruby-version --- .ruby-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ruby-version b/.ruby-version index ae6d5b9..77fee73 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -1.9.3-p392 +1.9.3 From ecf6692d0f7f59b675aa0e0fe6f5125feec3304f Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Mon, 9 Dec 2013 11:10:49 +0000 Subject: [PATCH 2/2] [cache_dump] Only dump the hints array if it exists. Fixes a null shared ptr bug. --- caching/metadata_dump.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caching/metadata_dump.cc b/caching/metadata_dump.cc index 735d09b..2f66766 100644 --- a/caching/metadata_dump.cc +++ b/caching/metadata_dump.cc @@ -122,7 +122,7 @@ caching::metadata_dump(metadata::ptr md, emitter::ptr e, bool repair) // walk hints e->begin_hints(); - { + if (md->hints_) { using namespace hint_array_damage; hint_emitter he(e, valid_blocks);