diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-02-21 16:29:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-02-21 16:29:27 +0000 |
commit | 451f9d3a2ac6eb99b8b1f1dd693c16d22deecfe7 (patch) | |
tree | ec8a9a294179e598627da752b262fdde56b78be5 /decompress.cc | |
parent | Releasing debian version 1.9-3. (diff) | |
download | plzip-451f9d3a2ac6eb99b8b1f1dd693c16d22deecfe7.tar.xz plzip-451f9d3a2ac6eb99b8b1f1dd693c16d22deecfe7.zip |
Merging upstream version 1.10.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'decompress.cc')
-rw-r--r-- | decompress.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/decompress.cc b/decompress.cc index 6765582..291e5eb 100644 --- a/decompress.cc +++ b/decompress.cc @@ -1,6 +1,6 @@ /* Plzip - Massively parallel implementation of lzip Copyright (C) 2009 Laszlo Ersek. - Copyright (C) 2009-2021 Antonio Diaz Diaz. + Copyright (C) 2009-2022 Antonio Diaz Diaz. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ /* This code is based on a patch by Hannes Domani, <ssbssa@yahoo.de> to make possible compiling plzip under MS Windows (with MINGW compiler). */ -#if defined(__MSVCRT__) && defined(WITH_MINGW) +#if defined __MSVCRT__ && defined WITH_MINGW #include <windows.h> #warning "Parallel I/O is not guaranteed to work on Windows." @@ -76,8 +76,8 @@ ssize_t pwrite( int fd, const void *buf, size_t count, uint64_t offset ) #endif // __MSVCRT__ -/* Returns the number of bytes really read. - If (returned value < size) and (errno == 0), means EOF was reached. +/* Return the number of bytes really read. + If (value returned < size) and (errno == 0), means EOF was reached. */ int preadblock( const int fd, uint8_t * const buf, const int size, const long long pos ) @@ -96,8 +96,8 @@ int preadblock( const int fd, uint8_t * const buf, const int size, } -/* Returns the number of bytes really written. - If (returned value < size), it is always an error. +/* Return the number of bytes really written. + If (value returned < size), it is always an error. */ int pwriteblock( const int fd, const uint8_t * const buf, const int size, const long long pos ) |