##// END OF EJS Templates
osutil: fix potential wrong fd close...
Jun Wu -
r31471:95be8b71 default
parent child Browse files
Show More
@@ -400,6 +400,8 b' error:'
400 Py_XDECREF(stat);
400 Py_XDECREF(stat);
401 error_list:
401 error_list:
402 closedir(dir);
402 closedir(dir);
403 /* closedir also closes its dirfd */
404 goto error_value;
403 error_dir:
405 error_dir:
404 #ifdef AT_SYMLINK_NOFOLLOW
406 #ifdef AT_SYMLINK_NOFOLLOW
405 close(dfd);
407 close(dfd);
General Comments 0
You need to be logged in to leave comments. Login now