[git commit] k_standard.c: guard scalb[f] related (unused) code with SUSV3_LEGACY

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:25 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=ed5c73b0057bdbaad1d737342d374922685a399a
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libm/k_standard.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libm/k_standard.c b/libm/k_standard.c
index d9ab745..29e662d 100644
--- a/libm/k_standard.c
+++ b/libm/k_standard.c
@@ -598,6 +598,7 @@ double __kernel_standard(double x, double y, int type)
                   errno = EDOM;
                 }
                 break;
+# ifdef __UCLIBC_SUSV3_LEGACY__
 	    case 32:
 	    case 132:
 		/* scalb overflow; SVID also returns +-HUGE_VAL */
@@ -622,6 +623,7 @@ double __kernel_standard(double x, double y, int type)
 			errno = ERANGE;
 		}
 		break;
+# endif
 	    case 34:
 	    case 134:
 		/* j0(|x|>X_TLOSS) */


More information about the uClibc-cvs mailing list