sync
This commit is contained in:
parent
f609457dcf
commit
62073e0295
318 changed files with 8112 additions and 4346 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: mail.local.c,v 1.39 2020/02/09 14:59:20 millert Exp $ */
|
||||
/* $OpenBSD: mail.local.c,v 1.40 2023/05/10 08:03:49 op Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996-1998 Theo de Raadt <deraadt@theos.com>
|
||||
|
@ -243,7 +243,8 @@ retry:
|
|||
}
|
||||
|
||||
curoff = lseek(mbfd, 0, SEEK_END);
|
||||
(void)snprintf(biffmsg, sizeof biffmsg, "%s@%lld\n", name, curoff);
|
||||
(void)snprintf(biffmsg, sizeof biffmsg, "%s@%lld\n", name,
|
||||
(long long int)curoff);
|
||||
if (lseek(fd, 0, SEEK_SET) == (off_t)-1) {
|
||||
mwarn("temporary file: %s", strerror(errno));
|
||||
goto bad;
|
||||
|
|
|
@ -58,6 +58,8 @@
|
|||
#define CONFIG_OS_2 "__unix__"
|
||||
#elif defined(__OpenBSD__)
|
||||
#define CONFIG_OS "__OpenBSD__"
|
||||
#elif defined(__SecBSD__)
|
||||
#define CONFIG_OS "__SecBSD__"
|
||||
#define CONFIG_OS_2 "__unix__"
|
||||
#elif defined(__DragonFly__)
|
||||
#define CONFIG_OS "__DragonFly__"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue