Return to file.c CVS log | Up to [local] / src / usr.bin / mg |
version 1.15, 2002/03/11 13:02:56 | version 1.16, 2002/03/16 04:17:36 | ||
---|---|---|---|
|
|
||
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; | ||
} | } | ||