1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2@@
3/* We want to stick with dup() in test-fd-util.c */
4position p : script:python() { p[0].file != "src/test/test-fd-util.c" };
5expression fd;
6@@
7- dup@p(fd)
8+ fcntl(fd, F_DUPFD, 3)
9