Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jx0rJ-00048h-1n for qemu-devel@nongnu.org; Fri, 16 May 2008 10:24:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jx0rH-00048O-EF for qemu-devel@nongnu.org; Fri, 16 May 2008 10:24:32 -0400 Received: from [199.232.76.173] (port=43727 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jx0rH-00048I-6v for qemu-devel@nongnu.org; Fri, 16 May 2008 10:24:31 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:28635) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jx0rG-0003fT-Ts for qemu-devel@nongnu.org; Fri, 16 May 2008 10:24:31 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18477.39195.224231.369929@mariner.uk.xensource.com> Date: Fri, 16 May 2008 15:24:27 +0100 Subject: Re: [Qemu-devel] Use of PATH_MAX In-Reply-To: <18477.39006.84174.885932@mariner.uk.xensource.com> References: <18477.36259.30442.280531@mariner.uk.xensource.com> <200805161502.10631.paul@codesourcery.com> <18477.39006.84174.885932@mariner.uk.xensource.com> From: Ian Jackson Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook , qemu-devel@nongnu.org iwj writes ("Re: [Qemu-devel] Use of PATH_MAX"): > I agree that it would be better to get rid of the static buffers. But > at the moment I'm just trying to stop a tide of PATH_MAX nonsense > enveloping the Xen semi-fork. [...] Sorry, let me be clearer: in the Xen version of qemu, which I'm trying to bring more into line with upstream, people are seeing PATH_MAX in some places and changing fixed constants 1024 to PATH_MAX because they think that PATH_MAX is the right thing to do. If I can get agreement on a new name to use in qemu proper then it will be easy to change to use that everywhere. Of course if someone wants to do the work to make the buffers dynamic then that is good but that's quite a bit of work and is likely to introduce the occasional memory management bug, so I don't think that changing 1024 and PATH_MAX to QEMU_PATH_MAX should wait for it. Ian.