mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 13:26:02 +00:00
cleanup (#764)
This commit is contained in:
1 parent
4163b31b02
commit
83ec5708ed
852 files changed
+4844
-46144
No files matched your search
@@ -21,7 +21,6 @@ FAKE = r"""
|
||||
|
||||
int real_opendirs;
|
||||
|
||||
/* COARSE=1: directory stats that never change, like NTFS's whole-second times and fixed size. */
|
||||
static void coarse(const char *path, struct stat *st) {
|
||||
if (getenv("COARSE") && strstr(path, "/fuse/") && S_ISDIR(st->st_mode)) {
|
||||
st->st_mtim = st->st_ctim = (struct timespec){1, 0};
|
||||
@@ -70,7 +69,6 @@ int statfs(const char *path, struct statfs *out) {
|
||||
return r;
|
||||
}
|
||||
|
||||
/* FASTPATH=1: open directories the way the fast-path preload does, through fdopendir. */
|
||||
DIR *opendir(const char *path) {
|
||||
static DIR *(*next)(const char *);
|
||||
if (!next) next = dlsym(RTLD_NEXT, "opendir");
|
||||
|
||||
Reference in new issue
Block a user