bin/84162: (t)csh: builtins commands with redirection do not close opened file.

Paul Gaborit Paul.Gaborit+FrreBSD at enstimac.fr
Wed Jul 27 09:40:19 GMT 2005


>Number:         84162
>Category:       bin
>Synopsis:       (t)csh: builtins commands with redirection do not close opened file.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 27 09:40:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Paul Gaborit
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
Ecole des mines d'Albi
>Environment:
FreeBSD cambronne.enstimac.fr 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Jun 30 14:54:53 CEST 2005     polo at cambronne.enstimac.fr:/usr/obj/usr/src/sys/POLOKERNEL  i386
>Description:
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
%
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list