Date: Wed, 21 Jan 2004 20:33:00 -0800 (PST) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ls print.c Message-ID: <200401220433.i0M4X0rw072682@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2004/01/21 20:33:00 PST
FreeBSD src repository
Modified files:
bin/ls print.c
Log:
Fix alignment of size field in `ls -lh` -- the width was being computed
from log[10](largest file size), but when outputting in human-friendly
format the width is always at most 4. (eg. "123K", " 12K", "1.2K".)
PR: bin/59320
Approved by: rwatson (mentor)
Revision Changes Path
1.67 +2 -2 src/bin/ls/print.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401220433.i0M4X0rw072682>
