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

r1265 - in glibc-package/trunk/debian: . patches sysdeps



Author: aurel32
Date: 2006-03-02 16:04:23 +0000 (Thu, 02 Mar 2006)
New Revision: 1265

Added:
   glibc-package/trunk/debian/patches/regcomp_c.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
   glibc-package/trunk/debian/sysdeps/hppa.mk
Log:
 * Add regcomp_c.diff (Call __libc_lock_init after init_dfa) from upstream
   (Ulrich Drepper). This make possible to run the testsuite again on hppa.
 * Enable the testsuite on hppa.




Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2006-03-02 11:20:52 UTC (rev 1264)
+++ glibc-package/trunk/debian/changelog	2006-03-02 16:04:23 UTC (rev 1265)
@@ -4,6 +4,9 @@
     optimized libraries (as on i386). This way they will be tested.
   * If the CPU has biarch support, run tests for cross-compiled libraries.
   * Remove ld.so from optimized libraries as it is not used.
+  * Add regcomp_c.diff (Call __libc_lock_init after init_dfa) from upstream
+    (Ulrich Drepper). This make possible to run the testsuite again on hppa.
+  * Enable the testsuite on hppa.
   
  -- Aurelien Jarno <aurel32@debian.org>  Thu,  2 Mar 2006 05:10:12 +0100
 

Added: glibc-package/trunk/debian/patches/regcomp_c.diff
===================================================================
--- glibc-package/trunk/debian/patches/regcomp_c.diff	2006-03-02 11:20:52 UTC (rev 1264)
+++ glibc-package/trunk/debian/patches/regcomp_c.diff	2006-03-02 16:04:23 UTC (rev 1265)
@@ -0,0 +1,35 @@
+CVSROOT:	/cvs/glibc
+Module name:	libc
+Changes by:	drepper@sources.redhat.com	2005-07-10 22:01:15
+
+Modified files:
+	posix          : regcomp.c 
+
+Log message:
+	(re_compile_internal): Call __libc_lock_init after init_dfa.
+
+===================================================================
+RCS file: /cvs/glibc/libc/posix/regcomp.c,v
+retrieving revision 1.95
+retrieving revision 1.96
+diff -u -r1.95 -r1.96
+--- libc/posix/regcomp.c	2005/05/06 23:33:52	1.95
++++ libc/posix/regcomp.c	2005/07/10 22:01:14	1.96
+@@ -774,8 +774,6 @@
+     }
+   preg->used = sizeof (re_dfa_t);
+ 
+-  __libc_lock_init (dfa->lock);
+-
+   err = init_dfa (dfa, length);
+   if (BE (err != REG_NOERROR, 0))
+     {
+@@ -789,6 +787,8 @@
+   strncpy (dfa->re_str, pattern, length + 1);
+ #endif
+ 
++  __libc_lock_init (dfa->lock);
++
+   err = re_string_construct (&regexp, pattern, length, preg->translate,
+ 			     syntax & RE_ICASE, dfa);
+   if (BE (err != REG_NOERROR, 0))

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2006-03-02 11:20:52 UTC (rev 1264)
+++ glibc-package/trunk/debian/patches/series	2006-03-02 16:04:23 UTC (rev 1265)
@@ -132,3 +132,4 @@
 rtld.diff -p1
 resource_h.diff -p1
 hppa-inlining.diff -p1
+regcomp_c.diff -p1

Modified: glibc-package/trunk/debian/sysdeps/hppa.mk
===================================================================
--- glibc-package/trunk/debian/sysdeps/hppa.mk	2006-03-02 11:20:52 UTC (rev 1264)
+++ glibc-package/trunk/debian/sysdeps/hppa.mk	2006-03-02 16:04:23 UTC (rev 1265)
@@ -9,7 +9,3 @@
 ln -sf /usr/include debian/$(curpass)/usr/hppa64-linux-gnu/include
 endef
 
-# some hppa linuxthreads tests: ex* do not work currently even if
-# TIMEOUTSCALE is set - SIGALRM from the program is just ignored.
-RUN_TESTSUITE = no
-



Reply to: