Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 309374 Details for
Bug 451494
Listdir function fails randomly due to mislocated errno assignment [patch included]
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix the problem of listdir mistakenly thinking error occurred
python-2.5.1-listdir.patch (text/plain), 472 bytes, created by
Philip Spencer
on 2008-06-14 22:28:28 UTC
(
hide
)
Description:
Patch to fix the problem of listdir mistakenly thinking error occurred
Filename:
MIME Type:
Creator:
Philip Spencer
Created:
2008-06-14 22:28:28 UTC
Size:
472 bytes
patch
obsolete
>--- Python-2.5.1/Modules/posixmodule.c.orig 2007-04-04 14:30:56.000000000 -0400 >+++ Python-2.5.1/Modules/posixmodule.c 2008-06-14 17:35:47.000000000 -0400 >@@ -2160,7 +2160,6 @@ > struct dirent *ep; > int arg_is_unicode = 1; > >- errno = 0; > if (!PyArg_ParseTuple(args, "U:listdir", &v)) { > arg_is_unicode = 0; > PyErr_Clear(); >@@ -2176,6 +2175,7 @@ > return NULL; > } > for (;;) { >+ errno = 0; > Py_BEGIN_ALLOW_THREADS > ep = readdir(dirp); > Py_END_ALLOW_THREADS
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 451494
: 309374