https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213335

Wolfram Schneider <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|tar: INTERNAL ERROR:        |tar: INTERNAL ERROR:
                   |                            |Function
                   |                            |'archive_read_disk_open'
                   |                            |invoked with archive
                   |                            |structure in state
                   |                            |'header', should be in
                   |                            |state 'new/closed': Unknown
                   |                            |error: -1

--- Comment #1 from Wolfram Schneider <[email protected]> ---
I got a strange error message from tar if I try to add file to an archive which
don't exists.

How to repeat:

$ tar cf -  foo bar
tar: foo: Cannot stat: No such file or directory
tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with archive
structure in state 'header', should be in state 'new/closed': Unknown error: -1
tar: Error exit delayed from previous errors.

what I expected (as on MacOS with an older bsdtar)

$ tar cf - foo bar
tar: foo: Cannot stat: No such file or directory
tar: bar: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to