Kaydet (Commit) 22822d78 authored tarafından Guido van Rossum's avatar Guido van Rossum

forgot to rename import_filetab

üst d0e8436e
...@@ -25,7 +25,7 @@ FILE *PyWin_FindRegisteredModule( const char *moduleName, struct filedescr **ppF ...@@ -25,7 +25,7 @@ FILE *PyWin_FindRegisteredModule( const char *moduleName, struct filedescr **ppF
if (RegQueryValue(keyBase, moduleKey, pathBuf, &modNameSize)!=ERROR_SUCCESS) if (RegQueryValue(keyBase, moduleKey, pathBuf, &modNameSize)!=ERROR_SUCCESS)
return NULL; return NULL;
// use the file extension to locate the type entry. // use the file extension to locate the type entry.
for (fdp = import_filetab; fdp->suffix != NULL; fdp++) { for (fdp = _PyImport_Filetab; fdp->suffix != NULL; fdp++) {
int extLen=strlen(fdp->suffix); int extLen=strlen(fdp->suffix);
if (modNameSize>extLen && strnicmp(pathBuf+(modNameSize-extLen-1),fdp->suffix,extLen)==0) if (modNameSize>extLen && strnicmp(pathBuf+(modNameSize-extLen-1),fdp->suffix,extLen)==0)
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment