Message74942
IIUC, another error return value (besides -1) is PATH_MAX, meaning that
the buffer would overrun; correct me if I'm wrong. If I'm not, I propose
that they get handles similarly.
In addition, it might be safer to compare to (size_t)-1 (I keep
forgetting whether this is the default when comparing signed and
unsigned - some compilers warn about comparisong with mixed signs). |
|
| Date |
User |
Action |
Args |
| 2008-10-17 22:31:57 | loewis | set | recipients:
+ loewis, amaury.forgeotdarc, pitrou, yselkowitz |
| 2008-10-17 22:31:57 | loewis | set | messageid: <[email protected]> |
| 2008-10-17 22:31:56 | loewis | link | issue3626 messages |
| 2008-10-17 22:31:56 | loewis | create | |
|