Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jx1Ic-0004nK-6m for qemu-devel@nongnu.org; Fri, 16 May 2008 10:52:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jx1Ia-0004mS-MC for qemu-devel@nongnu.org; Fri, 16 May 2008 10:52:45 -0400 Received: from [199.232.76.173] (port=40938 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jx1Ia-0004mN-CE for qemu-devel@nongnu.org; Fri, 16 May 2008 10:52:44 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:54801) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jx1IZ-0000TB-VP for qemu-devel@nongnu.org; Fri, 16 May 2008 10:52:44 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18477.40876.644665.365808@mariner.uk.xensource.com> Date: Fri, 16 May 2008 15:52:28 +0100 Subject: Re: [Qemu-devel] Use of PATH_MAX In-Reply-To: <482D9BA5.20607@codemonkey.ws> References: <18477.36259.30442.280531@mariner.uk.xensource.com> <482D9387.7070807@codemonkey.ws> <20080516.080940.74651723.imp@bsdimp.com> <482D9BA5.20607@codemonkey.ws> 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: qemu-devel@nongnu.org Anthony Liguori writes ("Re: [Qemu-devel] Use of PATH_MAX"): > The problem with static buffers is that we silently truncate filenames. Obviously silently truncating pathnames is a bug. But even being able to increase the size of the buffer so that the truncation doesn't happen in practice is a helpful workaround, and not (mis)using PATH_MAX is an improvement. Please do not let my proposed change get stuck just because it doesn't fix every bug and doesn't implement every currently-absent desirable behaviour. Ian.