This is the mail archive of the
mailing list for the Cygwin project.
Re: ftell() fails on files in shared folders
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 Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple