OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Kurt Miller (kurtcvs.openbsd.org)
Date: Tue Oct 02 2007 - 11:14:58 CDT


CVSROOT: /cvs
Module name: src
Changes by: kurtcvs.openbsd.org 2007/10/02 10:14:58

Modified files:
        lib/libc/gen : rewinddir.c telldir.c

Log message:
fix a libpthread PANIC in seekdir(3) caused by a recursive mutex lock.
remove the recursive lock in __seekdir() and ensure all callers properly
lock dd_lock prior to calling. reported and tested by bernd
okay marc tedu