in reply to Glob and lstat

I see some potential stat calls here and possibly in this area.

Not being particularly fresh on my C/XS skills, and having other things that need doing, I stopped looking there.

--MidLifeXis

Replies are listed 'Best First'.
Re^2: Glob and lstat
by JediWizard (Deacon) on Jul 27, 2012 at 20:29 UTC

    Interesting. Forgive me, my C is a little rusty these days... it looks to me like the lstat call is there to facilitate the "GLOB_MARK" functionality, which causes glob to append a / to the end of any returned items which are directories. Unfortunately, it also appears that the lstat operation is performed even if the flag in question was not in fact specified. Oh well, it is good to learn now things.


    They say that time changes things, but you actually have to change them yourself.

    —Andy Warhol