File manager - Edit - /usr/share/doc/git/contrib/coccinelle/xopen.cocci
Back
@@ identifier fd; identifier die_fn =~ "^(die|die_errno)$"; @@ int fd = - open + xopen (...); - if ( \( fd < 0 \| fd == -1 \) ) { die_fn(...); } @@ expression fd; identifier die_fn =~ "^(die|die_errno)$"; @@ fd = - open + xopen (...); - if ( \( fd < 0 \| fd == -1 \) ) { die_fn(...); }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings