Allowed -dummy burns with stdio-drives (because /dev/null is no block device)
This commit is contained in:
parent
df382b3f06
commit
40cb77d953
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2007.09.08.102620"
|
#define Cdrskin_timestamP "2007.09.08.132058"
|
||||||
|
@ -1972,6 +1972,7 @@ int burn_disc_get_multi_caps(struct burn_drive *d, enum burn_write_types wt,
|
|||||||
o->might_do_sao = 4;
|
o->might_do_sao = 4;
|
||||||
o->might_do_tao = 2;
|
o->might_do_tao = 2;
|
||||||
o->advised_write_mode = BURN_WRITE_TAO;
|
o->advised_write_mode = BURN_WRITE_TAO;
|
||||||
|
o->might_simulate = 1;
|
||||||
} else if (s != BURN_DISC_BLANK && s != BURN_DISC_APPENDABLE) {
|
} else if (s != BURN_DISC_BLANK && s != BURN_DISC_APPENDABLE) {
|
||||||
return 0;
|
return 0;
|
||||||
} else if (s == BURN_DISC_APPENDABLE &&
|
} else if (s == BURN_DISC_APPENDABLE &&
|
||||||
|
@ -1868,6 +1868,7 @@ int burn_stdio_write_track(struct burn_write_opts *o, struct burn_session *s,
|
|||||||
ret = bufsize;
|
ret = bufsize;
|
||||||
}
|
}
|
||||||
t->sourcecount += ret;
|
t->sourcecount += ret;
|
||||||
|
if (!o->simulate)
|
||||||
ret = burn_stdio_write(fd, buf, ret, d, 0);
|
ret = burn_stdio_write(fd, buf, ret, d, 0);
|
||||||
if (ret <= 0)
|
if (ret <= 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user