Displaying 2 results from an estimated 2 matches for "9e053dd".
2012 Sep 28
0
[PATCH v2] inspection: Fix calls to case_sensitive_path (RHBZ#858126).
...return -1;
+
+ r = guestfs_is_file (g, system_path);
+ if (r == -1)
+ return -1;
+ /* If the system hive doesn't exist, just accept that we cannot
+ * find hostname etc.
+ */
+ if (r == 0)
return 0;
int ret = -1;
diff --git a/tools/virt-win-reg b/tools/virt-win-reg
index 9e053dd..0a1b754 100755
--- a/tools/virt-win-reg
+++ b/tools/virt-win-reg
@@ -516,12 +516,7 @@ sub download_hive
my $hivefile = shift;
my $hiveshortname = shift;
- my $winfile;
- eval { $winfile = $g->case_sensitive_path ($hivefile); };
- if ($@) {
- die __x("virt-win-re...
2012 Sep 28
2
[PATCH 0/2] Fix calls to case_sensitive_path.
Proposed patches to fix
https://bugzilla.redhat.com/show_bug.cgi?id=858126