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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, ocean-city
Date 2008-09-09.12:28:30
SpamBayes Score 0.027736444
Marked as misclassified No
Message-id <1220963377.52.0.298132665624.issue3813@psf.upfronthosting.co.za>
In-reply-to
Content
http://man.he.net/man3/readlink says: "Conforming applications should
not assume that the returned contents of the symbolic link are
null-terminated"

cygwin is not broken, but very (too much?) conforming in this case ;-)

I think your second patch is the correct one, just keep the "return
(int)r1;" because the return value is stored in a "linklen" variable.
History
Date User Action Args
2008-09-09 12:29:37amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, ocean-city
2008-09-09 12:29:37amaury.forgeotdarcsetmessageid: <1220963377.52.0.298132665624.issue3813@psf.upfronthosting.co.za>
2008-09-09 12:28:31amaury.forgeotdarclinkissue3813 messages
2008-09-09 12:28:30amaury.forgeotdarccreate