From owner-cvs-all Thu Oct 17 21: 7:13 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4701F37B401; Thu, 17 Oct 2002 21:07:12 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F137A43E65; Thu, 17 Oct 2002 21:07:10 -0700 (PDT) (envelope-from dd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9I46xmV015272; Thu, 17 Oct 2002 21:06:59 -0700 (PDT) (envelope-from dd@repoman.freebsd.org) Received: (from dd@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9I46xfN015271; Thu, 17 Oct 2002 21:06:59 -0700 (PDT) Message-Id: <200210180406.g9I46xfN015271@repoman.freebsd.org> From: Dima Dorfman Date: Thu, 17 Oct 2002 21:06:59 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ls print.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dd 2002/10/17 21:06:59 PDT Modified files: bin/ls print.c Log: Output "human-readable" values with a non-0 precision where appropriate. Before this, a 2.9 GB file was misleadingly reported as "2G". This mostly brings unit_adjust() in line with what is in du(1). Reviewed by: jmallett Approved by: nik Revision Changes Path 1.58 +9 -7 src/bin/ls/print.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message