Fix -C option when creating tar files.
authorGlenn L McGrath <bug1@ihug.co.nz>
Thu, 2 Oct 2003 14:33:23 +0000 (14:33 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Thu, 2 Oct 2003 14:33:23 +0000 (14:33 -0000)
commit91b3d460c719606391e24905ee4969524f8b3162
treedb4f4f32046bad67b2fa86dbc3ec0cbdb7208b29
parent9c91e4142d5bbc74a0c4453055537931c1274757
Fix -C option when creating tar files.
Need to chdir after the tar file is opened, so make common tar filename
parsing and send the file descriptor rather than filename to
writeTarFile.
Modify the verboseFlag operation to determine wether to display on
stderr or stdout at display time, simpler than doing it in tar_main.
archival/tar.c