Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Apr 2026 08:23:19 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e56858f05fd7 - main - posix_spawn test: switch to POSIX spelling for addchdir and addfchdir
Message-ID:  <69cf78f7.33b03.251304b5@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=e56858f05fd7071a39de7f7b1e632426fdf0624d

commit e56858f05fd7071a39de7f7b1e632426fdf0624d
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-04-03 02:56:19 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-04-03 08:22:53 +0000

    posix_spawn test: switch to POSIX spelling for addchdir and addfchdir
    
    Reviewed by:    dim
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D56222
---
 contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c b/contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c
index ce2078eae98e..58feb4f209ff 100644
--- a/contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c
+++ b/contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c
@@ -405,12 +405,12 @@ t_spawn_chdir_impl(bool chdir)
 	posix_spawn_file_actions_addopen(&fa, fileno(stdout),
 	    TESTFILE, O_WRONLY | O_CREAT, 0600);
 	if (chdir) {
-		ATF_REQUIRE(posix_spawn_file_actions_addchdir_np(&fa,
+		ATF_REQUIRE(posix_spawn_file_actions_addchdir(&fa,
 		    tmp_path) == 0);
 	} else {
 		tmpdir_fd = open(tmp_path, O_DIRECTORY | O_RDONLY);
 		ATF_REQUIRE(tmpdir_fd > 0);
-		ATF_REQUIRE(posix_spawn_file_actions_addfchdir_np(&fa,
+		ATF_REQUIRE(posix_spawn_file_actions_addfchdir(&fa,
 		    tmpdir_fd) == 0);
 	}
 	err = posix_spawn(&pid, bin_pwd, &fa, NULL, args, NULL);


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cf78f7.33b03.251304b5>