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: Joris Vink (joriscvs.openbsd.org)
Date: Sat Mar 08 2008 - 21:14:52 CST


CVSROOT: /cvs
Module name: src
Changes by: joriscvs.openbsd.org 2008/03/08 20:14:52

Modified files:
        usr.bin/cvs : admin.c checkout.c commit.c cvs.h file.c
                         repository.c repository.h tag.c

Log message:
proper repository locking:
- all read operations now look for a lock, and wait if present but never
try to lock the tree themselfs anymore.
- all write operations lock the tree where needed.
- commit locks all relevant directories before even attempting to start.