summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-03-26 13:48:12 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-03-26 13:48:12 -0400
commit8e377f1ea3471f7c0af3435ba801cb805bf646d2 (patch)
treec5b57cd339a0b893ccff80cd0430fcf9aa1ea61b
parent2e34e1855432e5344aed828790d8b0f850d6bc35 (diff)
update comment for segmentXargs
-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