[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: utmp group proposal



Joel Klecker wrote:
>At 19:15 -0400 1999-05-09, Michael Stone wrote:
>>On Sun, May 09, 1999 at 04:03:01PM -0700, Guy Maor wrote:
>>> Because it requires glibc 2.1 and kernel 2.2.
>>
>>Which reminds me, we should probably make it clear that 2.0 kernels will
>>not work properly with potato if we do this.
>            
>They won't work properly, true, but UNIX98 ptys aren't why.
>       
>The main problem is that 2.0 kernels do not support sigaltstack(),
>this causes such things as m4 to fail when run on a Linux 2.0 system
>if it was compiled on a glibc 2.1 system using 2.2 kernel headers.

*sigh* This is a bug in any program that assumes sigaltstack() works
just because it exists in the library.  m4, etc. should be fixed to
test it at runtime and fall back to some other behavior if it doesn't
work.

This is in the libc FAQ as of 2.1.1-5:
#3.21.   Autoconf's AC_CHECK_FUNC macro reports that a function exists, but
#        when I try to use it, it always returns -1 and sets errno to ENOSYS.

zw


Reply to: