cvs commit: fptools configure.ac fptools/libraries/base/System/Posix Signals.hsc fptools/libraries/base/include HsBase.h

Ross Paterson ross at soi.city.ac.uk
Tue Sep 7 11:53:41 EDT 2004


On Tue, Sep 07, 2004 at 08:35:45AM -0700, stolz at haskell.org wrote:
> stolz       2004/09/07 08:35:44 PDT
> 
>   Modified files:
>     .                    configure.ac 
>     libraries/base/System/Posix Signals.hsc 
>     libraries/base/include HsBase.h 
>   Log:
>   Add cpp-protected signals sigINFO & sigWINCH if available.
>   (An autoconf-wizard might want to look at the bottom of configure.ac, the
>   similarities between HAVE_SIGPOLL, HAVE_SIGINFO & HAVE_SIGWINCH can surely
>   be factored out)

The issue was already there with SIGPOLL, but:

- isn't it highly undesirable for a module to have different interfaces
  in different environments?  (That is, can't these things be exported
  with value 0?)

- why is HAVE_SIGPOLL better than #ifdef SIGPOLL?


More information about the Cvs-libraries mailing list