mirror of
https://github.com/rclone/rclone.git
synced 2025-12-15 15:53:41 +00:00
mount, cmount: don't pass huge filenames (>4k) to FUSE as it can't cope
This commit is contained in:
@@ -38,6 +38,11 @@ var (
|
||||
DaemonTimeout time.Duration // OSXFUSE only
|
||||
)
|
||||
|
||||
// Global constants
|
||||
const (
|
||||
MaxLeafSize = 4095 // don't pass file names longer than this
|
||||
)
|
||||
|
||||
func init() {
|
||||
// DaemonTimeout defaults to non zero for macOS
|
||||
if runtime.GOOS == "darwin" {
|
||||
|
||||
Reference in New Issue
Block a user