Mikael wrote: > Hello, I'm doing homework and I'm having some problems with stat() failing. > Consider the following C program:
Your program contains a logic flaw that causes it to work only if the path specified is the CWD. Since it's homework (!!) you'll have to figure it out for yourself. Brian -- 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/