delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/17/08:31:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: problem to read files
Date: Fri, 17 Sep 2004 13:27:48 +0100
MIME-Version: 1.0
In-Reply-To: <BAY16-F42iz2Mb1s7nl00000f4a@hotmail.com>
Message-ID: <NUTMEGxbYiMCIqtQvAa0000004f@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 17 Sep 2004 12:27:48.0328 (UTC) FILETIME=[BDF48680:01C49CB1]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i8HCVAHK025327

> -----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
(http://www.sysinternals.com/ntw2k/source/filemon.shtml)


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019