From: Andy Whitcroft <apw@shadowen.org>
To: moreau francis <francis_moreau2000@yahoo.fr>
Cc: git@vger.kernel.org
Subject: Re: open(2) vs fopen(3)
Date: Thu, 14 Sep 2006 11:52:59 +0100 [thread overview]
Message-ID: <4509348B.3060907@shadowen.org> (raw)
In-Reply-To: <20060914091513.19826.qmail@web25812.mail.ukl.yahoo.com>
moreau francis wrote:
> Hi GIT folks,
>
> I'm reading git source code and falling on this stupid question:
> Why sometime open(2) is used and other time fopen(3) is
> prefered. I'm sorry for this dump question but I have no clue.
It looks very much from a quick random sampling, that open is used where
we are going to mmap the file for quick access. fopen otherwise.
-apw
next prev parent reply other threads:[~2006-09-14 10:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-14 9:15 open(2) vs fopen(3) moreau francis
2006-09-14 10:52 ` Andy Whitcroft [this message]
2006-09-14 15:46 ` Linus Torvalds
2006-09-14 16:37 ` Junio C Hamano
2006-09-14 17:31 ` Linus Torvalds
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=4509348B.3060907@shadowen.org \
--to=apw@shadowen.org \
--cc=francis_moreau2000@yahoo.fr \
--cc=git@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.