- General
- Type misalignments and mem leaks in renumber_all, do_justify
and do_spell (Rocco & Steven Kneizys).
+- files.c:
+ check_writable_directory()
+ - Stat full_path, not path (Steven Kneizys).
- nano.c:
main()
- Put NANO_SMALL defines around toggle pointer (noticed by Jordi);
/* otherwise, stat() the full path to see if it's writable by the
user; set writable to 1 if it is, or 0 if it isn't */
- stat(path, &fileinfo);
+ stat(full_path, &fileinfo);
if (fileinfo.st_mode & S_IWUSR)
writable = 1;
else