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)

removes some POSIX 2008 particles (fcopyfile(), linkat(), fstatat(), unlinkat(), fdopendir()) from non-Posix 2008 Tiger and Leopard

  • src/mod_webdav.c

    old new  
    20122012}
    20132013
    20142014
    2015 #if defined(__APPLE__) && defined(__MACH__)
     2015#if defined(__APPLE__) && defined(__MACH__) && 0
    20162016#include <copyfile.h>     /* fcopyfile() *//* OS X 10.5+ */
    20172017#endif
    20182018#ifdef HAVE_ELFTC_COPYFILE/* __FreeBSD__ */
     
    20452045    /*fcntl(ofd, F_SETFL, fcntl(ofd, F_GETFL, 0) & ~O_NONBLOCK);*/
    20462046  #endif
    20472047
    2048   #if defined(__APPLE__) && defined(__MACH__)
     2048  #if defined(__APPLE__) && defined(__MACH__) && 0
    20492049    if (0 == fcopyfile(ifd, ofd, NULL, COPYFILE_ALL))
    20502050        return 0;
    20512051