meven added a comment.

  Currently the code does not handle the other call paths to `statNextSrc()` 
that would need to be adapted as well. We will need to call `statCurrentSrc()` 
after `statNextSrc()` basically there.
  In slotResultRenaming and slotResult.
  Currently, those code path would cause the finish the copy prematurely.
  
  The tests currently don't pass, they just hang.

INLINE COMMENTS

> dfaure wrote in copyjob.cpp:809
> Why did you remove this call?
> 
> Your patch has no context (please use `arc` to upload patches to 
> phabricator), but I can see here that this is in the CopyJobPrivate::skipSrc 
> method. Did you test skipping files? This isn't mentioned in your test plan.
> 
> Does the unittest jobtest still pass?

This is in `statNextSrc()`
This is the main point of recursion, so it this where this needs to change to 
break the recursion in coherence with the `continue`s added in 
`CopyJobPrivate::statCurrentSrc`

> copyjob.cpp:849
>              files.append(info);   // Files and any symlinks
>              statNextSrc(); // we could use a loop instead of a recursive 
> call :)
> +            continue;

Remove comment

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D28669

To: McPain, #frameworks, dfaure, meven, ahmadsamir
Cc: anthonyfieroni, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, 
ngraham, bruns

Reply via email to