[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Check for host endianness at configure level
From: |
jemarch |
Subject: |
Re: [pdf-devel] Check for host endianness at configure level |
Date: |
Thu, 03 Apr 2008 21:01:12 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (powerpc-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
> Ok, ok, I WILL debug it! :D
It's your fault for telling me that you would test the text module in
your old mac :-)
:P
Good news. The problem has nothing to do with the endianess.
Some counters (automatic variables) were not initialized before
the corresponding loops. The result: KABOOM!!
I have commited the fix. All the text module unit tests run ok in the
powerpc g3.
address@hidden:~/gnu/src/libgnupdf/torture/unit/base/text$ cvs diff
pdf-text-get-unicode.c
Index: pdf-text-get-unicode.c
===================================================================
RCS file: /cvsroot/pdf/libgnupdf/torture/unit/base/text/pdf-text-get-unicode.c,v
retrieving revision 1.1
diff -r1.1 pdf-text-get-unicode.c
629a630
> i = 0;
722a724
> i = 0;
930a933
> i = 0;
1003a1007
> i = 0;