public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* symbolic links & travirse the tree
@ 2002-07-27 18:26 danny
  2002-07-28  0:03 ` Der Herr Hofrat
  0 siblings, 1 reply; 2+ messages in thread
From: danny @ 2002-07-27 18:26 UTC (permalink / raw)
  To: gcc gnu

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.

Any ideas?

Thanks
  Danny



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: symbolic links & travirse the tree
  2002-07-27 18:26 symbolic links & travirse the tree danny
@ 2002-07-28  0:03 ` Der Herr Hofrat
  0 siblings, 0 replies; 2+ messages in thread
From: Der Herr Hofrat @ 2002-07-28  0:03 UTC (permalink / raw)
  To: danny; +Cc: gcc gnu

> 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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-28  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-27 18:26 symbolic links & travirse the tree danny
2002-07-28  0:03 ` Der Herr Hofrat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).