[PATCH] hook: only redirect stdout if it and stderr are valid files
Martin Geisler
mg at lazybytes.net
Wed Oct 28 21:11:44 UTC 2009
Sune Foldager <cryo at cyanite.org> writes:
> # HG changeset patch
> # User Sune Foldager <cryo at cyanite.org>
> # Date 1256762157 -3600
> # Node ID d83f85808704ed9a589e8428daf55c73ace33067
> # Parent 2ae3758526d873589ab28bb704a2e106df45c773
> hook: only redirect stdout if it and stderr are valid files
Yeah, duplicating negative file descriptors seems like a bad idea...
Thanks for the patch, I've pushed it to crew as revision 852b1f3032d2.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20091028/d10e8d5a/attachment.asc>
More information about the Mercurial-devel
mailing list