mirror of
https://github.com/9001/copyparty.git
synced 2026-03-28 11:02:51 +10:00
support ancient glibc
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user