Message165301
I've attached a new version of the patch:
* copy to tmp buffer instead of argv0_buffer (see comment by Ned)
* add include in pythonw.c to avoid compiler warning
* use _Py_char2wchar instead of blindly casting a char* to a wchar_t*
The behavior is not perfect yet, sys.executable is set to the wrong value (both with and without --symlinks). I haven't checked yet if the value is correct without my patch. |
|
Date |
User |
Action |
Args |
2012-07-12 13:50:11 | ronaldoussoren | set | recipients:
+ ronaldoussoren, vinay.sajip, ned.deily |
2012-07-12 13:50:11 | ronaldoussoren | set | messageid: <1342101011.39.0.776604439246.issue15307@psf.upfronthosting.co.za> |
2012-07-12 13:50:10 | ronaldoussoren | link | issue15307 messages |
2012-07-12 13:50:10 | ronaldoussoren | create | |
|