Re: [PATCH] Add a new lstat implementation based on Win32 API, and make stat use that implementation too.
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Sep 2, 2007, 21:38 UTC
- Message-ID
- <20070902213856.GB2756@steel.home>
- In-Reply-To
- <200709022228.00733.robin.rosenberg.lists@dewire.com>
Robin Rosenberg, Sun, Sep 02, 2007 22:27:59 +0200:
Show 5 quoted lines
> 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.