This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: BSD signal blocking
- To: Bruno Haible <haible at ilog dot fr>
- Subject: Re: BSD signal blocking
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 02 Aug 2000 12:38:56 -0700
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <14697.49889.431284.972530@honolulu.ilog.fr>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Bruno Haible <haible@ilog.fr> writes:
> Programs that make use of BSD signal blocking functions, like the following
> one, cannot be compiled with CC="gcc -ansi" on Linux, because the libc is
> missing the sigmask() function. Therefore sigmask() should be added to the
> libc.
I don't want to add this. This is a "then don't do it" case. Don't
use the -ansi flag if you are not writing code which is ISO/ANSI C.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------