Modify ↓
#3739 closed defect (worksforme)
diff WikiProcessor output looks different for 1 vs more files
| Reported by: | 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)
Change History (4)
by , 19 years ago
| Attachment: | diff-filtered-1.jpg added |
|---|
by , 19 years ago
| Attachment: | diff-filtered-many.jpg added |
|---|
comment:1 by , 19 years ago
| Milestone: | → 0.10 |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



This is fixed in trunk (see r3679).