commit | 869aca43929a14023940437199b7d70438738271 | [log] [tgz] |
---|---|---|
author | Chris Allegretta <chrisa@asty.org> | Sun Dec 20 05:46:35 2009 +0000 |
committer | Chris Allegretta <chrisa@asty.org> | Sun Dec 20 05:46:35 2009 +0000 |
tree | bdf0bbdd5b51d864ac638b3127a69c3fe4622134 | |
parent | d9be86f45bb0bd76a32784558a5b2c18a1dd7bbd [diff] |
2009-12-20 Brian Szymanski <skibrianski via Savannah> * src/files.c (write_file): Check stat struct exists, and if not use just obtained stat data. Fixes Ubuntu bug 471568, "reproducible crash in nano on trying to save to a file different than the one specified on the command line". git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4467 35c25a1d-7b9e-4130-9fde-d3aeb78583b8