* environ.cc (environ_init): Alloc space for TERM if it is not set, like all of
the other environment variables.
This commit is contained in:
parent
a2b1a849d1
commit
e9efc27020
@ -1,3 +1,8 @@
|
|||||||
|
2004-12-03 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* environ.cc (environ_init): Alloc space for TERM if it is not set,
|
||||||
|
like all of the other environment variables.
|
||||||
|
|
||||||
2004-12-02 Christopher Faylor <cgf@timesys.com>
|
2004-12-02 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* child_info.h (child_info_fork::parent_wr_proc_pipe): New element.
|
* child_info.h (child_info_fork::parent_wr_proc_pipe): New element.
|
||||||
|
@ -746,7 +746,7 @@ environ_init (char **envp, int envc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!sawTERM)
|
if (!sawTERM)
|
||||||
envp[i++] = cygterm;
|
envp[i++] = strdup (cygterm);
|
||||||
envp[i] = NULL;
|
envp[i] = NULL;
|
||||||
FreeEnvironmentStrings (rawenv);
|
FreeEnvironmentStrings (rawenv);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user