Displaying 2 results from an estimated 2 matches for "mkdiskimage_patched_02".
Did you mean:
mkdiskimage_patched_01
2014 Jan 30
0
[PATCH 03/05] utils/mkdiskimage.in: Replaced the partly linux-specific file size determination by a sysseek() experiment
utils/mkdiskimage.in: Replaced the partly linux-specific file size determination by a sysseek() experiment.
--- utils/mkdiskimage_patched_02.in 2014-01-30 20:49:46.000000000 +0100
+++ utils/mkdiskimage.in 2014-01-30 20:50:59.000000000 +0100
@@ -19,6 +19,7 @@
use bytes;
use integer;
use Fcntl;
+use Fcntl qw(:seek);
use Errno;
use Cwd;
use IO::Handle; # For flush()
@@ -116,15 +117,8 @@ if ( $c == 0 && $file ne '' )...
2014 Jan 30
2
[PATCH 02/05] utils/mkdiskimage.in: With option -s: Avoid zeroizing the partition even if truncate() failed
utils/mkdiskimage.in: With option -s: Avoid zeroizing the partition even if truncate() failed.
--- utils/mkdiskimage_patched_01.in 2014-01-30 20:43:02.000000000 +0100
+++ utils/mkdiskimage.in 2014-01-30 20:45:09.000000000 +0100
@@ -217,8 +217,11 @@ print OUTPUT "\x55\xaa";
$totalsize = $c*$h*$s;
$tracks = $c*$h;
-# If -s is given, try to simply use truncate...
-unless