Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tar: don't read stdin by default (#575)
* tar: don't read stdin by default * "perl tar" with no argument would read stdin but this is not desirable * GNU tar prints usage in this case, and OpenBSD tar reads default tape device * Make file option (-f) mandatory; follow OpenBSD version where "tar -f -" indicates an archive is read from stdin * tar: avoid die() and exit directly * Remove unused variable $dh * Delete commented code * Introduce symbolic exit codes and replace calls to die with custom fatal() function
- Loading branch information
Showing
1 changed file
with
34 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters