mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Reported by Alexander Riccio.
This commit is contained in:
parent
9bb0958b23
commit
9b3a2eec1c
2 changed files with 0 additions and 3 deletions
|
@ -3463,7 +3463,6 @@ _listdir_windows_no_opendir(path_t *path, PyObject *list)
|
|||
char *bufptr = namebuf;
|
||||
/* only claim to have space for MAX_PATH */
|
||||
Py_ssize_t len = Py_ARRAY_LENGTH(namebuf)-4;
|
||||
PyObject *po = NULL;
|
||||
wchar_t *wnamebuf = NULL;
|
||||
|
||||
if (!path->narrow) {
|
||||
|
@ -12380,7 +12379,6 @@ enable_symlink()
|
|||
HANDLE tok;
|
||||
TOKEN_PRIVILEGES tok_priv;
|
||||
LUID luid;
|
||||
int meth_idx = 0;
|
||||
|
||||
if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ALL_ACCESS, &tok))
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue