From owner-freebsd-questions@FreeBSD.ORG Wed May 31 00:03:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB88F16A618 for ; Wed, 31 May 2006 00:03:55 +0000 (UTC) (envelope-from jbronson@wixb.com) Received: from cheyenne.sixcompanies.com (cheyenne.sixcompanies.com [65.43.82.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 422B743D7F for ; Wed, 31 May 2006 00:03:49 +0000 (GMT) (envelope-from jbronson@wixb.com) Received: from coors.sixcompanies.com (coors.sixcompanies.com [10.43.82.5]) by cheyenne.sixcompanies.com (8.13.6/8.13.6) with ESMTP id k4V03n11001184 for ; Tue, 30 May 2006 19:03:49 -0500 (CDT) Message-Id: <7.0.1.0.2.20060530190257.00e51140@jdbmr2.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Tue, 30 May 2006 19:03:49 -0500 To: freebsd-questions@freebsd.org From: "J.D. Bronson" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: popa3d X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 00:04:07 -0000 I noticed this when compiling the port of popa3d on 6.1: /* * Locking method your system uses for user mailboxes. It is important * that you set this correctly. * * *BSDs use flock(2), others typically use fcntl(2). */ #define LOCK_FCNTL 1 #define LOCK_FLOCK 0 ..why are we using 'fcntl' when the messages saus for *BSDs use 'flock' ? Anyone have any idea? -JD