Path : /proc/self/root/usr/share/doc/git/contrib/coccinelle/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : //proc/self/root/usr/share/doc/git/contrib/coccinelle/xopen.cocci |
@@ 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(...); }