dav/sync.c

changeset 644
a38b15061848
parent 643
5b8643cf0a2f
child 646
37a8bfae995e
equal deleted inserted replaced
643:5b8643cf0a2f 644:a38b15061848
2681 #ifndef SYS_LINK_EXT // if not windows 2681 #ifndef SYS_LINK_EXT // if not windows
2682 SYS_STAT targetstat; 2682 SYS_STAT targetstat;
2683 if(!sys_stat(file_path, &targetstat)) { 2683 if(!sys_stat(file_path, &targetstat)) {
2684 res->isdirectory = S_ISDIR(targetstat.st_mode); 2684 res->isdirectory = S_ISDIR(targetstat.st_mode);
2685 2685
2686 int nofollowextern = (dir->symlink & SYNC_SYMLINK_EXTERN_NOFOLLOW) == SYNC_SYMLINK_EXTERN_NOFOLLOW; 2686 int nofollowextern = (dir->symlink & SYNC_SYMLINK_IGNORE_EXTERN) == SYNC_SYMLINK_IGNORE_EXTERN;
2687 int nofollowintern = (dir->symlink & SYNC_SYMLINK_INTERN_NOFOLLOW) == SYNC_SYMLINK_INTERN_NOFOLLOW; 2687 int nofollowintern = (dir->symlink & SYNC_SYMLINK_IGNORE_INTERN) == SYNC_SYMLINK_IGNORE_INTERN;
2688 if(isintern && nofollowintern) { 2688 if(isintern && nofollowintern) {
2689 skip_file = TRUE; 2689 skip_file = TRUE;
2690 } else if(!isintern && nofollowextern) { 2690 } else if(!isintern && nofollowextern) {
2691 skip_file = TRUE; 2691 skip_file = TRUE;
2692 } 2692 }

mercurial