]> git.wh0rd.org Git - nano.git/commit
Fix trying to lock an un-writable directory. Just put a message
authorChris Allegretta <chrisa@asty.org>
Thu, 3 Jan 2013 03:07:27 +0000 (03:07 +0000)
committerChris Allegretta <chrisa@asty.org>
Thu, 3 Jan 2013 03:07:27 +0000 (03:07 +0000)
commit21f73f902f55ceb49765c8415e405ad2c49bb0ea
treee19b18932cda63f7b894bb78f9cb27a489e96778
parentbf88d27adc040da95ee6a75b24ad26079cf10f38
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
src/files.c
src/winio.c