Message241576
On Sun, Apr 19, 2015 at 7:16 PM, Cyd Haselton <report@bugs.python.org>
wrote:
>
> Cyd Haselton added the comment:
>
> Ryan,
> Found the missing fix.
>
> In ./Programs/python.c
>
> #ifndef __ANDROID__
> oldloc = _PyMem_RawStrdup(setlocale(LC_ALL, NULL));
> if (!oldloc) {
> fprintf(stderr, "out of memory\n");
> return 1;
> }
> #endif
>
> Added the #ifndef __ANDROID__ #endif around lines 46-51
>
>
...that was in android_segfault_fix.patch...
are you sure you're on the same commit as I am?
> I'm now looking at the following syntax error:
>
> File "./setup.py", line 1950
> elif host_platform.startswith('arm-linux')
> ^
> SyntaxError: invalid syntax
> make: *** [sharedmods] Error 1
>
>
I forgot to put a colon and the end of the line. I'll upload a fixed
"kbox_fixes.patch".
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue23496>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2015-04-20 00:25:24 | refi64 | set | recipients:
+ refi64, r.david.murray, freakboy3742, ethan.furman, chaselton |
2015-04-20 00:25:24 | refi64 | link | issue23496 messages |
2015-04-20 00:25:24 | refi64 | create | |
|