From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5142 invoked by alias); 18 Mar 2012 16:41:43 -0000 Received: (qmail 5125 invoked by uid 22791); 18 Mar 2012 16:41:41 -0000 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 Received: from mail-gy0-f171.google.com (HELO mail-gy0-f171.google.com) (209.85.160.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 18 Mar 2012 16:41:28 +0000 Received: by ghbz17 with SMTP id z17so5952809ghb.2 for ; Sun, 18 Mar 2012 09:41:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.78.72 with SMTP id f48mr9528152yhe.121.1332088888149; Sun, 18 Mar 2012 09:41:28 -0700 (PDT) Received: by 10.147.114.11 with HTTP; Sun, 18 Mar 2012 09:41:28 -0700 (PDT) In-Reply-To: <20120318155829.GA21914@calimero.vinschen.de> References: <20120318155829.GA21914@calimero.vinschen.de> Date: Sun, 18 Mar 2012 16:41:00 -0000 Message-ID: Subject: Re: ftell() fails on files in shared folders From: Yuri Gribov To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-03/txt/msg00510.txt.bz2 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... > =A0$ ./a ./test.bin > =A0success > =A0$ ./a //this-machine/c\$/cygwin/home/corinna/test/bin > =A0success > =A0$ ./a //other-machine/c\$/cygwin/home/corinna/test/bin > =A0success 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) =3D=3D sizeof(data) failed at io.c:29 Let me see if I find something in Cygwin's BLODA list installed on these machines. --=20 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