From owner-svn-src-head@FreeBSD.ORG Mon Jul 28 14:37:33 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7ADF36D5; Mon, 28 Jul 2014 14:37:33 +0000 (UTC) Received: from fep22.mx.upcmail.net (fep22.mx.upcmail.net [62.179.121.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3D03B21DD; Mon, 28 Jul 2014 14:37:31 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep22-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20140728143724.FZBW10910.viefep22-int.chello.at@edge04.upcmail.net>; Mon, 28 Jul 2014 16:37:24 +0200 Received: from mole.fafoe.narf.at ([80.109.55.137]) by edge04.upcmail.net with edge id XqdP1o01g2xdvHc03qdPvm; Mon, 28 Jul 2014 16:37:24 +0200 X-SourceIP: 80.109.55.137 Received: by mole.fafoe.narf.at (Postfix, from userid 1001) id 51CA26D47C; Mon, 28 Jul 2014 16:37:23 +0200 (CEST) Date: Mon, 28 Jul 2014 16:37:23 +0200 From: Stefan Farfeleder To: Aleksandr Rybalko Subject: Re: svn commit: r269188 - head/sys/dev/vt Message-ID: <20140728143722.GB1263@mole.fafoe.narf.at> References: <201407281422.s6SEMYuC087922@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201407281422.s6SEMYuC087922@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2014 14:37:33 -0000 On Mon, Jul 28, 2014 at 02:22:34PM +0000, Aleksandr Rybalko wrote: > Author: ray > Date: Mon Jul 28 14:22:34 2014 > New Revision: 269188 > URL: http://svnweb.freebsd.org/changeset/base/269188 > > Log: > Avoid embedding buffers into static virtual terminal window. > > MFC after: 1 week > Sponsored by: The FreeBSD Foundation > > Modified: > head/sys/dev/vt/vt_core.c > > Modified: head/sys/dev/vt/vt_core.c > ============================================================================== > --- head/sys/dev/vt/vt_core.c Mon Jul 28 14:20:31 2014 (r269187) > +++ head/sys/dev/vt/vt_core.c Mon Jul 28 14:22:34 2014 (r269188) > @@ -166,8 +166,8 @@ static struct vt_window vt_conswindow = > .vw_number = VT_CONSWINDOW, > .vw_flags = VWF_CONSOLE, > .vw_buf = { > - .vb_buffer = vt_constextbuf, > - .vb_rows = vt_constextbufrows, > + .vb_buffer = &vt_constextbuf[0], > + .vb_rows = &vt_constextbufrows[0], > .vb_history_size = VBF_DEFAULT_HISTORY_SIZE, > .vb_curroffset = 0, > .vb_roffset = 0, > Hi Aleksandr, What's that supposed to change exactly? I'd be very surprised if it didn't produce the same binary code. BR, Stefan