aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-05-10 21:33:50 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-05-10 21:33:50 +0000
commit9635799df391c773651b13dd2a2864f851534071 (patch)
treed52e7a12beede3eb68c5f6eccc688817050b2c27
parent6e85aaf798e8dc6896e15218557fd95eca68900c (diff)
downloadglibc-9635799df391c773651b13dd2a2864f851534071.zip
glibc-9635799df391c773651b13dd2a2864f851534071.tar.gz
glibc-9635799df391c773651b13dd2a2864f851534071.tar.bz2
*** empty log message ***
* string/envz.c (envz_get): Don't declare ENTRY const.
-rw-r--r--ChangeLog3
-rw-r--r--string/envz.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 150213d..eafb3c4 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 5bba829..e148704 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)