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