summaryrefslogtreecommitdiffstats
path: root/archive_reader.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 /archive_reader.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 'archive_reader.cc')
-rw-r--r--archive_reader.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/archive_reader.cc b/archive_reader.cc
index 5e0862e..a146156 100644
--- a/archive_reader.cc
+++ b/archive_reader.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
@@ -30,8 +30,8 @@
namespace {
-/* 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 )
@@ -50,8 +50,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 )