git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Builtin macros for sha3-hash and ed25519-signing support
[users/jgh/exim.git]
/
src
/
OS
/
os.c-Linux
diff --git
a/src/OS/os.c-Linux
b/src/OS/os.c-Linux
index 88b78993d1992a35f0a8ffb6c4fa81caf08fc67d..a10bc7d258ac49cc26de0b78f5184a200e9d65bf 100644
(file)
--- a/
src/OS/os.c-Linux
+++ b/
src/OS/os.c-Linux
@@
-1,10
+1,8
@@
-/* $Cambridge: exim/src/OS/os.c-Linux,v 1.2 2005/04/06 14:09:17 ph10 Exp $ */
-
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1997 - 20
01
*/
+/* Copyright (c) University of Cambridge 1997 - 20
17
*/
/* See the file NOTICE for conditions of use and distribution. */
/* Linux-specific code. This is concatenated onto the generic
/* See the file NOTICE for conditions of use and distribution. */
/* Linux-specific code. This is concatenated onto the generic
@@
-96,7
+94,7
@@
ip_address_item *last = NULL;
ip_address_item *next;
char addr6p[8][5];
unsigned int plen, scope, dad_status, if_idx;
ip_address_item *next;
char addr6p[8][5];
unsigned int plen, scope, dad_status, if_idx;
-char devname[20];
+char devname[20
+1
];
FILE *f;
#endif
FILE *f;
#endif
@@
-152,4
+150,16
@@
return yield;
#endif /* FIND_RUNNING_INTERFACES */
#endif /* FIND_RUNNING_INTERFACES */
+
+/*************
+* Sendfile *
+*************/
+#include <sys/sendfile.h>
+
+ssize_t
+os_sendfile(int out, int in, off_t * off, size_t cnt)
+{
+return sendfile(out, in, off, cnt);
+}
+
/* End of os.c-Linux */
/* End of os.c-Linux */