Bug 40716

Summary: 2>&- construct fails to close stderr in "sh"
Product: Base System Reporter: Abc Xyz <abc>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.6-RELEASE   
Hardware: Any   
OS: Any   

Description Abc Xyz 2002-07-18 04:50:01 UTC
    2>&- construct in FBSD 2.6-RELEASE default "sh" is broken.
    fails to close stderr.

How-To-Repeat: 
    $ ls 2>&- i_dont_exist.txt
    $ mkdir 2>&- i_already_exist
Comment 1 Tim Robbins freebsd_committer freebsd_triage 2002-07-18 11:05:17 UTC
State Changed
From-To: open->closed

Duplicate of bin/40334 (http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/40334), 
this problem is fixed in -CURRENT, I plan on MFC'ing it in the next 
few days.