[haiku-bugs] Re: [Haiku] #5055: fdopendir closes file descriptor too early

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Mon, 30 Nov 2009 08:30:43 -0000

#5055: fdopendir closes file descriptor too early
---------------------------+------------------------------------------------
  Reporter:  augiedoggie   |       Owner:  nobody        
      Type:  bug           |      Status:  closed        
  Priority:  normal        |   Milestone:  R1            
 Component:  System/POSIX  |     Version:  R1/Development
Resolution:  fixed         |    Keywords:                
 Blockedby:                |    Platform:  All           
  Blocking:                |  
---------------------------+------------------------------------------------
Changes (by axeld):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Looks like newer specs have clarified the issue: and indeed, only
 closedir() should actually close the descriptor, and applications are
 allowed to use the descriptor without changing its state.

 Should be fixed in r34362.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5055#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: