onsdag 3 juli 2024 kl. 18:56:09 UTC+2 skrev Stefan:

On Wednesday, July 3, 2024 at 3:40:54 PM UTC+2 [email protected] wrote:

Maybe a check for GetLastError() == ERROR_BROKEN_PIPE? I can't figure out 
from the documentation for ReadFile [4] how to detect EOF for a pipe.


Yes, that's the correct solution. Because when piping, the pipe gets broken 
when the source process (e.g. git.exe when doing a 'git diff | 
tortoiseudiff.exe') ends.

I'll commit a fix soon.


r29700 works fine. Thanks!

Kind regards,
Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn-dev/03642485-73ef-4d4e-b5cb-a3a5730eb166n%40googlegroups.com.

Reply via email to