Allowed -dummy burns with stdio-drives (because /dev/null is no block device)
This commit is contained in:
parent
8c8895c692
commit
18192de9df
@ -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_tao = 2;
|
||||
o->advised_write_mode = BURN_WRITE_TAO;
|
||||
o->might_simulate = 1;
|
||||
} else if (s != BURN_DISC_BLANK && s != BURN_DISC_APPENDABLE) {
|
||||
return 0;
|
||||
} 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;
|
||||
}
|
||||
t->sourcecount += ret;
|
||||
if (!o->simulate)
|
||||
ret = burn_stdio_write(fd, buf, ret, d, 0);
|
||||
if (ret <= 0)
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user