Displaying 2 results from an estimated 2 matches for "sw_local".
Did you mean:
s_local
2010 Aug 16
1
[PATCH] Install VirtIO storage and network drivers in Windows
..._path($g, $virtio);
+
+ foreach my $src ($g->ls($virtio)) {
+ my $name = $src;
+ $src = File::Spec->catfile($virtio);
+ my $dst = File::Spec->catfile($driverdir, $name);
+ $g->cp_a($src, $dst);
+ }
+
+ # Locate and download the SOFTWARE hive
+ my $sw_local = File::Spec->catfile($tmpdir, 'software');
+ my $sw_guest = $g->case_sensitive_path('/windows/system32/config/software');
+
+ $g->download($sw_guest, $sw_local);
+
+ # Open the registry hive.
+ my $h = Win::Hivex->open($sw_local, write => 1)
+ or d...
2010 Aug 13
2
[PATCH] Add debug output to hivex_close
---
lib/hivex.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/hivex.c b/lib/hivex.c
index 13d7556..8a774de 100644
--- a/lib/hivex.c
+++ b/lib/hivex.c
@@ -543,6 +543,9 @@ hivex_close (hive_h *h)
free (h->filename);
free (h);
+ if (h->msglvl >= 1)
+ fprintf (stderr, "hivex_close\n");
+
return r;
}
--
1.7.2.1