Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src fix various typos in compatibility, mainly in comments.
details: https://anonhg.NetBSD.org/src/rev/4578345ab539
branches: trunk
changeset: 985153:4578345ab539
user: andvar <andvar%NetBSD.org@localhost>
date: Mon Aug 09 20:49:08 2021 +0000
description:
fix various typos in compatibility, mainly in comments.
diffstat:
doc/BRANCHES | 4 +-
doc/TODO.modules | 4 +-
include/netdb.h | 4 +-
include/string.h | 4 +-
lib/libc/compat/arch/hppa/sys/compat_sigpending.S | 4 +-
lib/libc/compat/arch/hppa/sys/compat_sigprocmask.S | 4 +-
lib/libc/compat/arch/hppa/sys/compat_sigreturn.S | 4 +-
lib/libc/compat/arch/hppa/sys/compat_sigsuspend.S | 4 +-
lib/libc/gen/isinfd_ieee754.c | 6 +-
lib/libc/gen/isnand_ieee754.c | 6 +-
sys/arch/sandpoint/stand/altboot/brdsetup.c | 6 +-
sys/compat/common/Makefile.sysio | 6 +-
sys/compat/common/files.common | 4 +-
sys/ddb/db_command.h | 4 +-
sys/dev/acpi/acpi_util.c | 6 +-
sys/dev/gpio/gpio.c | 6 +-
sys/dev/i2c/dbcool.c | 6 +-
sys/dev/ic/ath.c | 6 +-
sys/dev/ic/dp8390var.h | 4 +-
sys/dev/ic/sl811hs.c | 6 +-
sys/kern/compat_stub.c | 40 +++++++++++-----------
sys/kern/sys_ptrace_common.c | 6 +-
sys/kern/tty_conf.c | 6 +-
sys/modules/Makefile | 4 +-
sys/net/if.h | 4 +-
sys/net/route.h | 4 +-
sys/netinet/sctp_pcb.h | 4 +-
sys/netipsec/key.h | 4 +-
usr.bin/find/option.c | 8 ++--
usr.sbin/rpc.pcnfsd/README | 4 +-
30 files changed, 91 insertions(+), 91 deletions(-)
diffs (truncated from 783 to 300 lines):
diff -r 6ee847a99603 -r 4578345ab539 doc/BRANCHES
--- a/doc/BRANCHES Mon Aug 09 20:07:23 2021 +0000
+++ b/doc/BRANCHES Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: BRANCHES,v 1.363 2021/08/09 00:32:51 thorpej Exp $
+# $NetBSD: BRANCHES,v 1.364 2021/08/09 20:49:08 andvar Exp $
#
# This file contains a list of branches that exist in the NetBSD CVS
# tree and their current state.
@@ -824,7 +824,7 @@
Scope: src, though all the interesting stuff is in the kernel
Notes: This branch is intended to revive Scheduler Activations
in -current in the 5.0 era. This branch's main goal is
- to re-add syscall compatability so that SA-based libpthread
+ to re-add syscall compatibility so that SA-based libpthread
programs can run with a -current kernel. 1:1 threading will
remain the NetBSD-default. This branch will re-add necessary
upcall support, and will also serve as a chance to clean
diff -r 6ee847a99603 -r 4578345ab539 doc/TODO.modules
--- a/doc/TODO.modules Mon Aug 09 20:07:23 2021 +0000
+++ b/doc/TODO.modules Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: TODO.modules,v 1.23 2021/05/30 02:37:42 pgoyette Exp $ */
+/* $NetBSD: TODO.modules,v 1.24 2021/08/09 20:49:08 andvar Exp $ */
Some notes on the limitations of our current (as of 7.99.35) module
subsystem. This list was triggered by an Email exchange between
@@ -129,7 +129,7 @@
kernel and its modules at /netbsd/kernel and /netbsd/modules/...
Whatever new mechanism we arrive at will probably require changes to
installation procedures and bootstrap code, and will need to handle
- both the new and old mechanisms for compatability.
+ both the new and old mechanisms for compatibility.
One additional option mentioned is to be able to specify, at boot
loader time, an alternate value for the os-release portion of the
diff -r 6ee847a99603 -r 4578345ab539 include/netdb.h
--- a/include/netdb.h Mon Aug 09 20:07:23 2021 +0000
+++ b/include/netdb.h Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netdb.h,v 1.70 2020/06/04 11:21:16 nia Exp $ */
+/* $NetBSD: netdb.h,v 1.71 2021/08/09 20:49:08 andvar Exp $ */
/*
* ++Copyright++ 1980, 1983, 1988, 1993
@@ -151,7 +151,7 @@
int h_addrtype; /*%< host address type */
int h_length; /*%< length of address */
char **h_addr_list; /*%< list of addresses from name server */
-#define h_addr h_addr_list[0] /*%< address, for backward compatiblity */
+#define h_addr h_addr_list[0] /*%< address, for backward compatibility */
};
/*%
diff -r 6ee847a99603 -r 4578345ab539 include/string.h
--- a/include/string.h Mon Aug 09 20:07:23 2021 +0000
+++ b/include/string.h Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: string.h,v 1.52 2018/02/20 02:35:24 kamil Exp $ */
+/* $NetBSD: string.h,v 1.53 2021/08/09 20:49:08 andvar Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -95,7 +95,7 @@
__END_DECLS
#if defined(_NETBSD_SOURCE)
-#include <strings.h> /* for backwards-compatibilty */
+#include <strings.h> /* for backwards-compatibility */
__BEGIN_DECLS
void *memmem(const void *, size_t, const void *, size_t);
char *strcasestr(const char *, const char *);
diff -r 6ee847a99603 -r 4578345ab539 lib/libc/compat/arch/hppa/sys/compat_sigpending.S
--- a/lib/libc/compat/arch/hppa/sys/compat_sigpending.S Mon Aug 09 20:07:23 2021 +0000
+++ b/lib/libc/compat/arch/hppa/sys/compat_sigpending.S Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_sigpending.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */
+/* $NetBSD: compat_sigpending.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
ENTRY(sigpending, 0)
/*
* AFAICT, since the hppa port came after __sigpending14,
- * we shouldn't have to supply the compatability sigpending.
+ * we shouldn't have to supply the compatibility sigpending.
*/
b __cerror
ldi EINVAL, %t1
diff -r 6ee847a99603 -r 4578345ab539 lib/libc/compat/arch/hppa/sys/compat_sigprocmask.S
--- a/lib/libc/compat/arch/hppa/sys/compat_sigprocmask.S Mon Aug 09 20:07:23 2021 +0000
+++ b/lib/libc/compat/arch/hppa/sys/compat_sigprocmask.S Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_sigprocmask.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */
+/* $NetBSD: compat_sigprocmask.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
ENTRY(sigprocmask, 0)
/*
* AFAICT, since the hppa port came after __sigprocmask14,
- * we shouldn't have to supply the compatability sigprocmask.
+ * we shouldn't have to supply the compatibility sigprocmask.
*/
b __cerror
ldi EINVAL, %t1
diff -r 6ee847a99603 -r 4578345ab539 lib/libc/compat/arch/hppa/sys/compat_sigreturn.S
--- a/lib/libc/compat/arch/hppa/sys/compat_sigreturn.S Mon Aug 09 20:07:23 2021 +0000
+++ b/lib/libc/compat/arch/hppa/sys/compat_sigreturn.S Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_sigreturn.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */
+/* $NetBSD: compat_sigreturn.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
ENTRY(sigreturn, 0)
/*
* AFAICT, since the hppa port came after __sigreturn14,
- * we shouldn't have to supply the compatability sigreturn.
+ * we shouldn't have to supply the compatibility sigreturn.
*/
b __cerror
ldi EINVAL, %t1
diff -r 6ee847a99603 -r 4578345ab539 lib/libc/compat/arch/hppa/sys/compat_sigsuspend.S
--- a/lib/libc/compat/arch/hppa/sys/compat_sigsuspend.S Mon Aug 09 20:07:23 2021 +0000
+++ b/lib/libc/compat/arch/hppa/sys/compat_sigsuspend.S Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_sigsuspend.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */
+/* $NetBSD: compat_sigsuspend.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
ENTRY(sigsuspend, 0)
/*
* AFAICT, since the hppa port came after __sigsuspend14,
- * we shouldn't have to supply the compatability sigsuspend.
+ * we shouldn't have to supply the compatibility sigsuspend.
*/
b __cerror
ldi EINVAL, %t1
diff -r 6ee847a99603 -r 4578345ab539 lib/libc/gen/isinfd_ieee754.c
--- a/lib/libc/gen/isinfd_ieee754.c Mon Aug 09 20:07:23 2021 +0000
+++ b/lib/libc/gen/isinfd_ieee754.c Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isinfd_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $ */
+/* $NetBSD: isinfd_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -40,14 +40,14 @@
#if 0
static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: isinfd_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $");
+__RCSID("$NetBSD: isinfd_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#include <machine/ieee.h>
#include <math.h>
-/* libc.so.12 ABI compatbility */
+/* libc.so.12 ABI compatibility */
#ifdef __weak_alias
__weak_alias(isinf,__isinfd)
#endif
diff -r 6ee847a99603 -r 4578345ab539 lib/libc/gen/isnand_ieee754.c
--- a/lib/libc/gen/isnand_ieee754.c Mon Aug 09 20:07:23 2021 +0000
+++ b/lib/libc/gen/isnand_ieee754.c Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isnand_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $ */
+/* $NetBSD: isnand_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -40,14 +40,14 @@
#if 0
static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: isnand_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $");
+__RCSID("$NetBSD: isnand_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#include <machine/ieee.h>
#include <math.h>
-/* libc.so.12 ABI compatbility */
+/* libc.so.12 ABI compatibility */
#ifdef __weak_alias
__weak_alias(isnan,__isnand)
#endif
diff -r 6ee847a99603 -r 4578345ab539 sys/arch/sandpoint/stand/altboot/brdsetup.c
--- a/sys/arch/sandpoint/stand/altboot/brdsetup.c Mon Aug 09 20:07:23 2021 +0000
+++ b/sys/arch/sandpoint/stand/altboot/brdsetup.c Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: brdsetup.c,v 1.39 2017/08/03 19:22:15 phx Exp $ */
+/* $NetBSD: brdsetup.c,v 1.40 2021/08/09 20:49:09 andvar Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -513,7 +513,7 @@
#else
/*
* //// IDE fixup ////
- * - "compatiblity mode" (ide 0x09)
+ * - "compatibility mode" (ide 0x09)
* - remove PCI pin assignment (ide 0x3d)
*/
@@ -652,7 +652,7 @@
#else
/*
* //// IDE fixup -- case B ////
- * - "compatiblity mode" (ide 0x09)
+ * - "compatibility mode" (ide 0x09)
* - IDE primary/secondary interrupt routing (pcib 0x43)
* - PCI interrupt routing (pcib 0x45/44)
* - no PCI pin/line assignment (ide 0x3d/3c)
diff -r 6ee847a99603 -r 4578345ab539 sys/compat/common/Makefile.sysio
--- a/sys/compat/common/Makefile.sysio Mon Aug 09 20:07:23 2021 +0000
+++ b/sys/compat/common/Makefile.sysio Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sysio,v 1.13 2020/01/27 17:09:17 pgoyette Exp $
+# $NetBSD: Makefile.sysio,v 1.14 2021/08/09 20:49:09 andvar Exp $
# Sources for syscall and ioctl compatibility across the versions.
@@ -10,7 +10,7 @@
SRCS+= kern_info_09.c
SRCS+= compat_sysctl_09_43.c # for compat_43 or compat_09
-# Compatability code for NetBSD 1.0
+# Compatibility code for NetBSD 1.0
SRCS+= vfs_syscalls_10.c
# Compatibility code for NetBSD 1.2
@@ -46,7 +46,7 @@
# Compatibility code for NetBSD 7.0
SRCS+= rtsock_70.c uipc_usrreq_70.c
-# Compatability code for NetBSD 8.0
+# Compatibility code for NetBSD 8.0
SRCS+= kern_mod_80.c if_media_80.c
# More compatibility code for NetBSD 5.0
diff -r 6ee847a99603 -r 4578345ab539 sys/compat/common/files.common
--- a/sys/compat/common/files.common Mon Aug 09 20:07:23 2021 +0000
+++ b/sys/compat/common/files.common Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.common,v 1.6 2020/01/21 02:37:16 pgoyette Exp $
+# $NetBSD: files.common,v 1.7 2021/08/09 20:49:09 andvar Exp $
#
# Generic utility files, used by various compat options.
@@ -28,7 +28,7 @@
file compat/common/kern_info_09.c compat_09
file compat/common/compat_sysctl_09_43.c compat_09 | compat_43
-# Compatability code for NetBSD 1.0
+# Compatibility code for NetBSD 1.0
file compat/common/compat_10_mod.c compat_10
file compat/common/vfs_syscalls_10.c compat_10
diff -r 6ee847a99603 -r 4578345ab539 sys/ddb/db_command.h
--- a/sys/ddb/db_command.h Mon Aug 09 20:07:23 2021 +0000
+++ b/sys/ddb/db_command.h Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_command.h,v 1.41 2021/02/23 07:13:53 mrg Exp $ */
+/* $NetBSD: db_command.h,v 1.42 2021/08/09 20:49:09 andvar Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc.
@@ -132,7 +132,7 @@
#define CS_OWN 0x1 /* non-standard syntax */
#define CS_MORE 0x2 /* standard syntax, but may have other
words at end */
-#define CS_COMPAT 0x4 /* is set for compatibilty with old
+#define CS_COMPAT 0x4 /* is set for compatibility with old
ddb versions */
#define CS_SHOW 0x8 /* select show list */
#define CS_MACH 0x10 /* select machine dependent list */
diff -r 6ee847a99603 -r 4578345ab539 sys/dev/acpi/acpi_util.c
--- a/sys/dev/acpi/acpi_util.c Mon Aug 09 20:07:23 2021 +0000
+++ b/sys/dev/acpi/acpi_util.c Mon Aug 09 20:49:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_util.c,v 1.24 2021/02/05 17:12:43 thorpej Exp $ */
+/* $NetBSD: acpi_util.c,v 1.25 2021/08/09 20:49:09 andvar Exp $ */
/*-
* Copyright (c) 2003, 2007, 2021 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_util.c,v 1.24 2021/02/05 17:12:43 thorpej Exp $");
Home |
Main Index |
Thread Index |
Old Index