blob: 4ee9207e5f0084c2d97f7ca4c2ce5adc396b9935 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From cee8b0c189dd7b421e2f3e85557fb4ee4fdf4d6c 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 d615e39cf..022c59664 100644
--- a/bin/pax/options.c
+++ b/bin/pax/options.c
@@ -937,7 +937,7 @@ tar_options(int argc, char **argv)
if ((arcname == NULL) || (*arcname == '\0')) {
arcname = getenv("TAPE");
if ((arcname == NULL) || (*arcname == '\0'))
- arcname = _PATH_DEFTAPE;
+ arcname = NULL;
}
if ((arcname[0] == '-') && (arcname[1]== '\0'))
arcname = NULL;
--
2.12.2
|