mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
support ancient glibc
This commit is contained in:
parent
15b5982211
commit
03efc6a169
|
@ -1014,6 +1014,7 @@ def sendfile_kern(lower, upper, f, s):
|
|||
|
||||
|
||||
def statdir(logger, scandir, lstat, top):
|
||||
lstat = lstat and os.supports_follow_symlinks
|
||||
try:
|
||||
btop = fsenc(top)
|
||||
if scandir and hasattr(os, "scandir"):
|
||||
|
|
Loading…
Reference in a new issue