diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 600ca0653..12a631025 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2004-11-25 Christopher Faylor + + * environ.cc (putenv): Accommodate recent newlib change in argument to + putenv. + 2004-11-25 Christopher Faylor * child_info.h (child_info_spawn::hexec_proc): Eliminate. 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)))