mirror of
https://github.com/systemd/systemd.git
synced 2024-11-28 04:33:36 +08:00
55 lines
724 B
Plaintext
55 lines
724 B
Plaintext
@@
|
|
expression r;
|
|
@@
|
|
- if (r < 0)
|
|
- return r;
|
|
- if (r == 0)
|
|
- return 0;
|
|
+ if (r <= 0)
|
|
+ return r;
|
|
@@
|
|
expression r;
|
|
@@
|
|
- if (r == 0)
|
|
- return 0;
|
|
- if (r < 0)
|
|
- return r;
|
|
+ if (r <= 0)
|
|
+ return r;
|
|
@@
|
|
expression r;
|
|
@@
|
|
- if (r < 0)
|
|
- return r;
|
|
- if (r == 0)
|
|
- return r;
|
|
+ if (r <= 0)
|
|
+ return r;
|
|
@@
|
|
expression r;
|
|
@@
|
|
- if (r == 0)
|
|
- return r;
|
|
- if (r < 0)
|
|
- return r;
|
|
+ if (r <= 0)
|
|
+ return r;
|
|
@@
|
|
expression r;
|
|
@@
|
|
- if (r < 0)
|
|
- return r;
|
|
- if (r > 0)
|
|
- return r;
|
|
+ if (r != 0)
|
|
+ return r;
|
|
@@
|
|
expression r;
|
|
@@
|
|
- if (r > 0)
|
|
- return r;
|
|
- if (r < 0)
|
|
- return r;
|
|
+ if (r != 0)
|
|
+ return r;
|