homepage

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 torne
Recipients torne
Date 2010年06月23日.09:51:30
SpamBayes Score 0.0037715265
Marked as misclassified No
Message-id <1277286692.98.0.844862215955.issue9060@psf.upfronthosting.co.za>
In-reply-to
Content
On systems without dup2(), Python tries to compile its own from Python/dup2.c, but this file refers to close() without including unistd.h. This causes it to not compile with newlib (and possibly other C libraries, presumably it was relying on fcntl.h indirectly including it?).
This is probably true of all older versions as well, but Python 2.x doesn't appear to actually bother to compile dup2.c even if the system lacks dup2, so it doesn't actually cause a build error there.
(building python for a semi-freestanding environment is "fun")
History
Date User Action Args
2010年06月23日 09:51:33tornesetrecipients: + torne
2010年06月23日 09:51:32tornesetmessageid: <1277286692.98.0.844862215955.issue9060@psf.upfronthosting.co.za>
2010年06月23日 09:51:31tornelinkissue9060 messages
2010年06月23日 09:51:31tornecreate

AltStyle によって変換されたページ (->オリジナル) /