What steps will reproduce the problem?
in a tk program, try key up/down in a listbox, or \n or space on a button.
What is the expected output? What do you see instead?
the selection should move in the listbox, the button should call its command.
but that does not happen.
Which operating system are you using?
latest inferno-os on openbsd. the same probably happens on linux. probably
not in plan 9. atoi() is used for parsing a string of the form "0x%K".
atoi(arg) is strtol(arg, nil, 10) on bsd & linux. on plan 9 it is more like
strtol(arg, nil, 0), handling hexadecimal and octal.
Please provide any additional information below.
the attached patch replaces the atoi calls for parsing 0x%K to strtol calls.
Original issue reported on code.google.com by mechiel@ueber.net on 29 Mar 2011 at 11:27
Original issue reported on code.google.com by
mechiel@ueber.net
on 29 Mar 2011 at 11:27Attachments: