Ticket #82: add_write.diff
File add_write.diff, 360 bytes (added by IMDagger, 15 years ago) |
---|
-
edit/editcmd.c
diff --git a/edit/editcmd.c b/edit/editcmd.c index 08578dc..8c9821b 100644
a b edit_save_as_cmd (WEdit *edit) 497 497 save_lock = edit_lock_file (exp); 498 498 } 499 499 500 if (different_filename) 501 edit->stat1.st_mode |= S_IWRITE; 502 500 503 rv = edit_save_file (edit, exp); 501 504 switch (rv) { 502 505 case 1: