Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jx1CU-0004hL-Bb for qemu-devel@nongnu.org; Fri, 16 May 2008 10:46:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jx1CS-0004gA-G3 for qemu-devel@nongnu.org; Fri, 16 May 2008 10:46:25 -0400 Received: from [199.232.76.173] (port=38881 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jx1CS-0004fq-Ax for qemu-devel@nongnu.org; Fri, 16 May 2008 10:46:24 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:17703) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jx1CR-0007VP-MT for qemu-devel@nongnu.org; Fri, 16 May 2008 10:46:23 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18477.40507.604528.445448@mariner.uk.xensource.com> Date: Fri, 16 May 2008 15:46:19 +0100 Subject: Re: [Qemu-devel] Use of PATH_MAX In-Reply-To: <482D9B15.7050209@codemonkey.ws> References: <18477.36259.30442.280531@mariner.uk.xensource.com> <200805161502.10631.paul@codesourcery.com> <18477.39006.84174.885932@mariner.uk.xensource.com> <18477.39195.224231.369929@mariner.uk.xensource.com> <482D9B15.7050209@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 Cc: Paul Brook Anthony Liguori writes ("Re: [Qemu-devel] Use of PATH_MAX"): > I don't see any value in converting PATH_MAX to QEMU_PATH_MAX. > Both are equally wrong. We can #define QEMU_PATH_MAX 1024 which is not wrong; it's just not the best most featureful possible program. Relying on the host headers to provide a sensible value of PATH_MAX definitely is wrong - see the SuSv3 entry on . PATH_MAX may be not defined at all, or it may be defined to a ridiculously large value (2^30ish or something). Ian.