Message74942
| Author |
loewis |
| Recipients |
amaury.forgeotdarc, loewis, pitrou, yselkowitz |
| Date |
2008年10月17日.22:31:56 |
| SpamBayes Score |
0.0008224371 |
| Marked as misclassified |
No |
| Message-id |
<1224282717.65.0.954079403282.issue3626@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|
History
|
|---|
| 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: <1224282717.65.0.954079403282.issue3626@psf.upfronthosting.co.za> |
| 2008年10月17日 22:31:56 | loewis | link | issue3626 messages |
| 2008年10月17日 22:31:56 | loewis | create |
|