Ticket #5652: bug5652-perf-opt.diff
File bug5652-perf-opt.diff, 833 bytes (added by , 11 years ago) |
---|
-
operations.hpp
689 689 { 690 690 if ((m_options & symlink_option::_detail_no_push) == symlink_option::_detail_no_push) 691 691 m_options &= ~symlink_option::_detail_no_push; 692 else if ( is_directory(m_stack.top()->status())693 && (!is_symlink(m_stack.top()->symlink_status())694 || (m_options & symlink_option::recurse) == symlink_option::recurse))692 else if (((m_options & symlink_option::recurse) == symlink_option::recurse 693 || !is_symlink(m_stack.top()->symlink_status())) 694 && is_directory(m_stack.top()->status())) 695 695 { 696 696 697 if (ec == 0) 697 698 m_stack.push(directory_iterator(m_stack.top()->path())); 698 699 else