cvs commit: src/bin/ls print.c

Colin Percival cperciva at FreeBSD.org
Wed Jan 21 20:33:02 PST 2004


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


More information about the cvs-all mailing list