Re: [PATCH] Add a new lstat implementation based on Win32 API, and make stat use that implementation too.
söndag 02 september 2007 skrev Alex Riesen:
Show 11 quoted lines
> 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