diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-10-24 15:02:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-10-24 15:02:35 +0000 |
commit | b0772d3be54b5bac2f1e45356eadd3c6a8277fd6 (patch) | |
tree | 56b6a834257c6338b2f59a95f9c545b2a8c6eaf9 | |
parent | 692fd0170ec374156127d0d4ed9029a991d24fec (diff) | |
download | glibc-b0772d3be54b5bac2f1e45356eadd3c6a8277fd6.tar.gz glibc-b0772d3be54b5bac2f1e45356eadd3c6a8277fd6.tar.xz glibc-b0772d3be54b5bac2f1e45356eadd3c6a8277fd6.zip |
Update.
1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> * rt/aio.h: Move __aio_init to... * include/aio.h: ...here. 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate definition of O_LARGEFILE. 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path as first argument to statfs. 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else. 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * malloc/mtrace.c: Include <string.h> for strlen.
-rw-r--r-- | ChangeLog | 23 | ||||
-rw-r--r-- | sysdeps/generic/setenv.c | 12 |
2 files changed, 30 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index c788160937..2ef2034819 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,26 @@ +1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * rt/aio.h: Move __aio_init to... + * include/aio.h: ...here. + +1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate + definition of O_LARGEFILE. + +1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path + as first argument to statfs. + +1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else. + +1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * malloc/mtrace.c: Include <string.h> for strlen. + 1998-10-24 Roland McGrath <roland@baalperazim.frob.com> * sysdeps/mach/hurd/bits/environments.h: New file. diff --git a/sysdeps/generic/setenv.c b/sysdeps/generic/setenv.c index b2ebbadfaa..21d9b675cb 100644 --- a/sysdeps/generic/setenv.c +++ b/sysdeps/generic/setenv.c @@ -115,11 +115,13 @@ setenv (name, value, replace) size = 0; if (__environ != NULL) - for (ep = __environ; *ep != NULL; ++ep) - if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=') - break; - else - ++size; + { + for (ep = __environ; *ep != NULL; ++ep) + if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=') + break; + else + ++size; + } if (__environ == NULL || *ep == NULL) { |