* [gentoo-commits] gentoo-x86 commit in app-shells/zsh/files: zsh-5.0.7-fix-cvs-completion.patch
@ 2014-10-09 16:41 Tim Harder (radhermit)
0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2014-10-09 16:41 UTC (permalink / raw
To: gentoo-commits
radhermit 14/10/09 16:41:56
Added: zsh-5.0.7-fix-cvs-completion.patch
Log:
Fix cvs completion.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path
1.1 app-shells/zsh/files/zsh-5.0.7-fix-cvs-completion.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/zsh/files/zsh-5.0.7-fix-cvs-completion.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/zsh/files/zsh-5.0.7-fix-cvs-completion.patch?rev=1.1&content-type=text/plain
Index: zsh-5.0.7-fix-cvs-completion.patch
===================================================================
http://www.zsh.org/mla/workers/2014/msg01191.html
diff --git a/Completion/Base/Utility/_call_program b/Completion/Base/Utility/_call_program
index b657648..010e094 100644
--- a/Completion/Base/Utility/_call_program
+++ b/Completion/Base/Utility/_call_program
@@ -2,8 +2,8 @@
local tmp err_fd=-1
-if (( ${debug_fd:--1} > 2 ))
-then exec {err_fd}>&2 # debug_fd is saved stderr, 2 is log file
+if (( ${debug_fd:--1} > 2 )) || [[ ! -t 2 ]]
+then exec {err_fd}>&2 # debug_fd is saved stderr, 2 is trace or redirect
else exec {err_fd}>/dev/null
fi
--
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-09 16:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-09 16:41 [gentoo-commits] gentoo-x86 commit in app-shells/zsh/files: zsh-5.0.7-fix-cvs-completion.patch Tim Harder (radhermit)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox