Module Name: src
Committed By: christos
Date: Mon May 20 01:33:40 UTC 2024
Modified Files:
src/lib/libc/compat/include: unistd.h
src/lib/libc/compat/sys: compat_dup3.c
Log Message:
finish renaming __dup3110 to __dup3100
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/compat/include/unistd.h
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/compat/sys/compat_dup3.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/libc/compat/include/unistd.h
diff -u src/lib/libc/compat/include/unistd.h:1.4 src/lib/libc/compat/include/unistd.h:1.5
--- src/lib/libc/compat/include/unistd.h:1.4 Sun May 19 18:25:47 2024
+++ src/lib/libc/compat/include/unistd.h Sun May 19 21:33:39 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.4 2024/05/19 22:25:47 christos Exp $ */
+/* $NetBSD: unistd.h,v 1.5 2024/05/20 01:33:39 christos Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@ __BEGIN_DECLS
pid_t vfork(void) __returns_twice;
pid_t __vfork14(void) __returns_twice;
int dup3(int, int, int);
-int __dup3110(int, int, int);
+int __dup3100(int, int, int);
__END_DECLS
Index: src/lib/libc/compat/sys/compat_dup3.c
diff -u src/lib/libc/compat/sys/compat_dup3.c:1.1 src/lib/libc/compat/sys/compat_dup3.c:1.2
--- src/lib/libc/compat/sys/compat_dup3.c:1.1 Sun May 19 18:25:48 2024
+++ src/lib/libc/compat/sys/compat_dup3.c Sun May 19 21:33:40 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_dup3.c,v 1.1 2024/05/19 22:25:48 christos Exp $ */
+/* $NetBSD: compat_dup3.c,v 1.2 2024/05/20 01:33:40 christos Exp $ */
/*-
* Copyright (c) 2024 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: compat_dup3.c,v 1.1 2024/05/19 22:25:48 christos Exp $");
+__RCSID("$NetBSD: compat_dup3.c,v 1.2 2024/05/20 01:33:40 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -45,7 +45,7 @@ int
dup3(int oldfd, int newfd, int flags)
{
if (oldfd != newfd) {
- return __dup3110(oldfd, newfd, flags);
+ return __dup3100(oldfd, newfd, flags);
}
if (flags & (O_NONBLOCK|O_NOSIGPIPE)) {
int e = fcntl(newfd, F_GETFL, 0);