Works for me and may work fo others who need to identify whether a
directory entry is link to a file or a directory.
I don't like it myself. Time permitting, I will create lstat() function
wrapper for MinGW.
Hans
On Mon, 2012-02-20 at 09:35 -0500, Earnie Boyd wrote:
> On Sat, Feb 18, 2012 at 7:58 PM, Linux <
linux@...> wrote:
> > I noticed that the lstat() and lstat64() functions and S_ISLNK flag are
> > not available with MinGW.
> >
>
> Yes, Windows does not provide the functions.
>
> >
> > I used this workaround:
> >
>
> I wouldn't call it a work around. It is more the way to do it on Windows.
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d_______________________________________________
MinGW-users mailing list
MinGW-users@...
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-usersAlso: mailto:
mingw-users-request@...?subject=unsubscribe