"E L" <[EMAIL PROTECTED]> wrote:
> what exactly need to be checked?
> will checking if /lib/libc.so.6 exists and if it is checking for grep
> GLIBC_2.3.3 /lib/libc.so.6*
> be good enough?

No, since the bug exists in older versions, and maybe even in newer
or non-glibc ones.

The way to detect it (when not cross-compiling) is to use an autoconf
run-test.  I.e., it would compile/link/run a small program to demonstrate
the segfault on a losing system.  If that program completes successfully,
then we know it's safe to use the function.

For examples, see uses of AC_RUN_IFELSE in coreutils/m4 and gnulib/m4.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to