OSDN Git Service

Fix aboriginal bug in _tarAddFile(): when complaining that the amount of data
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Aug 2007 16:31:36 +0000 (16:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Aug 2007 16:31:36 +0000 (16:31 +0000)
commit3b5f5d9873d4b14063c647e0138c096b201bd330
tree46f9e8b666523245f35dd8071f60f282ad7757b8
parentc7b6593042fb304555c45ce72142aae3e5101bd2
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