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" 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 wrote: > Corinna Vinschen schrieb: > > > On Apr 1 06:43, Eric Blake wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > > > > That's right, but. > > > > > > 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. > > > > > 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/