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

[Xen-devel] [PATCH] compilation and other small fixes to libxl

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] compilation and other small fixes to libxl
From: Dulloor <dulloor@xxxxxxxxx>
Date: Tue, 18 May 2010 21:25:16 -0400
Delivery-date: Tue, 18 May 2010 18:26:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=9TGQUO0PgbyKMvpLCaWY5z8VIPNGNHJXKPS4nJPnfD4=; b=ajIzzZS3Xd6D3qPiwT/3YaUf8ou4SlvGz82X3mGloQNNw2sc6m4FzfEIxxwafqV3Hk avyeSwizqiLVyvM8SAgrYUr7KYVqgTGgJPvaTd5q8GTWge2vUwZOJYIjCq4xPvEq989g IG6G/KFsltEQllVroxMiRKRiHQ0my2A1jO9oc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tyRXFrqCWwbxzGfqm65Dl+oVN+omYSYrbPBHnU10PPcJCtzo4rcgWpShHioJn2pGqG OD/oiZr+SOUK8NF/D2yDRMwZPrHcDC0pvkCS8kMHNggWolCfL+xeHm5xcu2M5SpfSy7e Z+ui5Fo2gW51YJHmPco2MNDgt8tKMefUiJfL8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Patch fixes the following problems :

* Some of the library functions such as fscanf, system, and asprintf
are declared with warn_unused_result (ubuntu server 9.10), causing
compilation errors in libxl.
* When using asprintf, the caller is responsible for freeing the memory.
* memset takes wrong size argument in one of the places (caught by an
a builtin gcc check).

-dulloor

Signed-off-by: Dulloor Rao <dulloor@xxxxxxxxx>

Attachment: libxl-fixes.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>