Thread (34 messages) flat view 34 messages, 5 authors, 2016-06-15

Re: [PATCH 1/3] git send-email: avoid leaking directory file descriptors.

From: Jeff King <hidden>
Date: 2016-06-15 22:45:34

On Fri, Oct 31, 2008 at 11:57:10AM +0100, Pierre Habouzit wrote:
+		closedir(DH);
Ugh. This is a great reason to use a scoped variable (like "my $dh),
which will close automatically. Once upon a time I think you _had_ to
use globs for this, but I think it has not been the case for some time
(and I think we only support back to perl 5.6 these days). Can any perl
gurus comment?

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help