Re: [PATCH] lib/parser: Not recognize nul string as "%s" (6/6)

From: Randy.Dunlap
Date: Mon Oct 06 2003 - 12:48:10 EST


On Tue, 07 Oct 2003 01:58:47 +0900 OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> wrote:

| Hi,
|
| Current match_token recognize "foo=" as "foo=%s". So this change the
| nul string does not recognize as "%s".
|
| (Umm... this should be check by caller?)

I like the check here.

And thanks for doing all of these updates.


| linux-2.6.0-test6-hirofumi/lib/parser.c | 4 +++-
| 1 files changed, 3 insertions(+), 1 deletion(-)


--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/