Message174182
| Author |
petri.lehtinen |
| Recipients |
ajaksu2, christian.heimes, ezio.melotti, petri.lehtinen, pitrou, r.david.murray, serhiy.storchaka, tzimmo |
| Date |
2012年10月30日.06:28:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<20121030062817.GA1349@p29> |
| In-reply-to |
<1351545438.45.0.796633248986.issue2005@psf.upfronthosting.co.za> |
| Content |
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. |
|