NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/37454 CVS commit: src/lib/libc



The following reply was made to PR lib/37454; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/37454 CVS commit: src/lib/libc
Date: Mon, 28 Jun 2010 21:58:02 +0000

 Module Name:   src
 Committed By:  joerg
 Date:          Mon Jun 28 21:58:02 UTC 2010
 
 Modified Files:
        src/lib/libc/misc: initfini.c
        src/lib/libc/stdlib: exit.c
 
 Log Message:
 Ensure that initfini.c is referenced by exit.c. The start up code has to
 reference the latter as a return of main() results in a call to exit(3),
 so this ensures that the libc constructors are run for statically linked
 programs. Fixes PR 37454.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 src/lib/libc/misc/initfini.c
 cvs rdiff -u -r1.11 -r1.12 src/lib/libc/stdlib/exit.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index