This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: symbolic links & travirse the tree


> 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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]