fix breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4002 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
46104dcc8e
commit
4078d60d69
|
@ -1891,16 +1891,15 @@ int do_writeout(bool exiting)
|
||||||
|
|
||||||
name_exists = (stat(answer, &st) != -1);
|
name_exists = (stat(answer, &st) != -1);
|
||||||
full_answer = get_full_path(answer);
|
full_answer = get_full_path(answer);
|
||||||
|
|
||||||
/* Convert nulls to newlines. answer_len is the
|
|
||||||
* string's real length. */
|
|
||||||
unsunder(answer, answer_len);
|
|
||||||
|
|
||||||
full_filename = get_full_path(openfile->filename);
|
full_filename = get_full_path(openfile->filename);
|
||||||
different_name = (strcmp((full_answer != NULL) ?
|
different_name = (strcmp((full_answer != NULL) ?
|
||||||
full_answer : answer, (full_filename != NULL) ?
|
full_answer : answer, (full_filename != NULL) ?
|
||||||
full_filename : openfile->filename) != 0);
|
full_filename : openfile->filename) != 0);
|
||||||
|
|
||||||
|
/* Convert nulls to newlines. answer_len is the
|
||||||
|
* string's real length. */
|
||||||
|
unsunder(answer, answer_len);
|
||||||
|
|
||||||
if (full_filename != NULL)
|
if (full_filename != NULL)
|
||||||
free(full_filename);
|
free(full_filename);
|
||||||
if (full_answer != NULL)
|
if (full_answer != NULL)
|
||||||
|
|
Loading…
Reference in New Issue