From owner-cvs-src@FreeBSD.ORG Wed Aug 20 12:32:22 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43EB31065678; Wed, 20 Aug 2008 12:32:22 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2DA778FC13; Wed, 20 Aug 2008 12:32:22 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7KCWMT3063029; Wed, 20 Aug 2008 12:32:22 GMT (envelope-from ache@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7KCWMKO063028; Wed, 20 Aug 2008 12:32:22 GMT (envelope-from ache@repoman.freebsd.org) Message-Id: <200808201232.m7KCWMKO063028@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ache@repoman.freebsd.org using -f From: "Andrey A. Chernov" Date: Wed, 20 Aug 2008 12:32:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/w pr_time.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 12:32:22 -0000 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 Revision Changes Path 1.20 +2 -1 src/usr.bin/w/pr_time.c