mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
Fix regression caused by use of process local file descriptors in windows that did not have their name attribute set correctly
This commit is contained in:
parent
8194487abb
commit
5f42106d46
@ -139,6 +139,7 @@ if not _run_once:
|
||||
flags |= os.O_NOINHERIT
|
||||
fd = os.open(name, flags)
|
||||
ans = os.fdopen(fd, mode, bufsize)
|
||||
ans.name = name
|
||||
else:
|
||||
import fcntl
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user