Got rid of assert() in libburn
This commit is contained in:
parent
6c3f912561
commit
be991c61d7
@ -512,25 +512,26 @@ ts A61007
|
|||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
35) libburn/sg.c: assert(c->page->bytes > 0);
|
++ 35) libburn/sg.c: assert(c->page->bytes > 0);
|
||||||
sg_issue_command():
|
sg_issue_command():
|
||||||
An SCSI command of direction TO_DRIVE wants to transfer 0 bytes.
|
An SCSI command of direction TO_DRIVE wants to transfer 0 bytes.
|
||||||
|
|
||||||
: Severe Libburn Error
|
: Severe Libburn Error
|
||||||
=> ? leave assert ?
|
=> set command.error = 1 and return 0
|
||||||
=> ? ignore command and issue LIBDAX_MSGS_SEV_WARNING ?
|
|
||||||
=> ? issue LIBDAX_MSGS_SEV_FATAL and shutdown libburn ?
|
ts A61010
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
36) libburn/sg.c: assert(err != -1);
|
++ 36) libburn/sg.c: assert(err != -1);
|
||||||
sg_issue_command():
|
sg_issue_command():
|
||||||
The transfer of the command via ioctl() failed
|
The transfer of the command via ioctl() failed
|
||||||
|
|
||||||
: Severe Transport Level Problem
|
: Severe Transport Level Problem
|
||||||
=> ? leave assert ?
|
=> close drive fd, set idle and released
|
||||||
=> ? ignore command and issue LIBDAX_MSGS_SEV_WARNING ?
|
=> set command.error = 1 and return -1
|
||||||
=> ? issue LIBDAX_MSGS_SEV_FATAL and shutdown libburn ?
|
|
||||||
|
ts A61010
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user