[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Artur Grabowski <art_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Thu, 23 May 2002 08:59:24 -0600 (MDT)
Module name: src
Changes by: art_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2002/05/23 08:59:24
sys/kern : uipc_syscalls.c
In sys_accept don't FILE_SET_MATURE the file if we got an error and we've freed it.
Noticed by enami_(_at_)_netbsd in a recent discussion on tech-kern_(_at_)_netbsd_(_dot_)_
Thanks to miod@ for helping me understand my code and realize that
what the discussion was originally about (a diff by itojun@) didn't apply
to us because I tweaked the semantics of closef() to solve the problem
automagically for us (and I forgot about it).