about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-18 01:56:11 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-18 01:56:11 +0000
commit970269474a7a5c5fe515adc6d55aeb2a796b73dd (patch)
tree9ff58f52ac57e09850238365033d1aeb983436f0 /sysdeps/generic
parent09044a736089a2487187908c7ed9c34abc8a6e16 (diff)
downloadglibc-970269474a7a5c5fe515adc6d55aeb2a796b73dd.tar.gz
glibc-970269474a7a5c5fe515adc6d55aeb2a796b73dd.tar.xz
glibc-970269474a7a5c5fe515adc6d55aeb2a796b73dd.zip
Update.
2003-03-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/libc-start.c [!SHARED &&
	!LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/libc-start.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/libc-start.c b/sysdeps/generic/libc-start.c
index c6178d79af..351205d636 100644
--- a/sysdeps/generic/libc-start.c
+++ b/sysdeps/generic/libc-start.c
@@ -115,8 +115,8 @@ LIBC_START_MAIN (int (*main) (int, char **, char **
   ElfW(auxv_t) *__unbounded auxvec;
   {
     char *__unbounded *__unbounded evp = ubp_ev;
-    while (*evp != NULL)
-      ++evp;
+    while (*evp++ != NULL)
+      ;
     auxvec = (ElfW(auxv_t) *__unbounded) evp;
   }
 #  endif