r1814 - in glibc-package/trunk/debian: . patches patches/any
Author: aurel32
Date: 2006-10-01 16:26:45 +0000 (Sun, 01 Oct 2006)
New Revision: 1814
Added:
glibc-package/trunk/debian/patches/any/cvs-sqrt.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
* patches/any/cvs-sqrt.diff: New patch from upstream to fix sqrt computation
for negative imaginary number. Closes: #388852.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2006-10-01 16:15:43 UTC (rev 1813)
+++ glibc-package/trunk/debian/changelog 2006-10-01 16:26:45 UTC (rev 1814)
@@ -5,8 +5,10 @@
* debian/local/manpages/ld.so.8: Update the manpage. Closes: #171145,
#357676, #280027.
* rules.d/debhelper.mk: don't make ld.so.8.gz or ld.so.conf executable.
- * debian/patches: specify that LD_ASSUME_KERNEL does not work on amd64.
+ * debian/FAQ: specify that LD_ASSUME_KERNEL does not work on amd64.
Closes: #386924.
+ * patches/any/cvs-sqrt.diff: New patch from upstream to fix sqrt computation
+ for negative imaginary number. Closes: #388852.
[ Michael Banck ]
* Add hurd-i386/cvs-getsid.diff (fix getsid(0) on the Hurd) by
Added: glibc-package/trunk/debian/patches/any/cvs-sqrt.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/cvs-sqrt.diff (rev 0)
+++ glibc-package/trunk/debian/patches/any/cvs-sqrt.diff 2006-10-01 16:26:45 UTC (rev 1814)
@@ -0,0 +1,63 @@
+2005-10-13 Ulrich Drepper <drepper@redhat.com>
+
+ [BZ #1466]
+ * sysdeps/generic/s_csqrt.c (__csqrt): For zero real part, return
+ principal square root.
+ * sysdeps/generic/s_csqrtf.c (__csqrtf): Likewise.
+ * sysdeps/generic/s_csqrtl.c (__csqrtl): Likewise.
+
+===================================================================
+RCS file: /cvs/glibc/libc/sysdeps/generic/s_csqrt.c,v
+retrieving revision 1.2
+retrieving revision 1.3
+diff -u -r1.2 -r1.3
+--- libc/sysdeps/generic/s_csqrt.c 2001/07/06 04:55:49 1.2
++++ libc/sysdeps/generic/s_csqrt.c 2005/10/13 19:05:44 1.3
+@@ -79,8 +79,8 @@
+ {
+ double r = __ieee754_sqrt (0.5 * fabs (__imag__ x));
+
+- __real__ res = __copysign (r, __imag__ x);
+- __imag__ res = r;
++ __real__ res = r;
++ __imag__ res = __copysign (r, __imag__ x);
+ }
+ else
+ {
+
+===================================================================
+RCS file: /cvs/glibc/libc/sysdeps/generic/s_csqrtl.c,v
+retrieving revision 1.2
+retrieving revision 1.3
+diff -u -r1.2 -r1.3
+--- libc/sysdeps/generic/s_csqrtl.c 2001/07/06 04:55:49 1.2
++++ libc/sysdeps/generic/s_csqrtl.c 2005/10/13 19:04:31 1.3
+@@ -79,8 +79,8 @@
+ {
+ long double r = __ieee754_sqrtl (0.5 * fabsl (__imag__ x));
+
+- __real__ res = __copysignl (r, __imag__ x);
+- __imag__ res = r;
++ __real__ res = r;
++ __imag__ res = __copysignl (r, __imag__ x);
+ }
+ else
+ {
+===================================================================
+RCS file: /cvs/glibc/libc/sysdeps/generic/s_csqrtf.c,v
+retrieving revision 1.3
+retrieving revision 1.4
+diff -u -r1.3 -r1.4
+--- libc/sysdeps/generic/s_csqrtf.c 2004/01/13 09:08:04 1.3
++++ libc/sysdeps/generic/s_csqrtf.c 2005/10/13 19:05:12 1.4
+@@ -79,8 +79,8 @@
+ {
+ float r = __ieee754_sqrtf (0.5 * fabsf (__imag__ x));
+
+- __real__ res = __copysignf (r, __imag__ x);
+- __imag__ res = r;
++ __real__ res = r;
++ __imag__ res = __copysignf (r, __imag__ x);
+ }
+ else
+ {
Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series 2006-10-01 16:15:43 UTC (rev 1813)
+++ glibc-package/trunk/debian/patches/series 2006-10-01 16:26:45 UTC (rev 1814)
@@ -140,6 +140,7 @@
any/cvs-path_log.diff -p0
any/cvs-regcomp_c.diff -p1
any/cvs-siginfo_h.diff -p1
+any/cvs-sqrt.diff -p1
any/cvs-static-getpid.diff -p1
any/cvs-sysctl.diff -p1
any/cvs-thread_signals.diff -p0
Reply to: