From: Peter Hagervall <hager@cs.umu.se>
To: torvalds@osdl.org, pasky@ucw.cz, linux-kernel@vger.kernel.org
Subject: [PATCH] Possible fix for git
Date: Wed, 13 Apr 2005 13:03:21 +0200 [thread overview]
Message-ID: <20050413110320.GF4849@peppar.cs.umu.se> (raw)
I noticed earlier today that I ran out of file descriptors when doing a
'git commit'. As far as I can see the following patch ought to take
care of the problem.
Signed-off-by: Peter Hagervall <hager@cs.umu.se>
---
--- read-cache.c
+++ read-cache.c 2005-04-13 12:51:52.000000000 +0200
@@ -257,6 +257,7 @@
return error("SHA1 collision detected!"
" This is bad, bad, BAD!\a\n");
#endif
+ close(fd);
return 0;
}
write(fd, buf, size);
reply other threads:[~2005-04-13 11:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050413110320.GF4849@peppar.cs.umu.se \
--to=hager@cs.umu.se \
--cc=linux-kernel@vger.kernel.org \
--cc=pasky@ucw.cz \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®