Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 12 years ago

#3739 closed defect (worksforme)

diff WikiProcessor output looks different for 1 vs more files

Reported by: resqu@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10b1
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Formatting this with #!diff:

Index: include/cssysdef.h
===================================================================
--- include/cssysdef.h  (revision 25029)
+++ include/cssysdef.h  (working copy)
@@ -969,6 +969,7 @@
 #if !defined (CS_IEEE_DOUBLE_FORMAT)
 #  if defined (CS_PROCESSOR_X86) || \
      defined (CS_PROCESSOR_POWERPC) || \
+      defined (CS_PROCESSOR_POWERPC64) || \
      defined (CS_PROCESSOR_M68K)
 #    define CS_IEEE_DOUBLE_FORMAT
 #  endif

Looks like this: attachment:diff-filtered-1.jpg

While this:

Index: include/csqsqrt.h
===================================================================
--- include/csqsqrt.h   (revision 25029)
+++ include/csqsqrt.h   (working copy)
@@ -50,7 +50,8 @@
 /** @} */

 #if !defined(CS_NO_QSQRT) && \
-    defined(CS_PROCESSOR_POWERPC) && defined(CS_COMPILER_GCC)
+    (defined(CS_PROCESSOR_POWERPC) || defined(CS_PROCESSOR_POWERPC64)) && \
+    defined(CS_COMPILER_GCC)

 /*
 * Use the PowerPC fsqrte to get an estimate of 1/sqrt(x) Then apply two
Index: include/cssysdef.h
===================================================================
--- include/cssysdef.h  (revision 25029)
+++ include/cssysdef.h  (working copy)
@@ -969,6 +969,7 @@
 #if !defined (CS_IEEE_DOUBLE_FORMAT)
 #  if defined (CS_PROCESSOR_X86) || \
      defined (CS_PROCESSOR_POWERPC) || \
+      defined (CS_PROCESSOR_POWERPC64) || \
      defined (CS_PROCESSOR_M68K)
 #    define CS_IEEE_DOUBLE_FORMAT
 #  endif

Looks like: attachment:diff-filtered-many.jpg

(It should be noted that the 2nd output is much more suited for copy and pasting.)

Attachments (2)

diff-filtered-1.jpg (38.1 KB ) - added by resqu@… 18 years ago.
diff-filtered-many.jpg (62.7 KB ) - added by resqu@… 18 years ago.

Download all attachments as: .zip

Change History (4)

by resqu@…, 18 years ago

Attachment: diff-filtered-1.jpg added

by resqu@…, 18 years ago

Attachment: diff-filtered-many.jpg added

comment:1 by Christian Boos, 18 years ago

Milestone: 0.10
Resolution: worksforme
Status: newclosed

This is fixed in trunk (see r3679).

comment:2 by Christian Boos, 12 years ago

Milestone: 0.10

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.