commit | 21f73f902f55ceb49765c8415e405ad2c49bb0ea | [log] [tgz] |
---|---|---|
author | Chris Allegretta <chrisa@asty.org> | Thu Jan 03 03:07:27 2013 +0000 |
committer | Chris Allegretta <chrisa@asty.org> | Thu Jan 03 03:07:27 2013 +0000 |
tree | e19b18932cda63f7b894bb78f9cb27a489e96778 | |
parent | bf88d27adc040da95ee6a75b24ad26079cf10f38 [diff] |
Fix trying to lock an un-writable directory. Just put a message on the statusbar that we couldn't do it if the user modifies the file. Changes to do_lockfile and write_lockfile to check for EACCESS and change the return value of the functions (0 instead of -1) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4550 35c25a1d-7b9e-4130-9fde-d3aeb78583b8