diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-02-26 02:43:06 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-02-28 12:48:21 +0100 |
commit | 900e96781f09f5e4d6b89be07391b35fcec1d1f4 (patch) | |
tree | 7ebfe0b25291808ef6d6272679f9f468a3f227bc /src/nvim/os/pty_process_unix.c | |
parent | 89515304e4eb81ff9eb65f3a582136fc658de139 (diff) | |
download | rneovim-900e96781f09f5e4d6b89be07391b35fcec1d1f4.tar.gz rneovim-900e96781f09f5e4d6b89be07391b35fcec1d1f4.tar.bz2 rneovim-900e96781f09f5e4d6b89be07391b35fcec1d1f4.zip |
clint: check env functions
Diffstat (limited to 'src/nvim/os/pty_process_unix.c')
-rw-r--r-- | src/nvim/os/pty_process_unix.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/os/pty_process_unix.c b/src/nvim/os/pty_process_unix.c index 9ff0399511..5fdf0e6181 100644 --- a/src/nvim/os/pty_process_unix.c +++ b/src/nvim/os/pty_process_unix.c @@ -157,11 +157,11 @@ static void init_child(PtyProcess *ptyproc) // New session/process-group. #6530 setsid(); - unsetenv("COLUMNS"); - unsetenv("LINES"); - unsetenv("TERMCAP"); - unsetenv("COLORTERM"); - unsetenv("COLORFGBG"); + os_unsetenv("COLUMNS"); + os_unsetenv("LINES"); + os_unsetenv("TERMCAP"); + os_unsetenv("COLORTERM"); + os_unsetenv("COLORFGBG"); signal(SIGCHLD, SIG_DFL); signal(SIGHUP, SIG_DFL); |