Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2011 08:50:11 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Sergey Kandaurov <pluknet@freebsd.org>
Cc:        Alexander Best <arundel@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, freebsd-hackers@freebsd.org
Subject:   Re: issue with devstat_buildmatch(3) and certain strings
Message-ID:  <3AB0D20A-D81D-49EC-BA77-83EACC308796@bsdimp.com>
In-Reply-To: <AANLkTimGGwnAORNPzDYzMD6PoHkri3NdQHht3xyVGytO@mail.gmail.com>
References:  <20110331210349.GA4112@freebsd.org> <AANLkTinK2u4G9m00RXUKK6C%2BBAtO7SdNNX8Er%2BY4YRNL@mail.gmail.com> <AANLkTimGGwnAORNPzDYzMD6PoHkri3NdQHht3xyVGytO@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Apr 1, 2011, at 5:40 AM, Sergey Kandaurov wrote:
>>                        if (++tempstr >= &tstr[5])
>                               ^^^^
> BTW,
> this game with pointers might prevent devstat(3) from work on big-endian.

I'm very curious about your reasoning here.

Warner





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AB0D20A-D81D-49EC-BA77-83EACC308796>