> Hello again gcc people, > > Ok, after further testing I find all symbolic links are acting like > directories. stat() cannot tell the difference. I'm using slackware > linux 2.17. > ...this has nothing to do with gcc... if the link is pointing to a directory you get that back - use lstat if you need info on the link it selfe . hofrat