1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/sysutils/safecat/files/patch-ae
Peter Pentchev adfb495a5b safecat is an implementation of D. J. Bernstein's maildir algorithm.
It can be used to write mail messages to a qmail-style maildir, or to
write data to a "spool" directory reliably.
2000-12-27 11:06:43 +00:00

10 lines
245 B
Plaintext

--- /dev/null Tue Nov 21 12:27:45 2000
+++ open_excl.c Tue Nov 21 11:17:15 2000
@@ -0,0 +1,6 @@
+#include <sys/types.h>
+#include <fcntl.h>
+#include "open.h"
+
+int open_excl(fn) char *fn;
+{ return open(fn,O_WRONLY | O_EXCL | O_CREAT,0644); }