From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CFKX6-0006cl-15 for mharc-grub-devel@gnu.org; Wed, 06 Oct 2004 18:45:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CFKX3-0006cb-OL for grub-devel@gnu.org; Wed, 06 Oct 2004 18:45:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CFKX3-0006cI-3K for grub-devel@gnu.org; Wed, 06 Oct 2004 18:45:13 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFKX2-0006c8-Vj for grub-devel@gnu.org; Wed, 06 Oct 2004 18:45:13 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFKQJ-0001NU-Ow for grub-devel@gnu.org; Wed, 06 Oct 2004 18:38:15 -0400 Received: from localhost (charlie.han.nl [145.74.66.9]) by mail-cn.han.nl (Postfix) with ESMTP id 4A6B483D1 for ; Thu, 7 Oct 2004 00:38:15 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by localhost (charlie.han.nl [145.74.66.9]) (amavisd-new, port 10024) with ESMTP id 23502-05 for ; Thu, 7 Oct 2004 00:38:13 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id B5AC38310 for ; Thu, 7 Oct 2004 00:38:13 +0200 (CEST) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 707FEC045 for ; Thu, 7 Oct 2004 00:38:13 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <200410060329.44046.tim.lists@majoroak.f2s.com> <200410061618.45255.tim.lists@majoroak.f2s.com> <87brff97lv.fsf@marco.marco-g.com> <200410062250.23986.tim.lists@majoroak.f2s.com> From: Marco Gerards Date: Wed, 06 Oct 2004 22:38:27 +0000 In-Reply-To: <200410062250.23986.tim.lists@majoroak.f2s.com> (Timothy Baldwin's message of "Wed, 6 Oct 2004 22:50:10 +0100") Message-ID: <87u0t779r0.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new@vscan-cn.han.nl Subject: Re: [patch] Widening terminal coordinates, and reading terminal size. X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 22:45:13 -0000 Timothy Baldwin writes: >> > Would it be better for grub_getxy and grub_getsizexy (or whatever it is >> > called) to handle the case of null pointers, rather than the terminal >> > drivers? >> >> The case of null pointers? I think when you have a nullpointer this >> is a bug, no? > > As it stands, when a result is not wanted, a null pointer may be passed and > will not be dereferneced. In light of you comments the feture will be > removed. It might be useful. Do you think it is useful? Don't remove it just because I am asking for it. ;) Thanks, Marco