Re: Linux 2.6.16-rc1

From: Johannes Stezenbach
Date: Wed Jan 18 2006 - 11:14:26 EST


On Wed, Jan 18, 2006, Sam Ravnborg wrote:
> echo "main() {}" | gcc -xc - -o /dev/null
>
> And it seems that gcc will trash /dev/null in your setup when doing
> this.

gcc -o /dev/null is also used by cc-option and in some other
places (at least in 2.6.15). (For me this doesn't trash the
device node, it just gives it execute permission.)

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