Deleted Added
full compact
586c586,587
< if ((ofile = creat(name, 0666)) < 0) {
---
> if ((ofile = open(name, O_WRONLY | O_CREAT | O_TRUNC,
> 0666)) < 0) {