DragonFly BSD
DragonFly commits List (threaded) for 2006-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/lib/libc_r/uthread uthread_close.c


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Aug 2006 01:25:58 -0700 (PDT)

corecode    2006/08/01 01:25:58 PDT

DragonFly src repository

  Modified files:
    lib/libc_r/uthread   uthread_close.c 
  Log:
  Don't prematurely check for non-active descriptors by looking up the
  entry in _thread_fd_table, as it might have not been populated before.
  _FD_LOCK already takes care of filtering out non-existing descriptors.
  
  Reported-by: Thomas E. Spanjaard
  
  Revision  Changes    Path
  1.3       +5 -5      src/lib/libc_r/uthread/uthread_close.c


http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_close.c.diff?r1=1.2&r2=1.3&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]