Message174182
Serhiy Storchaka wrote:
> This can be done in compile time. Something like:
>
> if ((uid_t)-1 > 0) ...
Ah, neat. I would have expected that to issue a compiler warning,
though, because the comparison is always true if the type is unsigned,
but at least gcc doesn't seem to warn. |
|
Date |
User |
Action |
Args |
2012-10-30 06:28:21 | petri.lehtinen | set | recipients:
+ petri.lehtinen, pitrou, christian.heimes, ajaksu2, ezio.melotti, r.david.murray, serhiy.storchaka, tzimmo |
2012-10-30 06:28:21 | petri.lehtinen | link | issue2005 messages |
2012-10-30 06:28:20 | petri.lehtinen | create | |
|