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: Philip Guenther (guenthercvs.openbsd.org)
Date: Wed Oct 21 2009 - 11:05:03 CDT


CVSROOT: /cvs
Module name: src
Changes by: guenthercvs.openbsd.org 2009/10/21 10:05:02

Modified files:
        lib/libpthread/uthread: uthread_file.c

Log message:
Change libpthread's f*lockfile() routines to stop acting as no-ops
for FILEs that don't have real file-descriptors: the fake FILEs
used internally by snprintf/asprintf/vfprintf and friends now avoid
unnecessary locking by calling the internal __vfprintf() routine
directly and we do want to do locking on FILEs created with funopen().

ok kurt