[BusyBox 0001108]: Implement flock

bugs at busybox.net bugs at busybox.net
Fri Dec 1 19:40:03 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1108 
====================================================================== 
Reported By:                eswierk
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1108
Category:                   New Features
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             12-01-2006 11:40 PST
Last Modified:              12-01-2006 11:40 PST
====================================================================== 
Summary:                    Implement flock
Description: 
I've ported H. Peter Anvin's flock implementation
(http://directory.fsf.org/All/flock.html) to BusyBox.  This utility is
handy for implementing mutual exclusion in shell scripts.

The attached patch is a rough first draft.  It works, but segfaults if the
fd# argument is missing.  I would appreciate suggestions for improvements,
especially for making option processing and usage more BusyBox-like.

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-01-06 11:40  eswierk        New Issue                                    
12-01-06 11:40  eswierk        Status                   new => assigned     
12-01-06 11:40  eswierk        Assigned To               => BusyBox         
12-01-06 11:40  eswierk        File Added: busybox-200-flock.patch              
     
======================================================================




More information about the busybox-cvs mailing list