openbsd-ports/mail/mh/patches/patch-ag
1998-04-30 23:51:57 +00:00

31 lines
621 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

*** zotnet/mts/lock.c.orig Wed Feb 11 21:41:44 1998
--- zotnet/mts/lock.c Wed Feb 11 22:10:35 1998
***************
*** 72,79 ****
static int b_lkopen(), lockit(), f_lkopen();
static lockname(), timerON(), timerOFF();
- long time ();
-
/* */
int lkopen (file, access)
--- 72,77 ----
***************
*** 201,207 ****
else
(void) sprintf (tmplock, "%.*s,LCK.XXXXXX",
cp - curlock, curlock);
! (void) unlink (mktemp (tmplock));
}
}
--- 199,205 ----
else
(void) sprintf (tmplock, "%.*s,LCK.XXXXXX",
cp - curlock, curlock);
! close (mkstemp (tmplock));
}
}