From: Alex Riesen <raa.lkml@gmail.com>
To: Morten Welinder <mwelinder@gmail.com>
Cc: Junio C Hamano <junkio@cox.net>, git@vger.kernel.org
Subject: Re: use result of open(2) to check for presence
Date: Thu, 5 Jan 2006 16:12:22 +0100 [thread overview]
Message-ID: <81b0412b0601050712q4c2123f7i8e9190c3b75b6fda@mail.gmail.com> (raw)
In-Reply-To: <118833cc0601050648t17f68bcch8fd7c541585e965c@mail.gmail.com>
On 1/5/06, Morten Welinder <mwelinder@gmail.com> wrote:
> Neat, but perhaps you should check the fstat return code.
> It actually can fail, for example if the filesize cannot be represented in the
> structure because it is too big.
Yes, of course. It will be added along with the missing test for mmap
returning MAP_FAILED. Sometime.
Sarcasm aside, how do you get such a situation?
next prev parent reply other threads:[~2006-01-05 15:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-05 11:43 use result of open(2) to check for presence Alex Riesen
2006-01-05 14:48 ` Morten Welinder
2006-01-05 15:12 ` Alex Riesen [this message]
2006-01-05 16:45 ` Morten Welinder
2006-01-05 18:07 ` Alex Riesen
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=81b0412b0601050712q4c2123f7i8e9190c3b75b6fda@mail.gmail.com \
--to=raa.lkml@gmail.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=mwelinder@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).