From owner-cvs-all@FreeBSD.ORG Thu Jan 26 19:02:44 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0056C16A420; Thu, 26 Jan 2006 19:02:43 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86DD943D55; Thu, 26 Jan 2006 19:02:41 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0QJ2fBM099276; Thu, 26 Jan 2006 19:02:41 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0QJ2fnk099275; Thu, 26 Jan 2006 19:02:41 GMT (envelope-from mux) Message-Id: <200601261902.k0QJ2fnk099275@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 26 Jan 2006 19:02:41 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup main.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 19:02:44 -0000 mux 2006-01-26 19:02:41 UTC FreeBSD projects repository Modified files: csup main.c Log: - When creating a lockfile, since I don't really need atomicity, stop using the non-portable O_EXLOCK open() flag and call flock() by hand. - While I was here, I noticed that the code in CVSup writes the PID into the lockfile and that we don't. Add an XXX comment so that this has a chance to get fixed someday. Revision Changes Path 1.23 +16 -7 projects/csup/main.c