NetBSD-Bugs archive

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

PR/37454 CVS commit: [netbsd-5] src/lib/libc

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

From: Jeff Rizzo <>
Subject: PR/37454 CVS commit: [netbsd-5] src/lib/libc
Date: Fri, 16 Jul 2010 18:34:08 +0000

 Module Name:   src
 Committed By:  riz
 Date:          Fri Jul 16 18:34:08 UTC 2010
 Modified Files:
        src/lib/libc/misc [netbsd-5]: initfini.c
        src/lib/libc/stdlib [netbsd-5]: exit.c
 Log Message:
 Pull up following revision(s) (requested by joerg in ticket #1423):
        lib/libc/stdlib/exit.c: revision 1.12
        lib/libc/misc/initfini.c: revision 1.6
 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.5.6.1 src/lib/libc/misc/initfini.c
 cvs rdiff -u -r1.11 -r1.11.12.1 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