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 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:
Problem reports:

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