On Thu, 23 May 2024 10:57:28 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

>However, if we ever call this with a non-zero sp.dirlen and a null c->pdir, 
>we'd be in trouble. In the old code, we would have 
> crashed. Now, we will just silently ignore this, and God knows what will 
> happen after that part.

In this special case we can return -1 ;  the spawnChild  function already 
returns -1 in some other error cases.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19329#issuecomment-2126888052

Reply via email to