aboutsummaryrefslogtreecommitdiff
path: root/toys/other/mkswap.c
diff options
context:
space:
mode:
authorAndrew Ilijic <ilijic.andrew@gmail.com>2019-10-17 11:03:19 -0400
committerRob Landley <rob@landley.net>2019-10-17 16:03:18 -0500
commit0b34a5637d91428ef5d87769a4c2698d7a1c2b0f (patch)
tree1bfb0b0f23f14a3d590b23eaa4a9de1b388cd9e6 /toys/other/mkswap.c
parent84f5ee5efa546eb6919033195a36561e5b0e667b (diff)
downloadtoybox-0b34a5637d91428ef5d87769a4c2698d7a1c2b0f.tar.gz
ls: Ensure file names are separated by 2 spaces
We need two spaces between filenames because that is the convention followed by other implementations. More importantly, if we do not have two spaces, certain Unicode file names cause filenames to run together. In Unicode, combining characters come before the character they modify. If a filename ends in a combining character, the combining character attaches to the space that follows it, causing the space not to be visible. Having a two-space gap stops the above issue from happening. For context and a bit more information, see mailing list link below. https://www.mail-archive.com/toybox@lists.landley.net/msg05986.html
Diffstat (limited to 'toys/other/mkswap.c')
0 files changed, 0 insertions, 0 deletions