OSDN Git Service

* environ.cc (putenv): Accommodate recent newlib change in argument to putenv.
authorcgf <cgf>
Fri, 26 Nov 2004 04:21:46 +0000 (04:21 +0000)
committercgf <cgf>
Fri, 26 Nov 2004 04:21:46 +0000 (04:21 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/environ.cc

index 600ca06..12a6310 100644 (file)
@@ -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.
index 90c828e..4881592 100644 (file)
@@ -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)))