Message241576
| Author |
refi64 |
| Recipients |
chaselton, ethan.furman, freakboy3742, r.david.murray, refi64 |
| Date |
2015年04月20日.00:25:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAO41-mNNmS2FADxhFQRFE8JNQYs4ku-ibY9UWDg6caXJ9wDbkw@mail.gmail.com> |
| In-reply-to |
<1429488971.2.0.0548341115539.issue23496@psf.upfronthosting.co.za> |
| Content |
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>
> _______________________________________
> |
|