From 22f8493388fa6fff8d73a18dfa37ea188b5701b3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 9 Jan 2022 06:52:34 +0100 Subject: Adding upstream version 0.22. Signed-off-by: Daniel Baumann --- common.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'common.cc') diff --git a/common.cc b/common.cc index a493e11..444280d 100644 --- a/common.cc +++ b/common.cc @@ -1,5 +1,5 @@ /* Tarlz - Archiver with multimember lzip compression - Copyright (C) 2013-2021 Antonio Diaz Diaz. + Copyright (C) 2013-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 @@ -108,8 +108,8 @@ unsigned long long parse_octal( const uint8_t * const ptr, const int size ) } -/* 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 readblock( const int fd, uint8_t * const buf, const int size ) { @@ -127,8 +127,8 @@ int readblock( 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 writeblock( const int fd, const uint8_t * const buf, const int size ) { -- cgit v1.2.3