mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
11 lines
335 B
C
11 lines
335 B
C
--- plib/safeio.c.orig 2013-07-04 11:10:49 UTC
|
|
+++ plib/safeio.c
|
|
@@ -448,7 +448,7 @@
|
|
{
|
|
int err;
|
|
|
|
-#if defined(__FreeBSD__) && __FreeBSD__ >= 3
|
|
+#if (defined(__FreeBSD__) && __FreeBSD__ >= 3) || defined(__DragonFly__)
|
|
off_t sbytes;
|
|
while ((err = sendfile(to_fd, from_fd, *start, len,
|
|
NULL, &sbytes, 0)) == -1) {
|