DavidSpickett wrote:

> We had code which was waiting for an pipe EOF, but it never got that due to 
> the FD ending up in an unsuspecting (and unrelated) process. Although that's 
> possible to solve in a different way, I think it's still better to declare 
> all of the FDs passed to a process explicitly.

Skill issue on my part but I don't understand how a file descriptor "ends up" 
in another process. My interaction with them has been as handles, so I assumed 
anyone who has the handle would be able to use them.

No need to solve that education problem but that's probably why I am slow to 
realise the point of this change. I have not dealt with the symptoms before.

https://github.com/llvm/llvm-project/pull/126935
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to