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 csernazs
Recipients csernazs, skrah
Date 2010-07-07.09:48:02
SpamBayes Score 5.264647e-05
Marked as misclassified No
Message-id <1278496084.18.0.689990648205.issue9185@psf.upfronthosting.co.za>
In-reply-to
Content
You are right, but this bug could be easily avoided by using one of the suggested solutions. In my experience a fix sized buffer (whose size is MAXLPATHLEN - or 1024 if not defined) is usually passed to getcwd and the errno is propagated back to the caller if the result is NULL.

While getcwd() is buggy on solaris I think it's not the correct behavior from python to get to an infinite loop and eat up the memory.
History
Date User Action Args
2010-07-07 09:48:04csernazssetrecipients: + csernazs, skrah
2010-07-07 09:48:04csernazssetmessageid: <1278496084.18.0.689990648205.issue9185@psf.upfronthosting.co.za>
2010-07-07 09:48:03csernazslinkissue9185 messages
2010-07-07 09:48:02csernazscreate