This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients amaury.forgeotdarc, loewis, pitrou, yselkowitz
Date 2008-10-17.22:31:56
SpamBayes Score 0.000822437
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:57loewissetrecipients: + loewis, amaury.forgeotdarc, pitrou, yselkowitz
2008-10-17 22:31:57loewissetmessageid: <1224282717.65.0.954079403282.issue3626@psf.upfronthosting.co.za>
2008-10-17 22:31:56loewislinkissue3626 messages
2008-10-17 22:31:56loewiscreate