##// 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 400 Py_XDECREF(stat);
401 401 error_list:
402 402 closedir(dir);
403 /* closedir also closes its dirfd */
404 goto error_value;
403 405 error_dir:
404 406 #ifdef AT_SYMLINK_NOFOLLOW
405 407 close(dfd);
General Comments 0
You need to be logged in to leave comments. Login now