X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <CAJOtW+4fMX_EEOBWhn0d6VPU7oq+k_Rx1CGYe4O16ccsNRV4ZA@mail.gmail.com>
References: <CAJOtW+5qwWvN84mJJ=NR3TgZE5s7jz8jpLTaN=+h1hv5Ob29XQ@mail.gmail.com>	<20120318155829.GA21914@calimero.vinschen.de>	<CAJOtW+4fMX_EEOBWhn0d6VPU7oq+k_Rx1CGYe4O16ccsNRV4ZA@mail.gmail.com>
Date: Sun, 18 Mar 2012 20:54:17 +0400
Message-ID: <CAJOtW+4ZCvk3NarGn1qOFF-A+ZbFjithPJE8Ms-7FNFMH63A7Q@mail.gmail.com>
Subject: Re: ftell() fails on files in shared folders
From: Yuri Gribov <tetra2005@googlemail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q2IGsZ4Z027599

Corinna,

Is your $HOME shared across all your nodes? Can you try running on c$/test.bin?

On Sun, Mar 18, 2012 at 8:41 PM, Yuri Gribov <tetra2005@googlemail.com> wrote:
> Corinna,
>
> Thanks for your answer!
>
>> Wrong style.
>
> Yeah, I know but it worked this time and it's so handy to just use
> good ol' DOS paths...
>
>>  $ ./a ./test.bin
>>  success
>>  $ ./a //this-machine/c\$/cygwin/home/corinna/test/bin
>>  success
>>  $ ./a //other-machine/c\$/cygwin/home/corinna/test/bin
>>  success
>
> Note that you used "test/bin" instead of test.bin in last two examples
> but this shouldn't make any difference provided that you have test
> folder and no test/bin folder in your $HOME.
>
> Interesing, I just did exactly same and it failed:
>  gribov.y@s-cw-head ~/build/upc/opt
>  $ ./a.exe //s-cw-head/c\$/test.bin   # <- same node
>  success
>
>  gribov.y@s-cw-head ~/build/upc/opt
>  $ ./a.exe //s-cw-node01/c\$/test.bin   # <- different node
>  ftell(p) == sizeof(data) failed at io.c:29
>
> Let me see if I find something in Cygwin's BLODA list installed on
> these machines.
>
> --
> Best regards,
> Yuri

-- 
Best regards,
Yuri

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


