diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 09:32:03 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 09:32:03 +0000 |
commit | 415e3e6d437f5cadbf4d7c3727e0bb1d0106b437 (patch) | |
tree | afb6be0c266301843a8ff7e0ac10c452394de3c0 /decoder.cc | |
parent | Adding upstream version 1.13~rc2. (diff) | |
download | lzip-415e3e6d437f5cadbf4d7c3727e0bb1d0106b437.tar.xz lzip-415e3e6d437f5cadbf4d7c3727e0bb1d0106b437.zip |
Adding upstream version 1.13.upstream/1.13
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'decoder.cc')
-rw-r--r-- | decoder.cc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -34,7 +34,7 @@ const CRC32 crc32; -void Pretty_print::operator()( const char * const msg ) const throw() +void Pretty_print::operator()( const char * const msg ) const { if( verbosity_ >= 0 ) { @@ -54,7 +54,7 @@ void Pretty_print::operator()( const char * const msg ) const throw() // Returns the number of bytes really read. // If (returned value < size) and (errno == 0), means EOF was reached. // -int readblock( const int fd, uint8_t * const buf, const int size ) throw() +int readblock( const int fd, uint8_t * const buf, const int size ) { int rest = size; errno = 0; @@ -73,7 +73,7 @@ int readblock( const int fd, uint8_t * const buf, const int size ) throw() // Returns the number of bytes really written. // If (returned value < size), it is always an error. // -int writeblock( const int fd, const uint8_t * const buf, const int size ) throw() +int writeblock( const int fd, const uint8_t * const buf, const int size ) { int rest = size; errno = 0; @@ -124,7 +124,7 @@ bool LZ_decoder::verify_trailer( const Pretty_print & pp ) const const long long member_size = range_decoder.member_position() + trailer_size; bool error = false; - const int size = range_decoder.read( trailer.data, trailer_size ); + const int size = range_decoder.read_data( trailer.data, trailer_size ); if( size < trailer_size ) { error = true; |