summaryrefslogtreecommitdiff
path: root/src/fileops.h
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2023-08-03 21:59:54 +0900
committerRyo Nakamura <upa@haeena.net>2023-08-03 21:59:54 +0900
commitfbc817213b418285ff31dfa41cc9f4fc9009fc15 (patch)
tree2782d0dd1f3d622d86fe9b14feabe1b737560df1 /src/fileops.h
parent5a4c043889fbec08122d6a7f440e9292f9830a7d (diff)
use pseudo glob/globfree for remote-glob when musl
musllibc does not implement GLOB_ALTDIRFUNC, so do not call glob for remote sides when libc is musl. test_e2e.py skips test_glob_src_path when running on alpine.
Diffstat (limited to 'src/fileops.h')
-rw-r--r--src/fileops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileops.h b/src/fileops.h
index 0063247..ede9c48 100644
--- a/src/fileops.h
+++ b/src/fileops.h
@@ -50,3 +50,4 @@ int mscp_chmod(const char *path, mode_t mode, sftp_session sftp);
/* remote glob */
int mscp_glob(const char *pattern, int flags, glob_t *pglob, sftp_session sftp);
+void mscp_globfree(glob_t *pglob);