1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2025-04-21 12:27:27 +03:00

alpy: fix crash-bug in remove_counter(), remove workarounds in demo.py

This commit is contained in:
David Kühling
2012-04-01 23:56:58 +02:00
parent fe3094b009
commit d439fec5a1
2 changed files with 35 additions and 38 deletions

View File

@@ -1,7 +1,16 @@
Index: Alpy-0.1.5/_alpymodule.c
===================================================================
--- Alpy-0.1.5.orig/_alpymodule.c 2012-03-30 01:32:30.846018939 +0200
+++ Alpy-0.1.5/_alpymodule.c 2012-03-30 01:32:46.162091430 +0200
--- Alpy-0.1.5.orig/_alpymodule.c 2012-03-30 02:24:26.096706083 +0200
+++ Alpy-0.1.5/_alpymodule.c 2012-04-01 23:30:51.281818550 +0200
@@ -988,7 +988,7 @@
char* name;
int i;
- if(!PyArg_ParseTuple(args, "et", &name)) {
+ if(!PyArg_ParseTuple(args, "et", _utf8, &name)) {
return NULL;
}
@@ -1194,7 +1194,7 @@
break;
}