[BACK]Return to file.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/file.c between version 1.85 and 1.86

version 1.85, 2012/11/27 19:46:46 version 1.86, 2013/02/10 15:38:18
Line 259 
Line 259 
                         if (stat(dp, &statbuf) == -1 && errno == ENOENT) {                          if (stat(dp, &statbuf) == -1 && errno == ENOENT) {
                                 /* no read-only; like emacs */                                  /* no read-only; like emacs */
                                 ewprintf("Use M-x make-directory RET RET to "                                  ewprintf("Use M-x make-directory RET RET to "
                                     "create the directory and it's parents");                                      "create the directory and its parents");
                         } else if (access(dp, W_OK) == -1 &&                          } else if (access(dp, W_OK) == -1 &&
                             errno == EACCES) {                              errno == EACCES) {
                                 ewprintf("File not found and directory"                                  ewprintf("File not found and directory"

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86