git: libcsu: Assign environment when environ is NULL

John Marino marino at crater.dragonflybsd.org
Sun Feb 10 03:51:54 PST 2013


commit a834075aac70cf3ca01ed23d8220fb556730fe06
Author: John Marino <draco at marino.st>
Date:   Sun Feb 10 12:32:58 2013 +0100

    libcsu: Assign environment when environ is NULL
    
    Preloaded libraries can change the environment.  The current logic will
    unconditionally reassign the environment, undoing any previous
    customization.  This change preserves the previous customization.
    
    Taken-from: FreeBSD SVN 245133 (07 Jan 2013)

Summary of changes:
 lib/csu/common/initfini.c | 14 +++++++++-----
 lib/csu/i386/crt1_c.c     |  4 +---
 lib/csu/x86_64/crt1.c     |  4 +---
 3 files changed, 11 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a834075aac70cf3ca01ed23d8220fb556730fe06


-- 
DragonFly BSD source repository



More information about the Commits mailing list