[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Dulloor <dulloor@xxxxxxxxx>
  • Date: Tue, 18 May 2010 21:25:16 -0400
  • Delivery-date: Tue, 18 May 2010 18:26:21 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.