Fix aboriginal bug in _tarAddFile(): when complaining that the amount of data
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Aug 2007 16:32:11 +0000 (16:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Aug 2007 16:32:11 +0000 (16:32 +0000)
commite5ab3858be155be9823b94a37f7f9c4b1b29024b
tree48984b5325dac7dbb8ec39dcf9f30083a392ef3a
parent3d8cebba790369753549327d0237120a3f22ec0d
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.
src/bin/pg_dump/pg_backup_tar.c