projects
/
debian
/
tar
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c0ba66
)
(sys_exec_info_script): Store the inter-communication fd in the environment variable...
author
Sergey Poznyakoff
<gray@gnu.org.ua>
Tue, 3 Apr 2007 21:38:00 +0000
(21:38 +0000)
committer
Sergey Poznyakoff
<gray@gnu.org.ua>
Tue, 3 Apr 2007 21:38:00 +0000
(21:38 +0000)
src/system.c
patch
|
blob
|
history
diff --git
a/src/system.c
b/src/system.c
index 612951bf98d72556dc7a581389feff13f07a73be..e2d043105f837c09518266ec67be956099df1740 100644
(file)
--- a/
src/system.c
+++ b/
src/system.c
@@
-826,9
+826,9
@@
sys_exec_info_script (const char **archive_name, int volume_number)
setenv ("TAR_FORMAT",
archive_format_string (current_format == DEFAULT_FORMAT ?
archive_format : current_format), 1);
+ setenv ("TAR_FD", STRINGIFY_BIGINT (p[PWRITE], uintbuf), 1);
xclose (p[PREAD]);
- xdup2 (p[PWRITE], 3);
argv[0] = "/bin/sh";
argv[1] = "-c";