summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Utility/SafeCommand.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Utility/SafeCommand.hs b/Utility/SafeCommand.hs
index a5556200a..22ec883ba 100644
--- a/Utility/SafeCommand.hs
+++ b/Utility/SafeCommand.hs
@@ -114,6 +114,8 @@ segmentXargs l = go l [] 0 []
len = length f
newlen = accumlen + len
- {- 10k of filenames per command, well under Linux's 20k limit;
- - allows room for other parameters etc. -}
+ {- 10k of filenames per command, well under 100k limit
+ - of Linux (and OSX has a similar limit);
+ - allows room for other parameters etc. Also allows for
+ - eg, multibyte characters. -}
maxlen = 10240