From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ftell() fails on files in shared folders
Date: Wed, 21 Mar 2012 09:39:00 -0000 [thread overview]
Message-ID: <20120321093859.GL18032@calimero.vinschen.de> (raw)
In-Reply-To: <CAJOtW+5TNZDByDbhZceKxn0QnQ76q505OL7HFw8m1MfGtsipbQ@mail.gmail.com>
On Mar 21 06:56, Yuri Gribov wrote:
> Corinna,
>
> > the problem is obviously that your remote filesystem returns 0 as the current file size.
>
> Which WinAPI does that? I can try searching it.
I don't understand. What do you want to search? It's the GetFileSize
or GetFileSizeEx function on the Win32 API level, or the
GetFileInformationByHandleEx function with FileStandardInfo info class
sarting with Vista, or it's the native NT equivalent
NtQueryInformationFile function with the FileStandardInformation info
class. Cygwin uses the latter. But, as I said, it works fine for me
on Windows 2008 as well. Is it possible that some kind of virus checker
influences the result?
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
next prev parent reply other threads:[~2012-03-21 9:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-18 14:55 Yuri Gribov
2012-03-18 15:59 ` Corinna Vinschen
2012-03-18 16:41 ` Yuri Gribov
2012-03-18 16:54 ` Yuri Gribov
2012-03-18 19:11 ` Corinna Vinschen
2012-03-18 19:42 ` Yuri Gribov
2012-03-19 9:15 ` Corinna Vinschen
2012-03-20 9:48 ` Yuri Gribov
2012-03-20 12:10 ` Corinna Vinschen
2012-03-20 20:12 ` Yuri Gribov
2012-03-20 20:50 ` Corinna Vinschen
2012-03-21 2:56 ` Yuri Gribov
2012-03-21 9:39 ` Corinna Vinschen [this message]
2012-03-21 17:02 ` Yuri Gribov
2012-03-22 9:48 ` Corinna Vinschen
2012-03-22 10:35 ` Yuri Gribov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120321093859.GL18032@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).