From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.user Subject: Re: (fcntl fd F_GETLK ...) from Guile Date: Sun, 02 Sep 2007 10:30:03 +1000 Message-ID: <87myw59aes.fsf@zip.com.au> References: <87zm07c136.fsf@doganov.org> <874pif8dr5.fsf@zip.com.au> <87d4x2btkv.fsf@doganov.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188693029 877 80.91.229.12 (2 Sep 2007 00:30:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2007 00:30:29 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Sep 02 02:30:28 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IRdM6-00049W-Kt for guile-user@m.gmane.org; Sun, 02 Sep 2007 02:30:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRdM5-0008V1-Qe for guile-user@m.gmane.org; Sat, 01 Sep 2007 20:30:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IRdM0-0008U6-VW for guile-user@gnu.org; Sat, 01 Sep 2007 20:30:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IRdLy-0008Tu-GP for guile-user@gnu.org; Sat, 01 Sep 2007 20:30:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRdLy-0008Tr-B5 for guile-user@gnu.org; Sat, 01 Sep 2007 20:30:14 -0400 Original-Received: from mailout1-8.pacific.net.au ([61.8.2.215] helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IRdLx-0000eB-P2 for guile-user@gnu.org; Sat, 01 Sep 2007 20:30:14 -0400 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout1.pacific.net.au (Postfix) with ESMTP id C5A6632808D for ; Sun, 2 Sep 2007 10:30:05 +1000 (EST) Original-Received: from localhost (ppp2E89.dyn.pacific.net.au [61.8.46.137]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id 5556E8C05 for ; Sun, 2 Sep 2007 10:30:05 +1000 (EST) Original-Received: from gg by localhost with local (Exim 4.67) (envelope-from ) id 1IRdLn-0001Zr-IX for guile-user@gnu.org; Sun, 02 Sep 2007 10:30:03 +1000 In-Reply-To: <87d4x2btkv.fsf@doganov.org> (Kaloian Doganov's message of "Sat, 01 Sep 2007 12:53:04 +0300") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6123 Archived-At: Kaloian Doganov writes: > > I need to do record (range) locking, not whole-file locking, and I > hoped to do it with Guile. If you don't mind breaking out a little C code it shouldn't be too hard. (I can never remember which types of locks are voluntary or mandatory, and which work over NFS or not, etc. Myself I've only been using flock on a lockfile to get whole-directory locking.) _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user