OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1dee3f
)
* environ.cc (environ_init): Alloc space for TERM if it is not set, like all of
author
cgf
<cgf>
Fri, 3 Dec 2004 23:49:04 +0000
(23:49 +0000)
committer
cgf
<cgf>
Fri, 3 Dec 2004 23:49:04 +0000
(23:49 +0000)
the other environment variables.
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/environ.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
82e41ce
..
7a453be
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-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>
* child_info.h (child_info_fork::parent_wr_proc_pipe): New element.
diff --git
a/winsup/cygwin/environ.cc
b/winsup/cygwin/environ.cc
index
dc5079e
..
4b15df2
100644
(file)
--- a/
winsup/cygwin/environ.cc
+++ b/
winsup/cygwin/environ.cc
@@
-746,7
+746,7
@@
environ_init (char **envp, int envc)
}
if (!sawTERM)
- envp[i++] =
cygterm
;
+ envp[i++] =
strdup (cygterm)
;
envp[i] = NULL;
FreeEnvironmentStrings (rawenv);