+2010-01-14 Chris Allegretta <chrisa@asty.org>
+ * files.c (do_writeout): Fix for crash / incorrect external modification warning
+ due to earlier fix in r4467.
+
2010-01-12 Chris Allegretta <chrisa@asty.org>
* move.c (do_page_up, do_page_down): Fix issues with not enough scrolling down/up
and cursor centering.
* specified it interactively), use the info we just got from
* stat()ing or else we will chase null pointers when we do
* modtime checks, preserve file times, etc. during backup */
- if(openfile->current_stat == NULL)
+ if (openfile->current_stat == NULL && realexists)
openfile->current_stat = &st;
/* We backup only if the backup toggle is set, the file isn't
}
}
#ifndef NANO_TINY
+
if (name_exists && openfile->current_stat && openfile->current_stat->st_mtime < st.st_mtime) {
i = do_yesno_prompt(FALSE,
_("File was modified since you opened it, continue saving ? "));