mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Merged revisions 64214 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r64214 | amaury.forgeotdarc | 2008-06-13 02:42:22 +0200 (ven., 13 juin 2008) | 6 lines Restore support for Microsoft VC6 compiler. Some functions in the msvcrt module are skipped, and socket.ioctl is enabled only when using a more recent Platform SDK. (and yes, there are still companies that use a 10-years old compiler) ........
This commit is contained in:
parent
e68df0fbe5
commit
3d17a5c5ae
9 changed files with 35 additions and 53 deletions
|
@ -117,8 +117,7 @@ reduce(wchar_t *dir)
|
|||
static int
|
||||
exists(wchar_t *filename)
|
||||
{
|
||||
struct _stat64 buf;
|
||||
return _wstat64(filename, &buf) == 0;
|
||||
return GetFileAttributesW(filename) != 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
/* Assumes 'filename' MAXPATHLEN+1 bytes long -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue