commit | cdb5b16198528aeceff0b4e23b047cb6e2fbffa4 | [log] [tgz] |
---|---|---|
author | Chris Allegretta <chrisa@asty.org> | Sat Apr 03 02:39:18 2010 +0000 |
committer | Chris Allegretta <chrisa@asty.org> | Sat Apr 03 02:39:18 2010 +0000 |
tree | 2a102181b8baac72311b9262c49a067d978fc2d6 | |
parent | 35b5976e69a48a3555d2b3f4436dc740998b9358 [diff] |
2010-04-02 Chris Allegretta <chrisa@asty.org> * files.c (do_writeout): Expand modification check to include both the original file's device ID and inode number as reasons to warn the user that the file has been modified. Based on security article on nano by Dan Rosenberg. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4490 35c25a1d-7b9e-4130-9fde-d3aeb78583b8