catch ESPIPE from ftell () on stream
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 4 Apr 2017 08:00:17 +0000 (10:00 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
commit47d2267944971cbc63eebd065691104c1176ed56
tree319ec954e351254462acc4b9e01bc0b0ae5622b3
parent70ad9458193bd5c57c8d61f93f38a7cdb331df7b
catch ESPIPE from ftell () on stream

The result is only used for status output so defaulting to -1 for
stdin doesn’t hurt. All functional uses of the current position
rely on the value of total_read.
deltatar/crypto.py