Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Sun,  3 Apr 2016 01:59:45 +0100
From: Eric Engestrom <eric@...estrom.ch>
To: musl@...ts.openwall.com
Cc: Eric Engestrom <eric@...estrom.ch>
Subject: [PATCH] fix spelling mistakes

Signed-off-by: Eric Engestrom <eric@...estrom.ch>
---
 README                  | 2 +-
 include/sys/resource.h  | 2 +-
 ldso/dynlink.c          | 2 +-
 src/fenv/powerpc/fenv.S | 2 +-
 src/math/cbrt.c         | 2 +-
 src/math/powl.c         | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/README b/README
index a30eb11..45b7eb0 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@
     musl libc
 
 musl, pronounced like the word "mussel", is an MIT-licensed
-implementation of the standard C library targetting the Linux syscall
+implementation of the standard C library targeting the Linux syscall
 API, suitable for use in a wide range of deployment environments. musl
 offers efficient static and dynamic linking support, lightweight code
 and low runtime overhead, strong fail-safe guarantees under correct
diff --git a/include/sys/resource.h b/include/sys/resource.h
index cc33de7..ee8b01b 100644
--- a/include/sys/resource.h
+++ b/include/sys/resource.h
@@ -29,7 +29,7 @@ struct rusage
 {
 	struct timeval ru_utime;
 	struct timeval ru_stime;
-	/* linux extentions, but useful */
+	/* linux extensions, but useful */
 	long	ru_maxrss;
 	long	ru_ixrss;
 	long	ru_idrss;
diff --git a/ldso/dynlink.c b/ldso/dynlink.c
index e458f38..1f9736c 100644
--- a/ldso/dynlink.c
+++ b/ldso/dynlink.c
@@ -734,7 +734,7 @@ static int path_open(const char *name, const char *s, char *buf, size_t buf_size
 				break;
 			default:
 				/* Any negative value but -1 will inhibit
-				 * futher path search. */
+				 * further path search. */
 				return -2;
 			}
 		}
diff --git a/src/fenv/powerpc/fenv.S b/src/fenv/powerpc/fenv.S
index 1516eb5..2b5da5d 100644
--- a/src/fenv/powerpc/fenv.S
+++ b/src/fenv/powerpc/fenv.S
@@ -12,7 +12,7 @@ feclearexcept:
 1:
 	/*
 	 * note: fpscr contains various fpu status and control
-	 * flags and we dont check if r3 may alter other flags
+	 * flags and we don't check if r3 may alter other flags
 	 * than the exception related ones
 	 * ufpscr &= ~r3
 	 */
diff --git a/src/math/cbrt.c b/src/math/cbrt.c
index 7599d3e..b51da62 100644
--- a/src/math/cbrt.c
+++ b/src/math/cbrt.c
@@ -48,7 +48,7 @@ double cbrt(double x)
 	 * error of about 1 in 16.  Adding a bias of -0.03306235651 to the
 	 * (e%3+m)/3 term reduces the error to about 1 in 32. With the IEEE
 	 * floating point representation, for finite positive normal values,
-	 * ordinary integer divison of the value in bits magically gives
+	 * ordinary integer division of the value in bits magically gives
 	 * almost exactly the RHS of the above provided we first subtract the
 	 * exponent bias (1023 for doubles) and later add it back.  We do the
 	 * subtraction virtually to keep e >= 0 so that ordinary integer
diff --git a/src/math/powl.c b/src/math/powl.c
index 5b6da07..e4595d5 100644
--- a/src/math/powl.c
+++ b/src/math/powl.c
@@ -199,7 +199,7 @@ long double powl(long double x, long double y)
 	volatile long double z=0;
 	long double w=0, W=0, Wa=0, Wb=0, ya=0, yb=0, u=0;
 
-	/* make sure no invalid exception is raised by nan comparision */
+	/* make sure no invalid exception is raised by nan comparison */
 	if (isnan(x)) {
 		if (!isnan(y) && y == 0.0)
 			return 1.0;
-- 
2.8.0

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.