]> git.wh0rd.org Git - nano.git/commit
apply patch from DB: in write_file(), if we've tried to write to an
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 22 Oct 2004 03:33:54 +0000 (03:33 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 22 Oct 2004 03:33:54 +0000 (03:33 +0000)
commitca92becf9dda2b0dcebb60d32f9a9d4a35f9500c
tree2c64fa2ba78eed62732dd98bb59c767c40936935
parent2c4e34cfce9e2701297733b7fc891b90a0c12d1a
apply patch from DB: in write_file(), if we've tried to write to an
unwritable file and we're not prepending, tempname is NULL when it's
passed to unlink(); this can cause problems if unlink() can't handle
NULL, so don't call it in that case

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2012 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
ChangeLog
src/files.c