aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/safecat/files/patch-ae
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2000-12-27 11:06:43 +0000
committerPeter Pentchev <roam@FreeBSD.org>2000-12-27 11:06:43 +0000
commitadfb495a5b0778920b33c989c8431f94baba33de (patch)
treee7df18e9c183c949fa3a194c8fba54bf49224967 /sysutils/safecat/files/patch-ae
parent533f641f30e0e7ec4ecd2cad5835656da9199bbc (diff)
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.
Diffstat (limited to 'sysutils/safecat/files/patch-ae')
-rw-r--r--sysutils/safecat/files/patch-ae9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysutils/safecat/files/patch-ae b/sysutils/safecat/files/patch-ae
new file mode 100644
index 000000000000..4b42ba92e90c
--- /dev/null
+++ b/sysutils/safecat/files/patch-ae
@@ -0,0 +1,9 @@
+--- /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); }