diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-02-21 16:29:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-02-21 16:29:07 +0000 |
commit | 3b6a991863be64d009e1b700561526e2ecfcd98d (patch) | |
tree | 4d7038cdde9ffce40eaa9280d3f79eaa319044b4 /decompress.cc | |
parent | Adding upstream version 1.9. (diff) | |
download | plzip-a211924108a089de878b70a619e42a96d5686852.tar.xz plzip-a211924108a089de878b70a619e42a96d5686852.zip |
Adding upstream version 1.10.upstream/1.10
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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 ) |