From moore@bricoworks.com  Thu Apr  6 18:12:09 2000
Return-Path: <moore@bricoworks.com>
Received: from herschel.bricoworks.com (sense-sea-MegaSub-1-446.oz.net [216.39.145.192])
	by hub.freebsd.org (Postfix) with ESMTP id D77C037B654
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Apr 2000 18:12:04 -0700 (PDT)
	(envelope-from moore@bricoworks.com)
Received: from ariel.bricoworks.com (ariel [192.168.1.37])
	by herschel.bricoworks.com (8.9.3/8.9.3) with ESMTP id XAA56270
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 5 Apr 2000 23:40:30 -0700 (PDT)
	(envelope-from moore@bricoworks.com)
Received: (from moore@localhost)
	by ariel.bricoworks.com (8.9.3/8.9.3) id XAA10726;
	Wed, 5 Apr 2000 23:40:30 -0700 (PDT)
	(envelope-from moore@bricoworks.com)
Message-Id: <200004060640.XAA10726@ariel.bricoworks.com>
Date: Wed, 5 Apr 2000 23:40:30 -0700 (PDT)
From: Tim Moore <moore@bricoworks.com>
Reply-To: moore@bricoworks.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: manpage for sigaction(2) is wrong
X-Send-Pr-Version: 3.2

>Number:         17836
>Category:       docs
>Synopsis:       manpage for sigaction(2) is wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    alex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr  6 18:20:00 PDT 2000
>Closed-Date:    Mon Jun 26 08:02:07 PDT 2000
>Last-Modified:  Mon Jun 26 08:02:21 PDT 2000
>Originator:     Tim Moore
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Bricoworks
>Environment:

	

>Description:

	The description of the third argument to signal handlers if SA_SIGINFO
is supplied is wrong.  It's a ucontext_t, not an mcontext_t.

>How-To-Repeat:

	

>Fix:

Index: sigaction.2
===================================================================
RCS file: /home/cvs/src/lib/libc/sys/sigaction.2,v
retrieving revision 1.21
diff -c -r1.21 sigaction.2
*** sigaction.2	1999/12/15 16:51:35	1.21
--- sigaction.2	2000/04/06 06:39:20
***************
*** 496,502 ****
  The
  .Fa context
  argument to a POSIX SA_SIGINFO handler points to an instance of
! mcontext_t.
  .Sh ERRORS
  .Fn Sigaction
  will fail and no new signal handler will be installed if one
--- 496,502 ----
  The
  .Fa context
  argument to a POSIX SA_SIGINFO handler points to an instance of
! ucontext_t.
  .Sh ERRORS
  .Fn Sigaction
  will fail and no new signal handler will be installed if one



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->alex 
Responsible-Changed-By: alex 
Responsible-Changed-When: Mon Jun 12 08:54:23 PDT 2000 
Responsible-Changed-Why:  
I'll take a look at this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17836 
State-Changed-From-To: open->closed 
State-Changed-By: alex 
State-Changed-When: Mon Jun 26 08:02:07 PDT 2000 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17836 
>Unformatted:
