Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-25
/
.
/
coccinelle
/
take-fd.cocci
blob: ba242483cd50c7d9f30081fb46fb85af02187303 [
file
] [
log
] [
blame
] [
raw
]
@@
local
idexpression p
;
expression q
;
@@
-
p
=
q
;
-
q
=
-
1
;
-
return
p
;
+
return
TAKE_FD
(
q
);
@@
expression p
,
q
;
@@
-
p
=
q
;
-
q
=
-
1
;
+
p
=
TAKE_FD
(
q
);