Message211052
| Author |
Jeffrey.Armstrong |
| Recipients |
Jeffrey.Armstrong, serhiy.storchaka, vstinner |
| Date |
2014年02月12日.01:03:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1392167013.98.0.786112075875.issue20596@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Based on the comments thus far, I've gone ahead with another version of this patch. Py_WCSTOK is now defined regardless of OS. For Windows, it chooses between MSVC's wcstok_s, Open Watcom's wcstok, and MinGW's/misc's two-argument wcstok. If the platform isn't Windows, it defaults to the POSIX-like three-argument wcstok (same as Open Watcom's, actually).
The wcstok functionality is really only used in three places: PC/getpathp.c, Modules/getpath.c, and Modules/main.c. This patch changes the calls to Py_WCSTOK in all cases.
I appreciate the consideration and input this patch is receiving. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年02月12日 01:03:34 | Jeffrey.Armstrong | set | recipients:
+ Jeffrey.Armstrong, vstinner, serhiy.storchaka |
| 2014年02月12日 01:03:33 | Jeffrey.Armstrong | set | messageid: <1392167013.98.0.786112075875.issue20596@psf.upfronthosting.co.za> |
| 2014年02月12日 01:03:33 | Jeffrey.Armstrong | link | issue20596 messages |
| 2014年02月12日 01:03:33 | Jeffrey.Armstrong | create |
|