mcedit file locking

Adam Byrtek / alpha alpha at student.uci.agh.edu.pl
Mon Mar 24 23:12:46 UTC 2003


On Mon, Mar 24, 2003 at 06:02:16PM -0500, Pavel Roskin wrote:

>> What do you think is the best way to implement file locking in mc
>> editor? I want to work on this issue, but first I want to consult you,
>> because you know many of the portability secrets :)
> Why do you think we need file locking in the editor?  It's not an often
> requested feature.  What kind of scenarios do you want to prevent?  Do we
> need write locks or read locks?

I just wanted to start work on the following TODO item:

"Lock files in the editor to prevent opening them more than once.
Warn user when opening locked file."

Did I misunderstand something?

Regards
Adam

-- 

  _.|._ |_  _.   :  Adam Byrtek /alpha/
 (_|||_)| |(_|   :  email  alpha@(irc.pl|debian.org)
     |           :  jabber alpha.pl(at)jabber.org, pgp 0xB25952C0



More information about the mc-devel mailing list