Fix aboriginal bug in _tarAddFile(): when complaining that the amount of data

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c06e5bb7bbc6c1fb8e209f0c03da17dbffd55e2c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-08-29T16:31:51Z
Releases: 8.1.10
Fix aboriginal bug in _tarAddFile(): when complaining that the amount of data
read from the temp file didn't match the file length reported by ftello(),
the wrong variable's value was printed, and so the message made no sense.
Clean up a couple other coding infelicities while at it.

Files

PathChange+/−
src/bin/pg_dump/pg_backup_tar.c modified +9 −8