Fix "ls -Z . toys" segfaulting, because preprocessing skipped.
authorRob Landley <rob@landley.net>
Mon, 18 May 2015 19:48:11 +0000 (14:48 -0500)
committerRob Landley <rob@landley.net>
Mon, 18 May 2015 19:48:11 +0000 (14:48 -0500)
commit821f31d237e0232c2810a5ed90889a1ea57134fb
tree5f05e6788d143330cb99b59010151d2b0c6999f3
parenta8ee470ae3361bb8e6e364f0e8adf61259371e95
Fix "ls -Z . toys" segfaulting, because preprocessing skipped.

strwidth() got called on ->extra which was NULL. Had some other bad effects
ala "ls -sk file1 file2 file3" ignored the -k. This should fix that too.
toys/posix/ls.c