Re: [2.6 patch] kill IN_STRING_C

From: Andi Kleen
Date: Mon Nov 08 2004 - 13:00:45 EST


> Rethinking it, I don't even understand the sprintf example in your
> changelog entry - shouldn't an inclusion of kernel.h always get it
> right?

Newer gcc rewrites sprintf(buf,"%s",str) to strcpy(buf,str) transparently.

-Andi
-
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/