CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2012/04/12 11:42:57
Modified files: sys/kern : kern_descrip.c Log message: In this case where dup2() extends the table using fdalloc, the newly selected fd is automatically fd_used(). We need to fd_unused() it, because it will be fd_used() again in finishdup(). spotted by guenther ok miod