Re: BUG (non-kernel), can hurt developers.

From: YOSHIFUJI Hideaki / 吉藤英明
Date: Wed Nov 26 2003 - 12:22:11 EST


In article <Pine.LNX.4.53.0311261153050.10929@chaos> (at Wed, 26 Nov 2003 11:54:56 -0500 (EST)), "Richard B. Johnson" <root@xxxxxxxxxxxxxxxxxx> says:

> Note to hackers. Even though this is a lib-c bug, be
> aware that many versions of the 'C' runtime library
> have a rand() function that can (read will) segfault
> in threads or signals.

How about rand_r(); reentrant version of rand()?

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