[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a781481a0706191147x72be6357vf0c83808b13174b8@mail.gmail.com>
Date: Wed, 20 Jun 2007 00:17:12 +0530
From: "Satyam Sharma" <satyam.sharma@...il.com>
To: "Paulo Marques" <pmarques@...popie.com>
Cc: "Andrew Morton" <akpm@...l.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
"Mike Frysinger" <vapier@...too.org>
Subject: Re: [PATCH] remove usage of memmem from scripts/kallsyms.c
Hi,
On 6/19/07, Paulo Marques <pmarques@...popie.com> wrote:
>
> The only in-kernel user of "memmem" is scripts/kallsyms.c and it only
> uses it to find tokens that are 2 bytes in size. It is trivial to
> replace it with a simple function that finds 2-byte tokens.
>
> This should help users from systems that don't have the memmem GNU
> extension available.
So we could remove the "#define _GNU_SOURCE" at the top
of scripts/kallsyms.c too, presumably? If not (i.e. if there are
more GNUisms left in that file anyway), then I'm not sure if we
really gain by the change.
Satyam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists