aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-20 13:37:47 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-06-02 01:39:48 +0000
commit7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 (patch)
treee02ce0ba813f2cb4f20643988ec030292784cab6 /posix
parent5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff)
downloadglibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.bz2
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'posix')
-rw-r--r--posix/BOOST.tests4
-rw-r--r--posix/PTESTS2
-rw-r--r--posix/globtest.c2
-rw-r--r--posix/regexbug1.c4
-rw-r--r--posix/runptests.c2
-rw-r--r--posix/runtests.c2
-rw-r--r--posix/rxspencer/tests2
-rw-r--r--posix/spawn.h2
-rw-r--r--posix/tst-exec.c2
-rw-r--r--posix/tst-execveat.c4
-rw-r--r--posix/tst-glob_lstat_compat.c2
-rw-r--r--posix/tst-pcre.c2
-rw-r--r--posix/tst-posix_fadvise-common.c2
-rw-r--r--posix/tst-regcomp-truncated.c2
-rw-r--r--posix/tst-regex.c4
-rw-r--r--posix/tst-regex.input50
-rw-r--r--posix/tst-spawn5.c2
-rw-r--r--posix/wordexp.c4
18 files changed, 47 insertions, 47 deletions
diff --git a/posix/BOOST.tests b/posix/BOOST.tests
index 98fd3b6abf..756fa00486 100644
--- a/posix/BOOST.tests
+++ b/posix/BOOST.tests
@@ -93,7 +93,7 @@ aa\) !
. \0 0 1
;
-; now move on to the repetion ops,
+; now move on to the repetition ops,
; starting with operator *
- match_default normal REG_EXTENDED
a* b 0 0
@@ -275,7 +275,7 @@ a(b*)c\1d abbcbbbd -1 -1
^(.)\1 abc -1 -1
a([bc])\1d abcdabbd 4 8 5 6
; strictly speaking this is at best ambiguous, at worst wrong, this is what most
-; re implimentations will match though.
+; re implementations will match though.
a(([bc])\2)*d abbccd 0 6 3 5 3 4
a(([bc])\2)*d abbcbd -1 -1
diff --git a/posix/PTESTS b/posix/PTESTS
index 65e5084915..601cef8d72 100644
--- a/posix/PTESTS
+++ b/posix/PTESTS
@@ -3,7 +3,7 @@
# other plain ASCII character had been used by a test. Characters
# outside the plain ASCII range have a risk of being mangled by modern
# editors. So, avoid using | in a test, or if needed, select a new
-# delimeter.
+# delimiter.
# 2.8.2 Regular Expression General Requirement
2|4|bb*|abbbc|
2|2|bb*|ababbbc|
diff --git a/posix/globtest.c b/posix/globtest.c
index 2bba5228f5..d1712656dd 100644
--- a/posix/globtest.c
+++ b/posix/globtest.c
@@ -106,7 +106,7 @@ main (int argc, char *argv[])
if ((glob_flags & GLOB_DOOFFS) && g.gl_pathv[0] == NULL)
g.gl_pathv[0] = (char *) "abc";
- /* Print out the names. Unless otherwise specified, qoute them. */
+ /* Print out the names. Unless otherwise specified, quote them. */
if (g.gl_pathv)
{
for (i = 0; i < g.gl_offs + g.gl_pathc; ++i)
diff --git a/posix/regexbug1.c b/posix/regexbug1.c
index 17643e7e4d..165bc07b2f 100644
--- a/posix/regexbug1.c
+++ b/posix/regexbug1.c
@@ -26,7 +26,7 @@ main (void)
error (0, 0, "\"0*[0-9][0-9]\" does not match \"002\"");
res = 1;
}
- puts ("Succesful match with \"0*[0-9][0-9]\"");
+ puts ("Successful match with \"0*[0-9][0-9]\"");
regfree (&re);
@@ -43,7 +43,7 @@ main (void)
error (0, 0, "\"[0a]*[0-9][0-9]\" does not match \"002\"");
res = 1;
}
- puts ("Succesful match with \"[0a]*[0-9][0-9]\"");
+ puts ("Successful match with \"[0a]*[0-9][0-9]\"");
regfree (&re);
diff --git a/posix/runptests.c b/posix/runptests.c
index 02fe0061ff..acb800b57a 100644
--- a/posix/runptests.c
+++ b/posix/runptests.c
@@ -77,7 +77,7 @@ main (int argc, char *argv[])
}
else if (tests[cnt].start == -2)
{
- puts ("compiling suceeds, FAIL");
+ puts ("compiling succeeds, FAIL");
errors++;
continue;
}
diff --git a/posix/runtests.c b/posix/runtests.c
index d44bf36266..b40b785572 100644
--- a/posix/runtests.c
+++ b/posix/runtests.c
@@ -81,7 +81,7 @@ run_a_test (int id, const struct a_test * t)
else if (t->expected == 2)
{
printf ("test %d\n", id);
- printf ("pattern \"%s\" successfull compilation not expected\n",
+ printf ("pattern \"%s\" successful compilation not expected\n",
t->pattern);
return 1;
}
diff --git a/posix/rxspencer/tests b/posix/rxspencer/tests
index 3ad46e2a61..810e4be79c 100644
--- a/posix/rxspencer/tests
+++ b/posix/rxspencer/tests
@@ -183,7 +183,7 @@ a\(***\)b bC BADRPT
# The following two tests are not correct:
#{ & { {
#{abc & {abc {abc
-# '{' is always a special char outside bracket expressions. So test ony BRE:
+# '{' is always a special char outside bracket expressions. So test only BRE:
{ b { {
{abc b {abc {abc
{1 C BADRPT
diff --git a/posix/spawn.h b/posix/spawn.h
index 0a6a070523..04cc525fa5 100644
--- a/posix/spawn.h
+++ b/posix/spawn.h
@@ -220,7 +220,7 @@ posix_spawn_file_actions_addclosefrom_np (posix_spawn_file_actions_t *,
int __from)
__THROW __nonnull ((1));
-/* Add an action to set the process group of the forground process group
+/* Add an action to set the process group of the foreground process group
associated with the terminal TCFD. */
extern int
posix_spawn_file_actions_addtcsetpgrp_np (posix_spawn_file_actions_t *,
diff --git a/posix/tst-exec.c b/posix/tst-exec.c
index a8c0ba2e05..2ba4dcdaa3 100644
--- a/posix/tst-exec.c
+++ b/posix/tst-exec.c
@@ -131,7 +131,7 @@ do_test (int argc, char *argv[])
- three parameters left if called through re-execution
+ file descriptor number which is supposed to be closed
+ the open file descriptor
- + the name of the closed desriptor
+ + the name of the closed descriptor
*/
if (restart)
diff --git a/posix/tst-execveat.c b/posix/tst-execveat.c
index 59157ff217..c1aba3886b 100644
--- a/posix/tst-execveat.c
+++ b/posix/tst-execveat.c
@@ -111,14 +111,14 @@ do_test (void)
call_execveat (AT_FDCWD, "/bin/sh", 0, 0, __LINE__);
fd = xopen ("/usr", O_PATH | O_DIRECTORY, 0);
/* Same check for absolute pathname, but with input file descriptor
- openend with different flags. The dirfd should be ignored. */
+ opened with different flags. The dirfd should be ignored. */
call_execveat (fd, "/bin/sh", 0, 0, __LINE__);
xclose (fd);
#endif
fd = xopen ("/usr", O_RDONLY, 0);
/* Same check for absolute pathname, but with input file descriptor
- openend with different flags. The dirfd should be ignored. */
+ opened with different flags. The dirfd should be ignored. */
call_execveat (fd, "/bin/sh", 0, 0, __LINE__);
xclose (fd);
diff --git a/posix/tst-glob_lstat_compat.c b/posix/tst-glob_lstat_compat.c
index 79d83e0ec0..937ad77da3 100644
--- a/posix/tst-glob_lstat_compat.c
+++ b/posix/tst-glob_lstat_compat.c
@@ -43,7 +43,7 @@ compat_symbol_reference (libc, glob, glob, GLIBC_2_0);
#endif
/* Compat glob should not call gl_lstat since for some old binaries it
- might be unitialized (for instance GNUmake). Check if it is indeed
+ might be uninitialized (for instance GNUmake). Check if it is indeed
not called. */
static bool stat_called;
static bool lstat_called;
diff --git a/posix/tst-pcre.c b/posix/tst-pcre.c
index 220baa3bab..e7a33a36a8 100644
--- a/posix/tst-pcre.c
+++ b/posix/tst-pcre.c
@@ -177,7 +177,7 @@ main (int argc, char **argv)
if (!rm_valid)
{
- printf ("%zd: No preceeding pattern or search string\n", linenum);
+ printf ("%zd: No preceding pattern or search string\n", linenum);
ret = 1;
continue;
}
diff --git a/posix/tst-posix_fadvise-common.c b/posix/tst-posix_fadvise-common.c
index fb461d30d2..2a4e4d6a7f 100644
--- a/posix/tst-posix_fadvise-common.c
+++ b/posix/tst-posix_fadvise-common.c
@@ -53,7 +53,7 @@ do_prepare (int argc, char **argv)
FAIL_EXIT1 ("cannot open fifo: %m");
}
-/* Effectivelly testing posix_fadvise is hard because side effects are not
+/* Effectively testing posix_fadvise is hard because side effects are not
observed without checking either performance or any kernel specific
supplied information. Also, the syscall is meant to be an advisory,
so the kernel is free to use this information in any way it deems fit,
diff --git a/posix/tst-regcomp-truncated.c b/posix/tst-regcomp-truncated.c
index cd8f1c5bca..c601ae62d8 100644
--- a/posix/tst-regcomp-truncated.c
+++ b/posix/tst-regcomp-truncated.c
@@ -82,7 +82,7 @@ do_test (void)
/* Arbitrary Unicode codepoint at which we stop generating
characters. We do not probe the whole range because that would
- take too long due to combinatorical exploision as the result of
+ take too long due to combinatorial explosion as the result of
combination with other flags. */
static const wchar_t last_character = 0xfff;
diff --git a/posix/tst-regex.c b/posix/tst-regex.c
index a10785464c..a6684a7744 100644
--- a/posix/tst-regex.c
+++ b/posix/tst-regex.c
@@ -127,7 +127,7 @@ do_test (void)
result |= test_expr ("[äáàâéèêíìîñöóòôüúùû]", 4, 4);
result |= test_expr ("G.ran", 2, 3);
result |= test_expr ("G.\\{1\\}ran", 2, 3);
- result |= test_expr ("G.*ran", 3, 44);
+ result |= test_expr ("G.*ran", 3, 43);
result |= test_expr ("[äáàâ]", 0, 0);
result |= test_expr ("Uddeborg", 2, 2);
result |= test_expr (".Uddeborg", 2, 2);
@@ -511,7 +511,7 @@ run_test_backwards (const char *expr, const char *mem, size_t memlen,
return cnt != expected;
}
-/* If --timing is used we will need a larger timout. */
+/* If --timing is used we will need a larger timeout. */
#define TIMEOUT 50
#define CMDLINE_OPTIONS \
{"timing", no_argument, &timing, 1 },
diff --git a/posix/tst-regex.input b/posix/tst-regex.input
index c48660d23a..1de30b3d52 100644
--- a/posix/tst-regex.input
+++ b/posix/tst-regex.input
@@ -251,9 +251,9 @@
1998-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
- * libio/iofopen64.c: Fix typo. Avoid unnessary casts.
+ * libio/iofopen64.c: Fix typo. Avoid unnecessary casts.
* libio/iopopen.c: Unlink file before freeing it if command
- creation failed. Avoid unnessary casts.
+ creation failed. Avoid unnecessary casts.
* libio/iofdopen.c: Avoid unnecessary cast.
* pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to
_IO_funlockfile.
@@ -276,7 +276,7 @@
1998-08-07 Cristian Gafton <gafton@redhat.com>
- * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file.
+ * pwd/putpwent.c (putpwent): Avoid writing (none) in the passwd file.
* shadow/putspent.c (putspent): Likewise.
* grp/putgrent.c: New file.
* grp/Makefile (routines): Add putgrent.
@@ -300,7 +300,7 @@
1998-08-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* misc/mktemp.c: Add include <stlib.h> for prototype, remove
- unneccessary includes.
+ unnecessary includes.
* misc/mkstemp.c: Likewise.
1998-08-03 16:36 Ulrich Drepper <drepper@cygnus.com>
@@ -402,7 +402,7 @@
as real name for system call and make setresuid a weak alias. Set
caller to seteuid.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
- `setresuid' syscall if availble. Fixes problems with sendmail
+ `setresuid' syscall if available. Fixes problems with sendmail
which expects `seteuid' to not set the saved user ID.
1998-07-30 20:09 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
@@ -2330,7 +2330,7 @@
* sysdeps/mach/hurd/ftruncate.c: Really define function as
__ftruncate.
* sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
- (truncate): Fix function defenition to match prototype.
+ (truncate): Fix function definition to match prototype.
1998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
@@ -3619,7 +3619,7 @@
1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
- * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
+ * sysdeps/unix/bsd/vax/vfork.S: Missed double occurrences of "the
the" in one line - fixed it.
* sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
* sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
@@ -3771,7 +3771,7 @@
1998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com>
- * manual/memory.texi: Add back accidently removed line.
+ * manual/memory.texi: Add back accidentally removed line.
1998-04-25 Mark Kettenis <kettenis@phys.uva.nl>
@@ -3833,7 +3833,7 @@
1998-05-15 Ulrich Drepper <drepper@cygnus.com>
- * iconv/loop.c: Let user add code to use and set paramaters.
+ * iconv/loop.c: Let user add code to use and set parameters.
* iconvdata/iso-2022-kr.c: Correct to-loop.
@@ -4313,7 +4313,7 @@
$(objpfx)sysd-dirs): Move them...
* Makeconfig: ... here.
* Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
- (stubs): Fix circular depedency.
+ (stubs): Fix circular dependency.
(do-makelib): Clean up.
(lib): Don't depend on lib-noranlib.
($(objpfx)stamp.oS): Remove special case for empty
@@ -4533,7 +4533,7 @@
* intl/localealias.c (read_alias_file): Use unsigned char for
local variables. Remove unused variable tp.
* intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
- for type of codeset. For loosing Solaris systems.
+ for type of codeset. For losing Solaris systems.
* intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
* intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
len if not needed.
@@ -4951,7 +4951,7 @@
1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
- * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
+ * Makerules: Change occurrences of `cd dir; cmd' to `cd dir && cmd'.
* Makefile: Likewise.
* posix/Makefile: Likewise.
* sysdeps/mach/hurd/Makefile: Likewise.
@@ -5381,7 +5381,7 @@
* iconv/gconv_builtin.h: Add UCS4 support. Change references to
UCS4 into references to INTERNAL.
* iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
- Add endianess support to UCS functions. Change references to
+ Add endianness support to UCS functions. Change references to
UCS4 into references to INTERNAL.
* iconv/gconv_int.h: Change references to UCS4 into references to
INTERNAL.
@@ -5633,7 +5633,7 @@
1998-04-12 Ulrich Drepper <drepper@cygnus.com>
- * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
+ * iconvdata/sjis.c (gconv): Remove superfluous variable declarations.
* iconvdata/Makefile: Add rules for big5 conversion.
* iconvdata/gconv-modules: Likewise.
@@ -5969,7 +5969,7 @@
1998-04-07 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
- template is wrong. Remove unused varaible `ignored'.
+ template is wrong. Remove unused variable `ignored'.
1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
@@ -6667,7 +6667,7 @@
* elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
* elf/ldd.sh.in: Likewise.
* elf/ldsodefs.h: Declare _dl_correct_cache_id.
- * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
+ * elf/rtld.c (dl_main): In --verify mode allow platform specific action.
Use strsep correctly.
(process_envvars): Allow platform specific variables.
* sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
@@ -7324,7 +7324,7 @@
* sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
Optimize memory handling.
- * sysdeps/unix/closedir.c: Optmize memory handling.
+ * sysdeps/unix/closedir.c: Optimize memory handling.
1998-03-17 Ulrich Drepper <drepper@cygnus.com>
@@ -8495,7 +8495,7 @@
(_mcleanup): Don't call write_gmon if in error state. Don't try
to free array if not successfully allocated.
- * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
+ * elf/dl-load.c (STRING): Define to __STRING to enable expansion.
Include elf.h to get macro definitions.
Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
@@ -9351,7 +9351,7 @@
* login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
directory first and ignore install error.
- * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
+ * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Subtract
128 from ptyno and fix a typo for the BSD style pty.
1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
@@ -9534,7 +9534,7 @@
[PR libc/441]
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
- occurence in cache. Reported by Rudolf Leitgeb
+ occurrence in cache. Reported by Rudolf Leitgeb
<leitgeb@leland.stanford.edu>.
[PR libc/440]
@@ -10309,7 +10309,7 @@
* string/strsignal.c: Add support for real-time signals.
* sysdeps/generic/_strerror.c: Fix Handling of unknown error in
- presense of small buffer.
+ presence of small buffer.
* sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
@@ -11253,7 +11253,7 @@
1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
* sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
- beyound its size.
+ beyond its size.
* sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
* sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
@@ -11371,7 +11371,7 @@
declaration to __syscall_rt_sigaction.
* sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
- non-existant <sigcontext.h>.
+ non-existent <sigcontext.h>.
1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
@@ -11407,7 +11407,7 @@
* Makeconfig: Add shared-thread-library variable.
- * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
+ * math/Makefile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
* sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
here.
* sysdeps/m68k/fpu/e_acos.c: Likewise.
@@ -12313,7 +12313,7 @@
(CFLAGS-locfile.c): Likewise.
Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
- * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
+ * misc/hsearch_r.c (hsearch_r): Avoid indefinitely search for
non-existing entry if the table is full.
* posix/regex.h: Pretty print.
diff --git a/posix/tst-spawn5.c b/posix/tst-spawn5.c
index 1bd1afabcc..6b3d11cf82 100644
--- a/posix/tst-spawn5.c
+++ b/posix/tst-spawn5.c
@@ -269,7 +269,7 @@ do_test (int argc, char *argv[])
+ argv[1]: the application name
+ argv[2]: the lowest file descriptor expected
+ argv[3]: first expected open file descriptor optional
- + argv[n]: last expected open file descritptor optional
+ + argv[n]: last expected open file descriptor optional
* When built with --enable-hardcoded-path-in-tests or issued without
using the loader directly. */
diff --git a/posix/wordexp.c b/posix/wordexp.c
index b34c4a939b..994d79161f 100644
--- a/posix/wordexp.c
+++ b/posix/wordexp.c
@@ -817,8 +817,8 @@ exec_comm_child (char *comm, int *fildes, bool showerr, bool noexec)
__posix_spawn_file_actions_init (&fa);
/* Redirect output. For check syntax only (noexec being true), exec_comm
- explicits sets fildes[1] to -1, so check its value to avoid a failure in
- __posix_spawn_file_actions_adddup2. */
+ explicitly sets fildes[1] to -1, so check its value to avoid a failure
+ in __posix_spawn_file_actions_adddup2. */
if (fildes[1] != -1)
{
if (__glibc_likely (fildes[1] != STDOUT_FILENO))