1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
openbsd-src/bin/ls
schwarze f96b7276b0 Fix a regression (and POSIX violation) introduced with UTF-8 support:
When neither running on a terminal nor with -q, names must be passed
through as they are, nothing must be replaced with question marks.
Effectively, -q was always in effect.  SMALL was not affected.

Triggered by a different patch from Martijn van Duren <openbsd plus tech
at list dot imperialat dot at>, who confirmed that this version is better.
Identified as a regression by tedu@.
OK sthen@.
2016-01-18 19:06:37 +00:00
..
cmp.c rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 2009-10-27 23:59:19 +00:00
extern.h Support UTF-8: use wcwidth(3) for column adjustment and replace 2015-12-01 18:36:13 +00:00
ls.1 Support UTF-8: use wcwidth(3) for column adjustment and replace 2015-12-01 18:36:13 +00:00
ls.c Support UTF-8: use wcwidth(3) for column adjustment and replace 2015-12-01 18:36:13 +00:00
ls.h Fix column padding of inode numbers and block counts >2^32, as well as 2013-05-30 16:34:32 +00:00
main.c remove some unnecessary sys/cdefs.h inclusions 2012-12-04 02:26:59 +00:00
Makefile Support UTF-8: use wcwidth(3) for column adjustment and replace 2015-12-01 18:36:13 +00:00
print.c Support UTF-8: use wcwidth(3) for column adjustment and replace 2015-12-01 18:36:13 +00:00
utf8.c Fix a regression (and POSIX violation) introduced with UTF-8 support: 2016-01-18 19:06:37 +00:00
util.c Support UTF-8: use wcwidth(3) for column adjustment and replace 2015-12-01 18:36:13 +00:00