From: Robin Rosenberg Date: Sun, 02 Sep 2007 22:04:33 GMT Subject: Re: [PATCH] Add a new lstat implementation based on Win32 API, and make stat use that implementation too. Message-ID: <200709030004.33963.robin.rosenberg.lists@dewire.com> In-Reply-To: <20070902213856.GB2756@steel.home> söndag 02 september 2007 skrev Alex Riesen: > Robin Rosenberg, Sun, Sep 02, 2007 22:27:59 +0200: > > söndag 02 september 2007 skrev Marius Storm-Olsen: > > > (Also, since Windows doesn't really handle symlinks, it's fine that stat just uses lstat) > > > > It does now: See http://msdn2.microsoft.com/en-us/library/aa363866.aspx > > > > Except they fscked it up, as usual for microsoft: it 's got a > mandatory argument specifying what the target should be, file or > directory. And they don't tell what happens when the argument is wrong > or the target does not exists. Typical, too. Why would this API be an exception? -- robin