Hello
There's obvious bug when tar uses both
--index-file=tar.log
and
--file=-

the archive is created into the tar.log file while
log goes to stderr. 

The related code is (buffer.c):


if (index_file_name)
(...)
stdlis = freopen (index_file_name, "w", stdout);


and then


else if (strcmp (archive_name_array[0], "-") == 0)
(...)
archive = STDOUT_FILENO;
stdlis = stderr;


I don't know how to fix it without breaking something else :)
regards
-- 
Marcin Gryszkalis, PGP 0x9F183FA3 
jabber jid:[EMAIL PROTECTED], gg:2532994
http://the.fork.pl


_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to