From owner-cvs-src-old@FreeBSD.ORG Tue Jul 12 23:49:18 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 607EE106564A for ; Tue, 12 Jul 2011 23:49:18 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 508C98FC14 for ; Tue, 12 Jul 2011 23:49:18 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p6CNnIq6052643 for ; Tue, 12 Jul 2011 23:49:18 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p6CNnIZj052642 for cvs-src-old@freebsd.org; Tue, 12 Jul 2011 23:49:18 GMT (envelope-from obrien@repoman.freebsd.org) Message-Id: <201107122349.p6CNnIZj052642@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to obrien@repoman.freebsd.org using -f From: "David E. O'Brien" Date: Tue, 12 Jul 2011 23:48:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/usr.bin/wall wall.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2011 23:49:18 -0000 obrien 2011-07-12 23:48:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/wall wall.c Log: SVN rev 223970 on 2011-07-12 23:48:57Z by obrien MFC: + r223940 (as r223969): If one's message is longer than the buffer size, then we reset 'cnt' at the wrong point and the actual column # get out of sync across the buffer size. + r175346: Handle wrapping correctly when \r appears in the input, and don't remove the \r from the output. For lines longer than 79 characters, don't drop every 80th character. Revision Changes Path 1.24.2.1 +15 -7 src/usr.bin/wall/wall.c