[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: "svn diff" crashes when binary files differ

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-02-25 22:40:57 CET

Sander Striker wrote:
>
>>Julian Foad wrote:
>>
>>>~/src/subversion/notes/logo> svn diff
>>>Segmentation fault
>
> It's a different bug. It's real simple, '\n' is never encountered in
> the binary data before a '\0'. I'll rehash the svn_diff_file token
> stuff to account for this tomorrow. ...

OK, in rev 5102 this now works - doesn't crash - gives reasonable output
(below) in my particular test. Thanks.

- Julian

~/src/subversion/notes/logo> echo hello >> subversion_logo.ico
~/src/subversion/notes/logo> svn diff
Index: subversion_logo.ico
===================================================================
--- subversion_logo.ico (revision 5102)
+++ subversion_logo.ico (working copy)
@@ -1273,4 +1273,4 @@

-7Uj                                                                                                                                                                               
\ No newline at end of file
+7Uj                                                                                                                                                                               hello

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 25 22:39:07 2003

This is an archived mail posted to the Subversion Dev mailing list.