WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH][TOOLS] libfsimage: portability fixes

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][TOOLS] libfsimage: portability fixes
From: Aron Griffis <aron@xxxxxx>
Date: Thu, 27 Mar 2008 11:56:58 -0400
Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 27 Mar 2008 08:56:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <18411.47525.808081.832249@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200803261514.33378.Christoph.Egger@xxxxxxx> <20080327150531.GE21257@xxxxxxxxx> <18411.47525.808081.832249@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
Ian Jackson wrote:  [Thu Mar 27 2008, 11:13:41AM EDT]
> ${VARIABLE:-defaultvalue} is in SuSv3 (section 2.6.2, `Use Default
> Values') and has been in many previous standards.  Any system whose
> /bin/sh can't cope is hopelessly broken.

Ah, great.

> > ${CC-cc} -o ext2-test ext2-test.c -lext2fs >/dev/null 2>&1
> 
> However, in this case, ${VARIABLE-defaultvalue} is an adequate
> substitute so we should use that.  With a default of gcc, since
> without gcc you're doomed anyway.

Okay, thanks.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel