Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <00f301c46ddb$4e2af500$78d96f83@robinson.cam.ac.uk> From: "Max Bowsher" To: References: <0C260F619E428642BFA6380177C3ADF30126AD76 AT exmsea005 DOT us DOT wamu DOT net> <00a501c46d5c$3b258530$78d96f83 AT robinson DOT cam DOT ac DOT uk> <20040719170141 DOT GC14104 AT trixie DOT casa DOT cgf DOT cx> Subject: Re: Subversion eol-corrupting jar files on update Date: Mon, 19 Jul 2004 22:56:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned X-IsSubscribed: yes Note-from-DJ: This may be spam Christopher Faylor wrote: > On Mon, Jul 19, 2004 at 07:47:12AM +0100, Max Bowsher wrote: >> Karr, David wrote: >>>> I'm having trouble with the svn in Cygwin corrupting jar >>>> files on update or checkout. It's doing an eol translation. >>>> I've specified ".jar" in my svn properties, to indicate that >>>> it should use the "eol-type" of "native". My "mount" table >>>> shows everything in "textmode". Do I have to change to >>>> binary in order for this to work? I would have thought the >>>> eol-type setting in the subversion config should deal with this. >>> If the Cygwin port of subversion is really just using the mount mode to >>> determine this, then that seems like a bug to me. Someone else pointed >>> out to me that subversion is able to determine that the "mime-type" of >>> ".jar" is "application/octet-stream", and that should imply that it >>> should do no file conversion. >> >> Ugh, textmode. Been so long since I've used it, I'd forgotten about it. >> >> /me mentally prepares himself for adding a slew of binary flags. > > Can't you just link everything with /usr/lib/binmode.o ? I'll need to research how that interacts with open calls in DLLs. It might be a solution. Max. -- 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/