Adjusted ds_read_block() to inofficial libisofs expectations

This commit is contained in:
Thomas Schmitt 2008-05-02 07:25:50 +00:00
parent 572c83ade4
commit 2121a50e45
2 changed files with 3 additions and 5 deletions

View File

@ -135,10 +135,8 @@ int ds_read_block(IsoDataSource *src, uint32_t lba, uint8_t *buffer)
/* It is not required by the specs of libisofs but implicitely assumed /* It is not required by the specs of libisofs but implicitely assumed
... ...
But it is not possible to ignore FAILURE. So the original libisofs But it is not possible to ignore FAILURE.
error code is patched to deliver MISHAP in order to give a minimal libisofs insists in original error codes, i.e. libisoburn cannot
choice.
libisofs insists in original error codes, so libisoburn cannot
change severity FAILURE associated with ISO_FILE_READ_ERROR. change severity FAILURE associated with ISO_FILE_READ_ERROR.
So ISO_FILE_READ_ERROR is not an option and libisoburn has to So ISO_FILE_READ_ERROR is not an option and libisoburn has to
misuse ISO_FILE_CANT_WRITE, which is actually for image generation misuse ISO_FILE_CANT_WRITE, which is actually for image generation

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.05.01.174110" #define Xorriso_timestamP "2008.05.02.072505"