diff options
| author | Michael Forney <mforney@mforney.org> | 2025-04-29 16:35:44 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2025-04-29 18:08:11 -0700 |
| commit | 06624ed7867c902e0ca44b5ca381e9d4dc157e14 (patch) | |
| tree | b599a63619db2f17915395b1b7c01025a6181159 /pkg/openbsd/patch/0004-tar-Default-to-stdin.patch | |
| parent | f14538ac33402854509d46e1a7bdaae091c2fb80 (diff) | |
openbsd: Update to 7.7
Diffstat (limited to 'pkg/openbsd/patch/0004-tar-Default-to-stdin.patch')
| -rw-r--r-- | pkg/openbsd/patch/0004-tar-Default-to-stdin.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/openbsd/patch/0004-tar-Default-to-stdin.patch b/pkg/openbsd/patch/0004-tar-Default-to-stdin.patch new file mode 100644 index 00000000..c1aaab7f --- /dev/null +++ b/pkg/openbsd/patch/0004-tar-Default-to-stdin.patch @@ -0,0 +1,25 @@ +From 7f16d268831910c1d219b8a4f38b364bba34c710 Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Mon, 18 Apr 2016 01:16:12 -0700 +Subject: [PATCH] tar: Default to stdin + +--- + bin/pax/options.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bin/pax/options.c b/bin/pax/options.c +index cd3f5f6285c..9dd2ea0ce25 100644 +--- a/bin/pax/options.c ++++ b/bin/pax/options.c +@@ -968,7 +968,7 @@ tar_options(int argc, char **argv) + if ((arcname == NULL) || (*arcname == '\0')) { + arcname = getenv("TAPE"); + if ((arcname == NULL) || (*arcname == '\0')) +- arcname = _PATH_DEFTAPE; ++ arcname = "-"; + } + if ((arcname[0] == '-') && (arcname[1]== '\0')) + arcname = NULL; +-- +2.49.0 + |
