[systemd-devel] [PATCH] systemd-journald: fix endianess bug

Lennart Poettering lennart at poettering.net
Mon Mar 5 05:52:53 PST 2012


On Fri, 02.03.12 18:32, Frederic Crozat (fcrozat at suse.com) wrote:

> > Please review my current patch carefully, I'm not 100% sure my fix are
> > accurate (this part of journald is a bit tricky to get right ;)

They look correct to me.

> Here is a new version of the patch, we are slowly getting there : I'm
> able to read journal created on x86 on a ppc system. Unfortunately,
> journal created on ppc is still broken (f->header->entry_array_offset
> get a crazy value, probably in BE instead of LE).

Applied, thanks a lot!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list