mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
19 lines
216 B
Plaintext
19 lines
216 B
Plaintext
|
@@
|
||
|
expression fd;
|
||
|
@@
|
||
|
- close(fd);
|
||
|
- fd = -1;
|
||
|
+ fd = safe_close(fd);
|
||
|
@@
|
||
|
expression fd;
|
||
|
@@
|
||
|
- close_nointr(fd);
|
||
|
- fd = -1;
|
||
|
+ fd = safe_close(fd);
|
||
|
@@
|
||
|
expression fd;
|
||
|
@@
|
||
|
- safe_close(fd);
|
||
|
- fd = -1;
|
||
|
+ fd = safe_close(fd);
|