]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/dup-fcntl.cocci
fix(journal-gatewayd): use relative urls (not starting with '/')
[thirdparty/systemd.git] / coccinelle / dup-fcntl.cocci
1 @@
2 /* We want to stick with dup() in test-fd-util.c */
3 position p : script:python() { p[0].file != "src/test/test-fd-util.c" };
4 expression fd;
5 @@
6 - dup@p(fd)
7 + fcntl(fd, F_DUPFD, 3)