about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--string/envz.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 150213d440..eafb3c4673 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,7 +4,8 @@ Fri May 10 16:22:44 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>
  	ARGV parm.
 	* string/argz.h (__argz_create, argz_create): Restore const
  	keyword.
-
+	* string/envz.c (envz_get): Don't declare ENTRY const.
+	
 Fri May 10 11:48:03 1996  Miles Bader  <miles@gnu.ai.mit.edu>
 
 	* string/argz.h (argz_create): Fix param type.
diff --git a/string/envz.c b/string/envz.c
index 5bba829f81..e1487043e3 100644
--- a/string/envz.c
+++ b/string/envz.c
@@ -60,7 +60,7 @@ envz_entry (const char *envz, size_t envz_len, const char *name)
 char *
 envz_get (const char *envz, size_t envz_len, const char *name)
 {
-  const char *entry = envz_entry (envz, envz_len, name);
+  char *entry = envz_entry (envz, envz_len, name);
   if (entry)
     {
       while (*entry && *entry != SEP)