chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / python2 / Python-bltinmodule.c.patch
1 diff -u -r ../Python-2.7.10/Python/bltinmodule.c ./Python/bltinmodule.c
2 --- ../Python-2.7.10/Python/bltinmodule.c       2015-05-23 12:09:24.000000000 -0400
3 +++ ./Python/bltinmodule.c      2015-09-16 21:01:23.750245871 -0400
4 @@ -22,7 +22,7 @@
5  #elif defined(__APPLE__)
6  const char *Py_FileSystemDefaultEncoding = "utf-8";
7  #else
8 -const char *Py_FileSystemDefaultEncoding = NULL; /* use default */
9 +const char *Py_FileSystemDefaultEncoding = "utf-8"; /* use default */
10  #endif
11  
12  /* Forward */