summaryrefslogtreecommitdiffstats
path: root/common.cc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-09 05:52:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-09 05:52:34 +0000
commit22f8493388fa6fff8d73a18dfa37ea188b5701b3 (patch)
treecba453e00e6dbdf54474356475fed21284e648cc /common.cc
parentAdding upstream version 0.21. (diff)
downloadtarlz-22f8493388fa6fff8d73a18dfa37ea188b5701b3.tar.xz
tarlz-22f8493388fa6fff8d73a18dfa37ea188b5701b3.zip
Adding upstream version 0.22.upstream/0.22
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'common.cc')
-rw-r--r--common.cc10
1 files changed, 5 insertions, 5 deletions
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 )
{