Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55aabee commit e4a5e9bCopy full SHA for e4a5e9b
1 file changed
Python/pathconfig.c
@@ -741,7 +741,6 @@ _Py_FindEnvConfigValue(FILE *env_file, const wchar_t *key,
741
char buffer[MAXPATHLEN * 2 + 1]; /* allow extra for key, '=', etc. */
742
buffer[Py_ARRAY_LENGTH(buffer)-1] = '\0';
743
744
- fseek(env_file, 0, SEEK_SET);
745
while (!feof(env_file)) {
746
char * p = fgets(buffer, Py_ARRAY_LENGTH(buffer) - 1, env_file);
747
0 commit comments