]> granicus.if.org Git - postgresql/commit
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)
commit85738a50ea831be6ffc75f328d18d0f125de9db7
tree53420f7c9eec3ec6bda2e90d568cb1a4a5071df2
parent10a81b3f2faccd319d671979ff39042778dd6274
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