This is the mail archive of the cygwin mailing list for the Cygwin 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: Problem with stat


Hi,

Eric Blake wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Erich Dollansky on 6/26/2007 6:57 AM:
   if (stat ("/usr/X11R6/share/doc/lesstif-0.94.4/html/Lessdox", &Stat)
== 0)
   {
      printf ("Mode: %lX\n", (unsigned long) Stat.st_mode);
      if (S_ISDIR (Stat.st_mode))
         printf ("Directory flag is set.\n");

The result is the same as before.

is is right that the link is pointing to itself resulting in an endless loop?

!<symlink>/usr/X11R6/share/doc/lesstif-0.94.4/html

Or is it an installation error?

Erich

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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