From: Nazri Ramliy <ayiehere@gmail.com>
To: "Magnus Bäck" <baeck@swipnet.se>, git@vger.kernel.org
Subject: Re: Implementing stat() with FindFirstFile()
Date: Wed, 1 Apr 2009 17:28:36 +0800 [thread overview]
Message-ID: <544dda350904010228q93c7425m7ba12e2286617b3d@mail.gmail.com> (raw)
In-Reply-To: <20090321154738.GA27249@jeeves.jpl.local>
On Sat, Mar 21, 2009 at 11:47 PM, Magnus Bäck <baeck@swipnet.se> wrote:
> Is there any reason why compat/win32.h uses GetFileAttributesEx()
> instead of FindFirstFile() to implement the stat() call on Windows?
This blog post explains checking file existence using GetFileAttributes(Ex) vs.
FindFirstFile quite nicely:
http://blogs.msdn.com/oldnewthing/archive/2007/10/23/5612082.aspx
nazri.
prev parent reply other threads:[~2009-04-01 9:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-21 15:47 Implementing stat() with FindFirstFile() Magnus Bäck
2009-03-21 19:55 ` Johannes Sixt
2009-03-24 21:54 ` Magnus Bäck
2009-03-26 7:15 ` Johannes Sixt
2009-03-26 21:39 ` Magnus Bäck
2009-03-27 2:25 ` Johannes Schindelin
2009-03-29 22:48 ` Magnus Bäck
2009-03-30 0:52 ` Johannes Schindelin
2009-03-30 5:11 ` Björn Steinbrink
2009-03-30 22:07 ` Heiko Voigt
2009-03-30 23:29 ` Johannes Schindelin
2009-03-31 20:32 ` Magnus Bäck
2009-03-31 20:49 ` Johannes Schindelin
2009-04-01 9:28 ` Nazri Ramliy [this message]
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=544dda350904010228q93c7425m7ba12e2286617b3d@mail.gmail.com \
--to=ayiehere@gmail.com \
--cc=baeck@swipnet.se \
--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 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).