96bdb2f1f0
with FreeBSD) * Fix a broken call to open(2) with O_CREAT and no permission argument. * ANSIfy function definitions. * Improve failure messages. From freebsd.org via Brooks Davis - Thanks!