This is the mail archive of the
mailing list for the Cygwin project.
RE: problem to read files
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 17 Sep 2004 13:27:48 +0100
- Subject: RE: problem to read files
> -----Original Message-----
> From: cygwin-owner On Behalf Of the_ram_man vädursmannen
> Sent: 17 September 2004 07:15
> Maybe I´m at the wrong mailinglist here but this is my problem.
> I wrote a c-applicaton using cygwin and gcc. I used text files, in a
> subdirectory, to fed input into my application. This all
> worked fine untill
> I desided to update cygwin. Then suddenly the application
> wasn´t able to
> read the input text files anymore, claiming that they doesn´t exist.
Your application probably has a bug. Cut it down to a dead simple
testcase: just open a single file, read something from it, and close it,
printing return values and errno after each operation. If that works, it's
not a cygwin bug. If that doesn't, post the testcase and people can try to
reproduce it. You might also be able to deduce what's happening by watching
file activity while your application runs and fails with a utility such as
filemon from sysinternals
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html