fix some too-short mktemp format strings

adjust lockfile names

ok sthen@, ok aja@ on a similar diff
This commit is contained in:
rpe 2013-03-17 19:37:36 +00:00
parent 54fa946827
commit 743036cbc3
3 changed files with 15 additions and 6 deletions

View File

@ -1,4 +1,7 @@
$OpenBSD: patch-liblock_locktest_c,v 1.1.1.1 2006/11/03 11:45:31 mbalmer Exp $
$OpenBSD: patch-liblock_locktest_c,v 1.2 2013/03/17 19:37:36 rpe Exp $
mktemp change
--- liblock/locktest.c.orig Mon Dec 6 11:18:55 1999
+++ liblock/locktest.c Fri Jan 6 11:34:58 2006
@@ -5,6 +5,7 @@
@ -13,7 +16,7 @@ $OpenBSD: patch-liblock_locktest_c,v 1.1.1.1 2006/11/03 11:45:31 mbalmer Exp $
int main()
{
+#define FILENAME "courier-authlib.locktest.XXXXX"
+#define FILENAME "courier-authlib.locktest.XXXXXXXXXX"
int fd[2];
pid_t p;
int s;

View File

@ -1,4 +1,7 @@
$OpenBSD: patch-liblock_locktest_c,v 1.1 2006/11/03 16:19:56 mbalmer Exp $
$OpenBSD: patch-liblock_locktest_c,v 1.2 2013/03/17 19:37:36 rpe Exp $
mktemp change
--- liblock/locktest.c.orig Mon Dec 6 11:18:55 1999
+++ liblock/locktest.c Fri Jan 6 19:06:31 2006
@@ -5,6 +5,7 @@
@ -13,7 +16,7 @@ $OpenBSD: patch-liblock_locktest_c,v 1.1 2006/11/03 16:19:56 mbalmer Exp $
int main()
{
+#define FILENAME "courier-authlib.locktest.XXXXX"
+#define FILENAME "courier-imap.locktest.XXXXXXXXXX"
int fd[2];
pid_t p;
int s;

View File

@ -1,4 +1,7 @@
$OpenBSD: patch-liblock_locktest_c,v 1.1 2006/11/03 13:52:19 mbalmer Exp $
$OpenBSD: patch-liblock_locktest_c,v 1.2 2013/03/17 19:37:36 rpe Exp $
mktemp change
--- liblock/locktest.c.orig Mon Dec 6 11:18:55 1999
+++ liblock/locktest.c Sat Jan 7 20:36:26 2006
@@ -5,6 +5,7 @@
@ -13,7 +16,7 @@ $OpenBSD: patch-liblock_locktest_c,v 1.1 2006/11/03 13:52:19 mbalmer Exp $
int main()
{
+#define FILENAME "courier-authlib.locktest.XXXXX"
+#define FILENAME "maildrop.locktest.XXXXXXXXXX"
int fd[2];
pid_t p;
int s;