aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
commit65cc53fe7c6556b90159b8c3da1eb283792387db (patch)
tree879c71521e54f86942bf3ba2a39f9b4bc2dfb915 /sysdeps/mach
parent4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8 (diff)
downloadglibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.gz
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.bz2
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.zip
Fix misspellings in sysdeps/ -- BZ 25337
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/htl/pt-thread-alloc.c2
-rw-r--r--sysdeps/mach/hurd/Makefile2
-rw-r--r--sysdeps/mach/hurd/bits/posix_opt.h4
-rw-r--r--sysdeps/mach/hurd/errno-loc.c2
-rw-r--r--sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h2
-rw-r--r--sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c2
-rw-r--r--sysdeps/mach/hurd/i386/localplt.data2
-rw-r--r--sysdeps/mach/hurd/ptsname.c2
-rw-r--r--sysdeps/mach/hurd/recvfrom.c2
-rw-r--r--sysdeps/mach/hurd/setitimer.c2
10 files changed, 11 insertions, 11 deletions
diff --git a/sysdeps/mach/htl/pt-thread-alloc.c b/sysdeps/mach/htl/pt-thread-alloc.c
index 29993a8ca8..c73e4952f5 100644
--- a/sysdeps/mach/htl/pt-thread-alloc.c
+++ b/sysdeps/mach/htl/pt-thread-alloc.c
@@ -61,7 +61,7 @@ create_wakeupmsg (struct __pthread *thread)
return 0;
}
-/* Allocate any resouces for THREAD. The new kernel thread should not
+/* Allocate any resources for THREAD. The new kernel thread should not
be eligible to be scheduled. */
int
__pthread_thread_alloc (struct __pthread *thread)
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index b585d57b78..5bc682a397 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -93,7 +93,7 @@ $(common-objpfx)stamp-errnos: $(hurd)/errnos.awk $(errno.texinfo) \
$(mach-errnos-deps) $(common-objpfx)errnos.d
mkdir -p $(hurd-objpfx)bits
$(AWK) -f $^ > $(hurd-objpfx)bits/errno.h-tmp
-# Make it unwritable so noone will edit it by mistake.
+# Make it unwritable so no one will edit it by mistake.
-chmod a-w $(hurd-objpfx)bits/errno.h-tmp
$(move-if-change) $(hurd-objpfx)bits/errno.h-tmp $(hurd)/bits/errno.h
touch $@
diff --git a/sysdeps/mach/hurd/bits/posix_opt.h b/sysdeps/mach/hurd/bits/posix_opt.h
index 0a392e4c69..b5bc971d08 100644
--- a/sysdeps/mach/hurd/bits/posix_opt.h
+++ b/sysdeps/mach/hurd/bits/posix_opt.h
@@ -87,14 +87,14 @@
/* We support user-defined stacks. */
#define _POSIX_THREAD_ATTR_STACKADDR 200809L
-/* We do not support priority inheritence. */
+/* We do not support priority inheritance. */
#define _POSIX_THREAD_PRIO_INHERIT -1
/* We do not support priority protection. */
#define _POSIX_THREAD_PRIO_PROTECT -1
#ifdef __USE_XOPEN2K8
-/* We do not support priority inheritence for robust mutexes. */
+/* We do not support priority inheritance for robust mutexes. */
# define _POSIX_THREAD_ROBUST_PRIO_INHERIT -1
/* We do not support priority protection for robust mutexes. */
diff --git a/sysdeps/mach/hurd/errno-loc.c b/sysdeps/mach/hurd/errno-loc.c
index e0a66ce825..823ce696b0 100644
--- a/sysdeps/mach/hurd/errno-loc.c
+++ b/sysdeps/mach/hurd/errno-loc.c
@@ -20,7 +20,7 @@
/* rtld can not access TLS too early, thus rtld_errno.
Instead of making __open/__close pass errno from TLS to rtld_errno, simply
- use a weak __errno_location using rtld_errno, which will be overriden by the
+ use a weak __errno_location using rtld_errno, which will be overridden by the
libc definition. */
static int rtld_errno;
int * weak_function
diff --git a/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h b/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h
index 11caa8704b..8f859795fd 100644
--- a/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h
+++ b/sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h
@@ -41,7 +41,7 @@ struct __pthread_mutex
#define __PTHREAD_MUTEX_INITIALIZER \
{ 0, 0, 0, 0, __PTHREAD_MUTEX_TIMED, 0, { { 0, 0 } } }
-/* The +1 is to mantain binary compatibility with the old
+/* The +1 is to maintain binary compatibility with the old
* libpthread implementation. */
#define __PTHREAD_ERRORCHECK_MUTEX_INITIALIZER \
{ 0, 0, 0, 0, __PTHREAD_MUTEX_ERRORCHECK + 1, 0, { { 0, 0 } } }
diff --git a/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c b/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c
index f1f1bb47db..17fa46c15c 100644
--- a/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c
+++ b/sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c
@@ -143,7 +143,7 @@ __pthread_hurd_cond_timedwait_internal (pthread_cond_t *cond,
drain = err ? 1 : 0;
else
{
- /* We're still in the list of waiters. Noone attempted to wake us
+ /* We're still in the list of waiters. No one attempted to wake us
up, i.e. we timed out. */
__pthread_dequeue (self);
drain = 0;
diff --git a/sysdeps/mach/hurd/i386/localplt.data b/sysdeps/mach/hurd/i386/localplt.data
index c01e4d81e4..89b124db9f 100644
--- a/sysdeps/mach/hurd/i386/localplt.data
+++ b/sysdeps/mach/hurd/i386/localplt.data
@@ -9,7 +9,7 @@ libc.so: malloc + REL R_386_GLOB_DAT
libc.so: realloc + REL R_386_GLOB_DAT
libm.so: matherr + REL R_386_GLOB_DAT
# The dynamic linker has its own versions of basic functions for initial loading
-# of shared libraries. These need to be overriden by libc once loaded.
+# of shared libraries. These need to be overridden by libc once loaded.
ld.so: __open ?
ld.so: __open64 ?
ld.so: __open_nocancel
diff --git a/sysdeps/mach/hurd/ptsname.c b/sysdeps/mach/hurd/ptsname.c
index 06234f536b..10edaa8d8a 100644
--- a/sysdeps/mach/hurd/ptsname.c
+++ b/sysdeps/mach/hurd/ptsname.c
@@ -49,7 +49,7 @@ __ptsname_internal (int fd, char *buf, size_t buflen, struct stat64 *stp)
int ttype;
if (HURD_DPORT_USE (fd, __term_get_bottom_type (port, &ttype)) == 0)
- /* get_bottom_type suceeded, this is the slave side. */
+ /* get_bottom_type succeeded, this is the slave side. */
return __hurd_fail (ENOTTY), ENOTTY;
if (err = HURD_DPORT_USE (fd, __term_get_peername (port, peername)))
diff --git a/sysdeps/mach/hurd/recvfrom.c b/sysdeps/mach/hurd/recvfrom.c
index 6f2c927ab6..c9812afd91 100644
--- a/sysdeps/mach/hurd/recvfrom.c
+++ b/sysdeps/mach/hurd/recvfrom.c
@@ -24,7 +24,7 @@
#include <sysdep-cancel.h>
/* Read N bytes into BUF through socket FD.
- If ADDR is not NULL, fill in *ADDR_LEN bytes of it with tha address of
+ If ADDR is not NULL, fill in *ADDR_LEN bytes of it with the address of
the sender, and store the actual size of the address in *ADDR_LEN.
Returns the number of bytes read or -1 for errors. */
ssize_t
diff --git a/sysdeps/mach/hurd/setitimer.c b/sysdeps/mach/hurd/setitimer.c
index 03191b91fc..7c150a5035 100644
--- a/sysdeps/mach/hurd/setitimer.c
+++ b/sysdeps/mach/hurd/setitimer.c
@@ -85,7 +85,7 @@ timer_thread (void)
error_t return_code;
} msg;
- /* Wait for a message on a port that noone sends to. The purpose is
+ /* Wait for a message on a port that no one sends to. The purpose is
the receive timeout. Notice interrupts so that if we are
thread_abort'd, we will loop around and fetch new values from
_hurd_itimerval. */