Bug fix: with non-Linux adapters there were 0 readable bytes on block devices
This commit is contained in:
parent
3891aae2a8
commit
42c4ad98c7
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2009.12.30.201025"
|
||||
#define Cdrskin_timestamP "2010.01.01.124042"
|
||||
|
@ -1340,7 +1340,8 @@ int burn_drive_grab_dummy(struct burn_drive_info *drive_infos[], char *fname)
|
||||
ret = burn_os_stdio_capacity(fname,
|
||||
&read_size);
|
||||
if (ret <= 0)
|
||||
read_size = -1;
|
||||
read_size = (off_t) 0x7ffffff0 *
|
||||
(off_t) 2048;
|
||||
}
|
||||
}
|
||||
if (ret == -1 || S_ISBLK(stbuf.st_mode) ||
|
||||
|
Loading…
Reference in New Issue
Block a user