Displaying 2 results from an estimated 2 matches for "e98c59f".
2009 Apr 24
1
[PATCH 1/2] Support iso images over 2GB in isohybrid
...t; limits integers to 2^31-1 on 32 bits, which makes
imgsize to be -1 on DVD images
Signed-off-by: Pascal Terjan <pterjan at mandriva.com>
---
utils/isohybrid.in | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/utils/isohybrid.in b/utils/isohybrid.in
index 4671036..e98c59f 100644
--- a/utils/isohybrid.in
+++ b/utils/isohybrid.in
@@ -17,7 +17,6 @@
#
use bytes;
-use integer;
use Fcntl;
# Use this fake geometry (zipdrive-style...)
@@ -92,7 +91,7 @@ $cylsize = $h*$s*512;
$frac = $imgsize % $cylsize;
$padding = ($frac > 0) ? $cylsize - $frac : 0;
$imgsize +=...
2009 Apr 24
0
[PATCH 2/2] Preserve MBR id in isohybrid
...l code to support setting the id using non
existing to_int, but no way to use it.
Signed-off-by: Pascal Terjan <pterjan at mandriva.com>
---
utils/isohybrid.in | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/utils/isohybrid.in b/utils/isohybrid.in
index e98c59f..b6c2b6f 100644
--- a/utils/isohybrid.in
+++ b/utils/isohybrid.in
@@ -100,6 +100,13 @@ if ($c > 1024) {
$cc = $c;
}
+# Preserve id when run again
+seek(FILE, 440, SEEK_SET) or die "$0: $file: $!\n";
+read(FILE, $id, 4);
+if ($id eq "\x00\x00\x00\x00") {
+ $id = pac...