Handle multi-line values when dumping the environment
If the value of a environment variable contains a newline, a naive
`sort` will mangle the output.
Use null-terminated chunks to handle newlines properly.
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
Loading
Please register or sign in to comment