Ticket #58550: src_mod_webdav.c-Tiger.diff
File src_mod_webdav.c-Tiger.diff, 630 bytes (added by ballapete (Peter "Pete" Dyballa), 5 years ago) |
---|
-
src/mod_webdav.c
old new 2012 2012 } 2013 2013 2014 2014 2015 #if defined(__APPLE__) && defined(__MACH__) 2015 #if defined(__APPLE__) && defined(__MACH__) && 0 2016 2016 #include <copyfile.h> /* fcopyfile() *//* OS X 10.5+ */ 2017 2017 #endif 2018 2018 #ifdef HAVE_ELFTC_COPYFILE/* __FreeBSD__ */ … … 2045 2045 /*fcntl(ofd, F_SETFL, fcntl(ofd, F_GETFL, 0) & ~O_NONBLOCK);*/ 2046 2046 #endif 2047 2047 2048 #if defined(__APPLE__) && defined(__MACH__) 2048 #if defined(__APPLE__) && defined(__MACH__) && 0 2049 2049 if (0 == fcopyfile(ifd, ofd, NULL, COPYFILE_ALL)) 2050 2050 return 0; 2051 2051