Date: Thu, 02 Jun 2005 18:03:36 +0200 From: =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= <jspedron@club-internet.fr> To: Jung-uk Kim <jkim@niksun.com>, freebsd-ppc@FreeBSD.org, freebsd-alpha@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-ia64@FreeBSD.org Subject: Re: [CALL FOR TESTERS] ReiserFS on non-i386 hardware patch Message-ID: <429F2DD8.7060700@club-internet.fr> In-Reply-To: <200506021132.29814.jkim@niksun.com> References: <429D860A.5000608@club-internet.fr> <20050602082615.GA36096@dragon.NUXI.org> <429EFDC1.6040905@club-internet.fr> <200506021132.29814.jkim@niksun.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Jung-uk Kim wrote:
>>Thank you Jung-Ku and David for your feedback.
>
> -------
> Jung-uk ;-)
Oops, sorry for this, Jung-uk :)
>>The problem come from this macro:
>>#define INITIALIZE_PATH(var) \
>> struct path var = { ILLEGAL_PATH_ELEMENT_OFFSET, }
>>where gcc generates a call to memset(). By replacing it with:
>>#define INITIALIZE_PATH(var) \
>> struct path var; \
>> bzero(&var); \
>
> ------------
> bzero(&var, sizeof(struct path));
>
>> var.path_length = ILLEGAL_PATH_ELEMENT_OFFSET
>>it works.
>
> Yes, it works (after the above fix).
I just wrote this code from memory, Olivier's fix was right at the
beginning.
--
Jean-Sébastien Pédron
http://www.dumbbell.fr/
PGP Key: http://www.dumbbell.fr/pgp/pubkey.asc
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFCny3pa+xGJsFYOlMRAol+AKCSuL/Lwhn6zWpKHEyfh6hZt7apgwCdG5m1
c1PnHQDMh7liszhVloDF7ic=
=D8Lg
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?429F2DD8.7060700>
