Bug 45820

Summary: [PATCH] to sh(1) manual page: trapsasync
Product: Documentation Reporter: molter <molter>
Component: Books & ArticlesAssignee: Tom Rhodes <trhodes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description molter 2002-11-28 12:50:00 UTC
The sh manual page uses the "asynctraps" keyword, which doesn't exist.
The correct keyword is "trapsasync".

I just made a grep of "trap" in the sh source code to find out why my shell
script didn't work.

Fix: Apply patch:
How-To-Repeat: Try a shell script with the line 
    set -o asynctraps
and then with
    set -o trapsasync
Comment 1 Tom Rhodes freebsd_committer freebsd_triage 2002-12-16 17:05:15 UTC
State Changed
From-To: open->analyzed

I'm following up.
Comment 2 Tom Rhodes freebsd_committer freebsd_triage 2002-12-16 17:05:36 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Assign this PR to me so its not lost.
Comment 3 Tom Rhodes freebsd_committer freebsd_triage 2002-12-17 20:51:56 UTC
State Changed
From-To: analyzed->closed

Committed to both current and stable!  Thanks for the submission!