[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.15 and 1.16

version 1.15, 2002/03/11 13:02:56 version 1.16, 2002/03/16 04:17:36
Line 134 
Line 134 
                         wp->w_marko = 0;                          wp->w_marko = 0;
                 }                  }
         }          }
   
           /* We need to set the READONLY flag after we insert the file */
           if (access(fname, W_OK) && errno != ENOENT)
                   curbp->b_flag |= BFREADONLY;
           else
                   curbp->b_flag &=~ BFREADONLY;
   
   
         return status;          return status;
 }  }
   

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16