[haiku-bugs] Re: [Haiku] #2695: [XSI] Implement SA_SIGINFO for sigaction

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Mon, 25 Jan 2010 18:42:10 -0000

#2695: [XSI] Implement SA_SIGINFO for sigaction
--------------------------+-------------------------------------------------
 Reporter:  andreasf      |       Owner:  axeld        
     Type:  enhancement   |      Status:  new          
 Priority:  normal        |   Milestone:  R1           
Component:  System/POSIX  |     Version:  R1/pre-alpha1
 Keywords:                |   Blockedby:  5324         
 Platform:  All           |    Blocking:               
--------------------------+-------------------------------------------------

Comment(by kallisti5):

 this bug can be worked around on the application side, but if an app
 assumes that the full POSIX standard is adopted it will fail to compile.

 Ruby added a work around in http://redmine.ruby-
 lang.org/repositories/revision/ruby-19?rev=26399

 {{{
 #if defined(SIGSEGV) && defined(HAVE_SIGALTSTACK) && defined(SA_SIGINFO)
 #define USE_SIGALTSTACK
 #endif
 }}}

 If SA_SIGINFO is defined down the road improperly it may cause problems as
 code will try and use it.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/2695#comment:8>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: