Ignore:
Timestamp:
Sep 10, 2020, 2:06:29 PM (5 years ago)
Author:
bird
Message:

kash: Turns out the redirlist needs to be copied too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/shinstance.c

    r3441 r3442  
    733733    /* The rest are internal to the parser, as I see them, and can be ignored. */
    734734
    735     /* redir.c - we shouldn't sub-shell with redirlist as non-NULL, I think.  */
    736     assert(inherit->redirlist == NULL);
    737     assert(inherit->fd0_redirected == 0); /* (follows from redirlist == NULL) */
     735    /* redir.c */
     736    subshellinitredir(psh, inherit);
    738737
    739738    /* show.c */
Note: See TracChangeset for help on using the changeset viewer.