This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Why does stat fail for some files?
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 15 Sep 2005 13:08:25 -0700
- Subject: Re: Why does stat fail for some files?
- References: <dgcion$bqp$1@sea.gmane.org>
- Reply-to: cygwin at cygwin dot com
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/