SOURCES: uClibc-stdio-unhide.patch - one more (SEGV on exit() this...

qboosh qboosh at pld-linux.org
Mon Jun 4 00:44:01 CEST 2007


Author: qboosh                       Date: Sun Jun  3 22:44:01 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- one more (SEGV on exit() this time)

---- Files affected:
SOURCES:
   uClibc-stdio-unhide.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/uClibc-stdio-unhide.patch
diff -u SOURCES/uClibc-stdio-unhide.patch:1.1 SOURCES/uClibc-stdio-unhide.patch:1.2
--- SOURCES/uClibc-stdio-unhide.patch:1.1	Sun Jun  3 23:07:41 2007
+++ SOURCES/uClibc-stdio-unhide.patch	Mon Jun  4 00:43:56 2007
@@ -9,3 +9,14 @@
  extern int *weak_const_function __errno_location(void);
  extern int *weak_const_function __h_errno_location(void);
  #ifdef __UCLIBC_HAS_LOCALE__
+--- uClibc-0.9.29/libc/stdlib/_atexit.c.orig	2007-05-04 16:13:17.000000000 +0200
++++ uClibc-0.9.29/libc/stdlib/_atexit.c	2007-06-04 00:40:04.671116329 +0200
+@@ -305,7 +305,7 @@
+ #endif
+ 
+ #ifdef L_exit
+-extern void weak_function _stdio_term(void) attribute_hidden;
++extern void weak_function _stdio_term(void);
+ attribute_hidden void (*__exit_cleanup) (int) = 0;
+ __UCLIBC_MUTEX_INIT(__atexit_lock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/uClibc-stdio-unhide.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list