mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Fix misspellings in sysdeps/unix -- BZ 25337
Applying this commit results in bit-identical rebuild of libc.so.6 math/libm.so.6 elf/ld-linux-x86-64.so.2 mathvec/libmvec.so.1 Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
@@ -32,7 +32,7 @@ def extract_system_call_name(macro):
|
||||
else:
|
||||
raise ValueError('invalid system call name: {!r}'.format(macro))
|
||||
|
||||
# Matches macros for systme call names.
|
||||
# Matches macros for system call names.
|
||||
RE_SYSCALL = re.compile('__NR_.*')
|
||||
|
||||
# Some __NR_ constants are not real
|
||||
@@ -54,7 +54,7 @@ def kernel_constants(cc):
|
||||
return {extract_system_call_name(name) : int(value)
|
||||
for name, value in glibcextract.compute_macro_consts(
|
||||
'#include <asm/unistd.h>\n'
|
||||
# Regularlize the kernel definitions if necessary.
|
||||
# Regularize the kernel definitions if necessary.
|
||||
'#include <fixup-asm-unistd.h>',
|
||||
cc, macro_re=RE_SYSCALL, exclude_re=RE_PSEUDO_SYSCALL)
|
||||
.items()}
|
||||
|
||||
Reference in New Issue
Block a user