cvs commit: src/usr.bin/w pr_time.c

Andrey A. Chernov ache at FreeBSD.org
Wed Aug 20 12:32:22 UTC 2008


ache        2008-08-20 12:32:19 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/w            pr_time.c 
  Log:
  SVN rev 181922 on 2008-08-20 12:32:19Z by ache
  
  w(1) uses strftime %b with to print the abbreviated month name
  if a user logged in more than a week ago.
  This may contain multibyte characters (e.g. when using UTF-8).
  This string is then aligned on byte-length rathern than char-length,
  resulting in misalignment and unfinished multibyte characters.
  
  PR:             126657
  Submitted by:   Johan van Selst <johans at stack.nl>
  
  Revision  Changes    Path
  1.20      +2 -1      src/usr.bin/w/pr_time.c


More information about the cvs-src mailing list