diff options
author | Peter Stephenson <pws@zsh.org> | 2015-12-04 09:42:35 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-12-04 09:42:35 +0000 |
commit | 04479a56e09b92b893230c715e434f95e77c09b5 (patch) | |
tree | 1abdbe007a014f33230afe302e4007c62360653e /Src/Modules | |
parent | fc00e3a6b79862be1b605279615fe88259d70799 (diff) | |
download | zsh-04479a56e09b92b893230c715e434f95e77c09b5.tar.gz zsh-04479a56e09b92b893230c715e434f95e77c09b5.tar.xz zsh-04479a56e09b92b893230c715e434f95e77c09b5.zip |
unposted: fix init_io() calls in previous change
Diffstat (limited to 'Src/Modules')
-rw-r--r-- | Src/Modules/clone.c | 2 | ||||
-rw-r--r-- | Src/Modules/zpty.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Src/Modules/clone.c b/Src/Modules/clone.c index 5db1c9222..930429248 100644 --- a/Src/Modules/clone.c +++ b/Src/Modules/clone.c @@ -93,7 +93,7 @@ bin_clone(char *nam, char **args, UNUSED(Options ops), UNUSED(int func)) /* Clear mygrp so that acquire_pgrp() gets the new process group. * (acquire_pgrp() is called from init_io()) */ mypgrp = 0; - init_io(); + init_io(NULL); setsparam("TTY", ztrdup(ttystrname)); } close(ttyfd); diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c index 3b8366076..02708a915 100644 --- a/Src/Modules/zpty.c +++ b/Src/Modules/zpty.c @@ -399,7 +399,7 @@ newptycmd(char *nam, char *pname, char **args, int echo, int nblock) close(master); close(coprocin); close(coprocout); - init_io(); + init_io(NULL); setsparam("TTY", ztrdup(ttystrname)); opts[INTERACTIVE] = 0; |