[New-bugs-announce] [issue3194] Demo/loop.c passing "char *" instead of "wchar_t *"

Rafael Zanella report at bugs.python.org
Wed Jun 25 05:25:26 CEST 2008

New submission from Rafael Zanella <rafael.zanella at yahoo.com.br>:

The Demo/loop.c passes a char pointer (argv[0]) while 
Py_SetProgramName() now expects a wchar_t pointer.

I've attached a patch, the solution on the patch was borrowed,
ok stolen, from Python/frozenmain.c

files: loop_c.diff
keywords: patch
messages: 68715
nosy: zanella
severity: normal
status: open
title: Demo/loop.c passing "char *" instead of "wchar_t *"
type: crash
versions: Python 3.0
Added file: http://bugs.python.org/file10725/loop_c.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list