]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 4 Jan 2005 07:11:05 +0000 (07:11 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 4 Jan 2005 07:11:05 +0000 (07:11 +0000)
* sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
initialize __environ again.

ChangeLog
sysdeps/generic/libc-start.c

index 49fee27fe4a494c7763183a88b7b14bf234856ca..8b94978ae123a79b16906206b50f6afdcd7d4ac3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-01-03  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
+       initialize __environ again.
+
        * sysdeps/unix/sysv/linux/init-first.c: Clean file up.  Don't
        define unnecessary wrappers or aliases of static functions.
 
index fc9df40996e334c11c5e05cfc370b29b136f2461..ad5ebe0911d866bc37c0e8a5e275e43627880a6d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -106,9 +106,9 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),
 
   __libc_multiple_libcs = &_dl_starting_up && !_dl_starting_up;
 
+#ifndef SHARED
   INIT_ARGV_and_ENVIRON;
 
-#ifndef SHARED
   /* Store the lowest stack address.  This is done in ld.so if this is
      the code for the DSO.  */
   __libc_stack_end = stack_end;
This page took 0.048696 seconds and 5 git commands to generate.