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.

classification
Title: os.strerror missing/HAVE_STRERROR not defined
Type: compile error Stage:
Components: Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: belopolsky, brett.cannon, schmir
Priority: normal Keywords: patch

Created on 2008-03-18 12:28 by schmir, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue2386.diff belopolsky, 2008-03-18 16:04 Patch against revision 61521
Messages (3)
msg63908 - (view) Author: Ralf Schmitt (schmir) Date: 2008-03-18 12:28
os.strerror is missing on my 64 bit linux.
HAVE_STRERROR is not defined in pyconfig.h.
This has been broken in r61483.
msg63920 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2008-03-18 15:36
Fixed in revision 61523. Thanks for reminding me to remove those
references, Ralf.
msg63932 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2008-03-18 16:04
Attached patch fixes the problem.

Note that the original os.strerror code was not standard compliant.

See e.g.
http://www.opengroup.org/onlinepubs/000095399/functions/strerror.html
History
Date User Action Args
2022-04-11 14:56:32adminsetgithub: 46639
2008-03-18 16:04:58belopolskysetfiles: + issue2386.diff
keywords: + patch
messages: + msg63932
nosy: + belopolsky
2008-03-18 15:36:44brett.cannonsetstatus: open -> closed
assignee: brett.cannon
resolution: fixed
messages: + msg63920
2008-03-18 12:28:03schmircreate