CVS commit: src/include/rpcsvc

2024-05-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu May 30 03:33:32 UTC 2024

Modified Files:
src/include/rpcsvc: yp_prot.h

Log Message:
Fix previous comment fix.

 It seems that the work "yppush" was not duplicated.
It was two sentences without period. To make it clear,
add a colon and a newline. Found by rillig@.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/include/rpcsvc/yp_prot.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/include/rpcsvc

2024-05-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu May 30 03:33:32 UTC 2024

Modified Files:
src/include/rpcsvc: yp_prot.h

Log Message:
Fix previous comment fix.

 It seems that the work "yppush" was not duplicated.
It was two sentences without period. To make it clear,
add a colon and a newline. Found by rillig@.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/include/rpcsvc/yp_prot.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/rpcsvc/yp_prot.h
diff -u src/include/rpcsvc/yp_prot.h:1.21 src/include/rpcsvc/yp_prot.h:1.22
--- src/include/rpcsvc/yp_prot.h:1.21	Sun May 12 23:57:11 2024
+++ src/include/rpcsvc/yp_prot.h	Thu May 30 03:33:31 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: yp_prot.h,v 1.21 2024/05/12 23:57:11 msaitoh Exp $	*/
+/*	$NetBSD: yp_prot.h,v 1.22 2024/05/30 03:33:31 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993 Theo de Raadt 
@@ -264,8 +264,9 @@ struct ypbind_setdom {
  * YPPUSH PROTOCOL:
  * 
  * Sun says:
- * "Protocol between clients (ypxfr, only) and yppush
- *  speaks a protocol in the transient range, which
+ * "Protocol between clients (ypxfr, only) and yppush:
+ * 
+ *  yppush speaks a protocol in the transient range, which
  *  is supplied to ypxfr as a command-line parameter when it
  *  is activated by ypserv."
  * 



CVS commit: src/sys/compat/linux/arch

2024-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 29 18:58:01 UTC 2024

Modified Files:
src/sys/compat/linux/arch/aarch64: Makefile
src/sys/compat/linux/arch/alpha: Makefile
src/sys/compat/linux/arch/amd64: Makefile
src/sys/compat/linux/arch/arm: Makefile
src/sys/compat/linux/arch/i386: Makefile
src/sys/compat/linux/arch/m68k: Makefile
src/sys/compat/linux/arch/mips: Makefile
src/sys/compat/linux/arch/powerpc: Makefile
src/sys/compat/linux/arch/sparc: Makefile
src/sys/compat/linux/arch/sparc64: Makefile

Log Message:
should not be using .include <> but .include "" here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/aarch64/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/alpha/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/amd64/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/arm/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/i386/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/m68k/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/mips/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/powerpc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/sparc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/sparc64/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/aarch64/Makefile
diff -u src/sys/compat/linux/arch/aarch64/Makefile:1.1 src/sys/compat/linux/arch/aarch64/Makefile:1.2
--- src/sys/compat/linux/arch/aarch64/Makefile:1.1	Thu Sep 23 02:56:27 2021
+++ src/sys/compat/linux/arch/aarch64/Makefile	Wed May 29 14:58:00 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.1 2021/09/23 06:56:27 ryo Exp $
+#	$NetBSD: Makefile,v 1.2 2024/05/29 18:58:00 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/alpha/Makefile
diff -u src/sys/compat/linux/arch/alpha/Makefile:1.3 src/sys/compat/linux/arch/alpha/Makefile:1.4
--- src/sys/compat/linux/arch/alpha/Makefile:1.3	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/alpha/Makefile	Wed May 29 14:58:00 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.3 2014/04/08 11:39:57 njoly Exp $
+#	$NetBSD: Makefile,v 1.4 2024/05/29 18:58:00 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/amd64/Makefile
diff -u src/sys/compat/linux/arch/amd64/Makefile:1.3 src/sys/compat/linux/arch/amd64/Makefile:1.4
--- src/sys/compat/linux/arch/amd64/Makefile:1.3	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/amd64/Makefile	Wed May 29 14:58:00 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.3 2014/04/08 11:39:57 njoly Exp $ 
+#	$NetBSD: Makefile,v 1.4 2024/05/29 18:58:00 christos Exp $ 
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/arm/Makefile
diff -u src/sys/compat/linux/arch/arm/Makefile:1.2 src/sys/compat/linux/arch/arm/Makefile:1.3
--- src/sys/compat/linux/arch/arm/Makefile:1.2	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/arm/Makefile	Wed May 29 14:58:01 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.2 2014/04/08 11:39:57 njoly Exp $
+#	$NetBSD: Makefile,v 1.3 2024/05/29 18:58:01 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/i386/Makefile
diff -u src/sys/compat/linux/arch/i386/Makefile:1.3 src/sys/compat/linux/arch/i386/Makefile:1.4
--- src/sys/compat/linux/arch/i386/Makefile:1.3	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/i386/Makefile	Wed May 29 14:58:01 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.3 2014/04/08 11:39:57 njoly Exp $
+#	$NetBSD: Makefile,v 1.4 2024/05/29 18:58:01 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/m68k/Makefile
diff -u src/sys/compat/linux/arch/m68k/Makefile:1.3 src/sys/compat/linux/arch/m68k/Makefile:1.4
--- src/sys/compat/linux/arch/m68k/Makefile:1.3	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/m68k/Makefile	Wed May 29 14:58:01 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.3 2014/04/08 11:39:57 njoly Exp $
+#	$NetBSD: Makefile,v 1.4 2024/05/29 18:58:01 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/mips/Makefile
diff -u src/sys/compat/linux/arch/mips/Makefile:1.3 src/sys/compat/linux/arch/mips/Makefile:1.4
--- src/sys/compat/linux/arch/mips/Makefile:1.3	Tue Apr  8 07:39:57 2014
+++ src/sys/compat/linux/arch/mips/Makefile	Wed May 29 14:58:01 2024
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile,v 1.3 2014/04/08 11:39:57 njoly Exp $
+#	$NetBSD: Makefile,v 1.4 2024/05/29 18:58:01 christos Exp $
 
-.include <../../Makefile.inc>
+.include "../../Makefile.inc"

Index: src/sys/compat/linux/arch/powerpc/Makefile
diff -u 

CVS commit: src/sys/compat/linux/arch

2024-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 29 18:58:01 UTC 2024

Modified Files:
src/sys/compat/linux/arch/aarch64: Makefile
src/sys/compat/linux/arch/alpha: Makefile
src/sys/compat/linux/arch/amd64: Makefile
src/sys/compat/linux/arch/arm: Makefile
src/sys/compat/linux/arch/i386: Makefile
src/sys/compat/linux/arch/m68k: Makefile
src/sys/compat/linux/arch/mips: Makefile
src/sys/compat/linux/arch/powerpc: Makefile
src/sys/compat/linux/arch/sparc: Makefile
src/sys/compat/linux/arch/sparc64: Makefile

Log Message:
should not be using .include <> but .include "" here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/aarch64/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/alpha/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/amd64/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/arm/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/i386/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/m68k/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/mips/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/powerpc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/sparc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/sparc64/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib

2024-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 29 13:35:12 UTC 2024

Modified Files:
src/lib: checkoldver

Log Message:
Improve robustness (from kre@)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/checkoldver

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib

2024-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 29 13:35:12 UTC 2024

Modified Files:
src/lib: checkoldver

Log Message:
Improve robustness (from kre@)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/checkoldver

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/checkoldver
diff -u src/lib/checkoldver:1.4 src/lib/checkoldver:1.5
--- src/lib/checkoldver:1.4	Tue May 28 12:20:34 2024
+++ src/lib/checkoldver	Wed May 29 09:35:12 2024
@@ -1,5 +1,5 @@
 #!/bin/sh
-#	$NetBSD: checkoldver,v 1.4 2024/05/28 16:20:34 christos Exp $
+#	$NetBSD: checkoldver,v 1.5 2024/05/29 13:35:12 christos Exp $
 #
 # Copyright (c) 2002 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -47,16 +47,14 @@ delete() {
 	then
 		obsol="$obsol.$4"
 	fi
-	echo $PWD/$obsol
+	printf "${PWD}/${obsol}\n"
 }
 
 comparelib() {
 	local name="${1%.so.*}"
-	local version=${1#*.so.}
-	OIFS="$IFS"
-	IFS="$IFS."
+	local version="${1#"${name}"*.so.}"
+	local IFS=.
 	set -- $version
-	IFS="$OIFS"
 
 	if [ -z "$libmajor" ]
 	then



CVS commit: src/sys/modules/compat_100

2024-05-29 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Wed May 29 06:47:23 UTC 2024

Modified Files:
src/sys/modules/compat_100: Makefile

Log Message:
The module also needs the syscall for old dup3.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/modules/compat_100/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/modules/compat_100/Makefile
diff -u src/sys/modules/compat_100/Makefile:1.2 src/sys/modules/compat_100/Makefile:1.3
--- src/sys/modules/compat_100/Makefile:1.2	Tue Sep  5 14:49:46 2023
+++ src/sys/modules/compat_100/Makefile	Wed May 29 06:47:23 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2023/09/05 14:49:46 christos Exp $
+#	$NetBSD: Makefile,v 1.3 2024/05/29 06:47:23 mlelstv Exp $
 
 .include "../Makefile.inc"
 
@@ -8,6 +8,6 @@ KMOD=	compat_100
 
 CPPFLAGS+=	-DCOMPAT_100
 
-SRCS+=	compat_100_mod.c kern_event_100.c
+SRCS+=	compat_100_mod.c kern_event_100.c sys_descrip_100.c
 
 .include 



CVS commit: src/sys/modules/compat_100

2024-05-29 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Wed May 29 06:47:23 UTC 2024

Modified Files:
src/sys/modules/compat_100: Makefile

Log Message:
The module also needs the syscall for old dup3.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/modules/compat_100/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.