printf limits some strings to 1024 bytes on MaxOSX, silently drops characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

It seems that Dash's printf on macOSX "cuts" strings at 1023 bytes and
still returns 0.

- Got dash on MacOSX with homebrew
(https://homebrew.bintray.com/bottles/dash-0.5.10.2.sierra.bottle)
- I actually don't really have access to a mac, I use TravisCI's OSX
machine (https://travis-ci.org/hammerlab/genspio/builds)

To reproduce, I used these commands: https://pastebin.com/eSSAuMTb

On dash+linux or on bash+osx they seem fine, on dash+osx they don't
output the whole string:
https://pastebin.com/KxW5u73G
(output actually grabed from:
https://travis-ci.org/hammerlab/genspio/jobs/406028025 which also
shows the output form bash+osx)

Thanks
Seb
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux