Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-11-26 07:21:47 +0300
committerChristopher Faylor <me@cgf.cx>2004-11-26 07:21:47 +0300
commit69037299812dba9204127416efb183654f7da2bb (patch)
treec14ef3c0106473e22b878f87b4c31d97b9c909c8
parent8cb359d9470bc114ea767c99ab65bf603903f150 (diff)
* environ.cc (putenv): Accommodate recent newlib change in argument to putenv.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/environ.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 600ca0653..12a631025 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2004-11-25 Christopher Faylor <cgf@timesys.com>
+ * environ.cc (putenv): Accommodate recent newlib change in argument to
+ putenv.
+
+2004-11-25 Christopher Faylor <cgf@timesys.com>
+
* child_info.h (child_info_spawn::hexec_proc): Eliminate.
* dcrt0.cc (dll_crt0_0): Remove hexec_proc stuff.
* fork.cc (fork_child): Remove call to pinfo_fixup_after_fork.
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc
index 90c828e72..4881592d9 100644
--- a/winsup/cygwin/environ.cc
+++ b/winsup/cygwin/environ.cc
@@ -292,7 +292,7 @@ _addenv (const char *name, const char *value, int overwrite)
/* putenv Sets an environment variable */
extern "C" int
-putenv (const char *str)
+putenv (char *str)
{
int res;
if ((res = check_null_empty_str (str)))