Return to edit.c CVS log | Up to [local] / src / usr.bin / less |
version 1.15, 2015/11/09 02:59:06 | version 1.16, 2015/11/09 15:38:52 | ||
---|---|---|---|
|
|
||
/* | /* | ||
* Overwrite: create the file. | * Overwrite: create the file. | ||
*/ | */ | ||
logfile = creat(filename, 0644); | logfile = open(filename, O_CREAT | O_TRUNC | O_WRONLY, 0644); | ||
break; | break; | ||
case 'A': case 'a': | case 'A': case 'a': | ||
/* | /* |