2 ===================================================================
3 --- configure.in (revision 67686)
4 +++ configure.in (working copy)
6 setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \
7 sigaction siginterrupt sigrelse strftime strlcpy \
8 sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
9 - truncate uname unsetenv utimes waitpid wait3 wait4 wcscoll wcsxfrm _getpty)
10 + truncate uname unsetenv utimes waitpid wait3 wait4 wcscoll wcsxfrm _getpty \
11 + _wfopen _wgetcwd _wstat)
13 # For some functions, having a definition is not sufficient, since
14 # we want to take their address.
16 ===================================================================
17 --- Modules/main.c (revision 67686)
18 +++ Modules/main.c (working copy)
20 PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n\
26 _wfopen(const wchar_t *path, const wchar_t *mode)
28 Index: Modules/getpath.c
29 ===================================================================
30 --- Modules/getpath.c (revision 67686)
31 +++ Modules/getpath.c (working copy)
33 static wchar_t *module_search_path = NULL;
34 static wchar_t lib_python[] = L"lib/python" VERSION;
36 -/* In principle, this should use HAVE__WSTAT, and _wstat
37 - should be detected by autoconf. However, no current
38 - POSIX system provides that function, so testing for
43 _wstat(const wchar_t* path, struct stat *buf)
50 +#ifndef HAVE__WGETCWD
52 _wgetcwd(wchar_t *buf, size_t size)