Re: [Evolution-hackers] The fixes11 mmap patch doesn't respect data alignment on some architectures

2006-07-17 Thread Philip Van Hoof
On Fri, 2006-07-14 at 19:23 +0200, Philip Van Hoof wrote: While the x86 handles unaligned access, ARM doesn't. The patch will not work on architectures that don't handle unaligned access. I will try to fix it, but I don't have a lot experience in this field. Second attempt to introduce data

Re: [Evolution-hackers] The fixes11 mmap patch doesn't respect data alignment on some architectures

2006-07-15 Thread Philip Van Hoof
On Fri, 2006-07-14 at 17:15 -0400, Jeffrey Stedfast wrote: ah, you're going to have to pad strings and possibly other stuff. The pstrings themselves and the 7bit encoded unsigned 32 integer bytes. Since data padding on ARM is 4 bytes (32bit), unsigned int32 will be aligned correctly? So the

[Evolution-hackers] The fixes11 mmap patch doesn't respect data alignment on some architectures

2006-07-14 Thread Philip Van Hoof
While the x86 handles unaligned access, ARM doesn't. The patch will not work on architectures that don't handle unaligned access. I will try to fix it, but I don't have a lot experience in this field. -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome:

Re: [Evolution-hackers] The fixes11 mmap patch doesn't respect data alignment on some architectures

2006-07-14 Thread Jeffrey Stedfast
ah, you're going to have to pad strings and possibly other stuff. Jeff On Fri, 2006-07-14 at 19:23 +0200, Philip Van Hoof wrote: While the x86 handles unaligned access, ARM doesn't. The patch will not work on architectures that don't handle unaligned access. I will try to fix it, but I