diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-03-26 13:48:12 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-03-26 13:48:12 -0400 |
commit | 8e377f1ea3471f7c0af3435ba801cb805bf646d2 (patch) | |
tree | c5b57cd339a0b893ccff80cd0430fcf9aa1ea61b /Utility | |
parent | 2e34e1855432e5344aed828790d8b0f850d6bc35 (diff) |
update comment for segmentXargs
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/SafeCommand.hs | 6 |
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 |