X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 19 Mar 2012 10:14:08 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: ftell() fails on files in shared folders Message-ID: <20120319091408.GA30682@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20120318155829 DOT GA21914 AT calimero DOT vinschen DOT de> <20120318191043 DOT GA32177 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mar 18 23:41, Yuri Gribov wrote: > > No.  In my examples ./test.bin and > > //this-machine/c\$/cygwin/home/corinna/test.bin refer to the same file, > > //other-machine/c\$/cygwin/home/corinna/test.bin is a file on another > > machine. > > Hm, I'm out of clues then. These machines have very simple setups and > I did not find any app from Cygwin BLODA list. > > Do you think it makes sense to try the latest Cygwin? Mine is 2 months > old but I don't expect basic IO to change that often... No, it doesn't change that often. 1.7.9 is actually a year old, though. Updating *might* help. Btw., assuming you call lseek(fileno(p), SEEK_CUR, 0) rather than ftell(p), what position does it return? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple