Module Name: src Committed By: andvar Date: Thu Aug 3 20:45:50 UTC 2023
Modified Files: src/lib/libm/src: math_private.h src/lib/librumpuser: rumpuser_daemonize.c src/tests/fs/common: fstest_puffs.c src/tests/lib/librumpclient: h_exec.c t_fd.c src/usr.sbin/altq/tbrconfig: tbrconfig.c src/usr.sbin/puffs/rump_syspuffs: rump_syspuffs.c Log Message: fix typos in comments and one definition, mainly s/sucket/socket/. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/lib/libm/src/math_private.h cvs rdiff -u -r1.7 -r1.8 src/lib/librumpuser/rumpuser_daemonize.c cvs rdiff -u -r1.13 -r1.14 src/tests/fs/common/fstest_puffs.c cvs rdiff -u -r1.6 -r1.7 src/tests/lib/librumpclient/h_exec.c cvs rdiff -u -r1.7 -r1.8 src/tests/lib/librumpclient/t_fd.c cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/altq/tbrconfig/tbrconfig.c cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/puffs/rump_syspuffs/rump_syspuffs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libm/src/math_private.h diff -u src/lib/libm/src/math_private.h:1.26 src/lib/libm/src/math_private.h:1.27 --- src/lib/libm/src/math_private.h:1.26 Sat Aug 27 08:31:59 2022 +++ src/lib/libm/src/math_private.h Thu Aug 3 20:45:49 2023 @@ -11,7 +11,7 @@ /* * from: @(#)fdlibm.h 5.1 93/09/24 - * $NetBSD: math_private.h,v 1.26 2022/08/27 08:31:59 christos Exp $ + * $NetBSD: math_private.h,v 1.27 2023/08/03 20:45:49 andvar Exp $ */ #ifndef _MATH_PRIVATE_H_ @@ -462,7 +462,7 @@ rnintf(float x) * The complications for extra precision are smaller for rnintl() since it * can safely assume that the rounding precision has been increased from * its default to FP_PE on x86. We don't exploit that here to get small - * optimizations from limiting the rangle to double. We just need it for + * optimizations from limiting the range to double. We just need it for * the magic number to work with long doubles. ld128 callers should use * rnint() instead of this if possible. ld80 callers should prefer * rnintl() since for amd64 this avoids swapping the register set, while Index: src/lib/librumpuser/rumpuser_daemonize.c diff -u src/lib/librumpuser/rumpuser_daemonize.c:1.7 src/lib/librumpuser/rumpuser_daemonize.c:1.8 --- src/lib/librumpuser/rumpuser_daemonize.c:1.7 Tue Nov 4 19:05:17 2014 +++ src/lib/librumpuser/rumpuser_daemonize.c Thu Aug 3 20:45:49 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: rumpuser_daemonize.c,v 1.7 2014/11/04 19:05:17 pooka Exp $ */ +/* $NetBSD: rumpuser_daemonize.c,v 1.8 2023/08/03 20:45:49 andvar Exp $ */ /* * Copyright (c) 2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include "rumpuser_port.h" #if !defined(lint) -__RCSID("$NetBSD: rumpuser_daemonize.c,v 1.7 2014/11/04 19:05:17 pooka Exp $"); +__RCSID("$NetBSD: rumpuser_daemonize.c,v 1.8 2023/08/03 20:45:49 andvar Exp $"); #endif /* !lint */ #include <sys/types.h> @@ -71,7 +71,7 @@ rumpuser_daemonize_begin(void) * after rump_init (which creates threads), do it now. Add * a little pipe trickery to make sure we don't exit until the * service is fully inited (i.e. interlocked daemonization). - * Actually, use sucketpair since that allows to easily steer + * Actually, use socketpair since that allows to easily steer * clear of the dreaded sigpipe. * * Note: We do *NOT* host chdir("/"). It's up to the caller to Index: src/tests/fs/common/fstest_puffs.c diff -u src/tests/fs/common/fstest_puffs.c:1.13 src/tests/fs/common/fstest_puffs.c:1.14 --- src/tests/fs/common/fstest_puffs.c:1.13 Wed Jun 17 00:16:21 2020 +++ src/tests/fs/common/fstest_puffs.c Thu Aug 3 20:45:50 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: fstest_puffs.c,v 1.13 2020/06/17 00:16:21 kamil Exp $ */ +/* $NetBSD: fstest_puffs.c,v 1.14 2023/08/03 20:45:50 andvar Exp $ */ /* * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc. @@ -265,7 +265,7 @@ donewfs(const atf_tc_t *tc, void **argp, pflags = &args->pta_pflags; - /* Create sucketpair for communication with the real file server */ + /* Create socketpair for communication with the real file server */ if (socketpair(PF_LOCAL, SOCK_STREAM, 0, sv) == -1) return errno; Index: src/tests/lib/librumpclient/h_exec.c diff -u src/tests/lib/librumpclient/h_exec.c:1.6 src/tests/lib/librumpclient/h_exec.c:1.7 --- src/tests/lib/librumpclient/h_exec.c:1.6 Wed Feb 16 17:57:44 2011 +++ src/tests/lib/librumpclient/h_exec.c Thu Aug 3 20:45:50 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: h_exec.c,v 1.6 2011/02/16 17:57:44 pooka Exp $ */ +/* $NetBSD: h_exec.c,v 1.7 2023/08/03 20:45:50 andvar Exp $ */ /* * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -67,7 +67,7 @@ main(int argc, char *argv[]) } } - /* open and listenize two TCP4 suckets */ + /* open and listenize two TCP4 sockets */ if ((s1 = rump_sys_socket(PF_INET, SOCK_STREAM, 0)) == -1) err(1, "socket 1"); if ((s2 = rump_sys_socket(PF_INET, SOCK_STREAM, 0)) == -1) Index: src/tests/lib/librumpclient/t_fd.c diff -u src/tests/lib/librumpclient/t_fd.c:1.7 src/tests/lib/librumpclient/t_fd.c:1.8 --- src/tests/lib/librumpclient/t_fd.c:1.7 Mon May 13 17:55:08 2019 +++ src/tests/lib/librumpclient/t_fd.c Thu Aug 3 20:45:50 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: t_fd.c,v 1.7 2019/05/13 17:55:08 bad Exp $ */ +/* $NetBSD: t_fd.c,v 1.8 2023/08/03 20:45:50 andvar Exp $ */ /* * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -57,7 +57,7 @@ ATF_TC_HEAD(sigio, tc) "SIGIO"); } -#define RUMPSERV "unix://sucket" +#define RUMPSERV "unix://socket" ATF_TC_CLEANUP(bigenough, tc){system("env RUMP_SERVER=" RUMPSERV " rump.halt");} ATF_TC_CLEANUP(sigio, tc) { system("env RUMP_SERVER=" RUMPSERV " rump.halt"); } Index: src/usr.sbin/altq/tbrconfig/tbrconfig.c diff -u src/usr.sbin/altq/tbrconfig/tbrconfig.c:1.4 src/usr.sbin/altq/tbrconfig/tbrconfig.c:1.5 --- src/usr.sbin/altq/tbrconfig/tbrconfig.c:1.4 Mon Aug 29 20:38:54 2011 +++ src/usr.sbin/altq/tbrconfig/tbrconfig.c Thu Aug 3 20:45:50 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: tbrconfig.c,v 1.4 2011/08/29 20:38:54 joerg Exp $ */ +/* $NetBSD: tbrconfig.c,v 1.5 2023/08/03 20:45:50 andvar Exp $ */ /* $KAME: tbrconfig.c,v 1.3 2001/05/08 04:36:39 itojun Exp $ */ /* * Copyright (C) 2000 @@ -237,7 +237,7 @@ atobytes(const char *s) } /* - * use heuristics to determin the bucket size + * use heuristics to determine the bucket size */ static u_int size_bucket(const char *ifname, const u_int rate) Index: src/usr.sbin/puffs/rump_syspuffs/rump_syspuffs.c diff -u src/usr.sbin/puffs/rump_syspuffs/rump_syspuffs.c:1.13 src/usr.sbin/puffs/rump_syspuffs/rump_syspuffs.c:1.14 --- src/usr.sbin/puffs/rump_syspuffs/rump_syspuffs.c:1.13 Fri Feb 1 09:06:07 2019 +++ src/usr.sbin/puffs/rump_syspuffs/rump_syspuffs.c Thu Aug 3 20:45:50 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: rump_syspuffs.c,v 1.13 2019/02/01 09:06:07 mrg Exp $ */ +/* $NetBSD: rump_syspuffs.c,v 1.14 2023/08/03 20:45:50 andvar Exp $ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -98,7 +98,7 @@ mount_syspuffs_parseargs(int argc, char if (argc < 2) usage(); - /* Create sucketpair for communication with the real file server */ + /* Create socketpair for communication with the real file server */ if (socketpair(PF_LOCAL, SOCK_STREAM, 0, sv) == -1) err(1, "socketpair");