Bug 84162

Summary: (t)csh: builtins commands with redirection do not close opened file.
Product: Base System Reporter: Paul Gaborit <Paul.Gaborit+FrreBSD>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.4-STABLE   
Hardware: Any   
OS: Any   

Description Paul Gaborit 2005-07-27 10:40:18 UTC
With (t)csh, builtins commands used with redirection do not close opened files. No bug with FreeBSD 4.x. Just with FreeBSD 5.x.

How-To-Repeat: polo% echo barfoo > foobar
polo% fstat foobar
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME
polo     fstat      99852    8 /usr      71782 -rw-r--r--       7  w  foobar
polo     tcsh       99477    8 /usr      71782 -rw-r--r--       7  w  foobar
%
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2008-03-12 21:31:18 UTC
State Changed
From-To: open->feedback

Dear submitter, can you still reproduce this problem with 
recent releases of FreeBSD? 
I couldn't reproduce it on 6.3, 7.0 and -current so it may 
have been fixed somehow. 
Thanks.
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2008-04-12 10:54:18 UTC
State Changed
From-To: feedback->closed

Close: can't reproduce + feedback timeout (1 month)