mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -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):
|
def statdir(logger, scandir, lstat, top):
|
||||||
|
lstat = lstat and os.supports_follow_symlinks
|
||||||
try:
|
try:
|
||||||
btop = fsenc(top)
|
btop = fsenc(top)
|
||||||
if scandir and hasattr(os, "scandir"):
|
if scandir and hasattr(os, "scandir"):
|
||||||
|
|
Loading…
Reference in a new issue