> Let's assume we have function fun(...), which returns 0 on success,
> non-0 on failure.
> Therefore checking this function return value like this is probably
> incorrect: <C, <=C, >C, >=C, == C (!0), != C (!0).

Would you like to find a general way for the checking of inappropriate
applications for success/failure predicates in source files?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to