delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/01/16:26:11

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <23fce8e60804011425q1342c521y6849a8e405480389@mail.gmail.com>
Date: Tue, 1 Apr 2008 22:25:46 +0100
From: "James Abley" <james DOT abley AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: using rsync with Win32/UNC pathnames?
In-Reply-To: <47F23164.8040604@wpkg.org>
MIME-Version: 1.0
References: <47F223A5 DOT 5010103 AT wpkg DOT org> <47F22572 DOT 3030406 AT byu DOT net> <47F2276F DOT 7080405 AT wpkg DOT org> <47F229BD DOT 2060507 AT byu DOT net> <47F22BD6 DOT 3040801 AT wpkg DOT org> <47F22DF5 DOT 6020108 AT byu DOT net> <20080401124823 DOT GQ4468 AT calimero DOT vinschen DOT de> <47F23164 DOT 8040604 AT wpkg DOT org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 01/04/2008, Tomasz Chmielewski <mangoo AT wpkg DOT org> wrote:
> Corinna Vinschen schrieb:
>
> > On Apr  1 06:43, Eric Blake wrote:
>  >> -----BEGIN PGP SIGNED MESSAGE-----
>  >> Hash: SHA1
>  >>
>  >
>  > That's right, but.
>  >
>  > <generic advice>
>  > The problem is that long path names are supported by the snapshot Cygwin
>  > DLLs, but not necessarily by the applications using it.  Since the
>  > applications in the Cygwin net distro are still compiled under Cygwin
>  > 1.5.x, there's some (hopefully low) probability that applications are
>  > using static buffers of size PATH_MAX, which is defined as 260 in 1.5.x.
>  > So, right now, there's no guarantee that applications will be able to
>  > deal with long path names, unless they have been compiled under a Cygwin
>  > snapshot with all new header files installed.
>  > </generic advice>
>
>
> I see.
>  Probably a reason why it fails for me.

I've just tried the current snapshot and most (all?) of my problems
with long path names have gone away, whereas the main release was
failing at the start of the month.

Previously:

2008/03/07 20:47:05 [13024] rsync: readlink
"/AppData/Local/Application Data/Application Data/Application
Data/Application Data/Application Data/Application Data/Application
Data/A
pplication Data/Application Data/Application
Data/Adobe/Acrobat/8.0/Cache/Search80/08695a9e61055471bbeac6c64c29faa3.idx"
(in jabley) failed: File name too long (91)

But using the current snapshot, rsync (2.6.9) has been fine with the
long path names. There are some issues (hey, it's a snapshot!) which
I'll report separately, but I'm pretty happy!

Cheers,

James

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019