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] compilation and other small fixes to libxl

To: Dulloor <dulloor@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] compilation and other small fixes to libxl
From: Yang Hongyang <yanghy@xxxxxxxxxxxxxx>
Date: Wed, 19 May 2010 09:40:32 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 18 May 2010 18:39:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTingavs2x0ugNrh2mlEY_xTYmtUInkOenjTJYMsE@xxxxxxxxxxxxxx>
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>
References: <AANLkTingavs2x0ugNrh2mlEY_xTYmtUInkOenjTJYMsE@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100415 Thunderbird/3.0.4
On 05/19/2010 09:25 AM, Dulloor wrote:
> 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>
> 
> 

Acked-by: Yang Hongyang <yanghy@xxxxxxxxxxxxxx> 


-               domuid);
+    {
+        uptime_str = uptime_to_string(uptime, 1);
+               printf(" %s up %s, %s (%d)\n", current_time_to_string(now),

Here's an indent problem.

+                       uptime_str, libxl_domid_to_name(&ctx, domuid), domuid);
+    }
     else


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


-- 
Regards
Yang Hongyang

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

<Prev in Thread] Current Thread [Next in Thread>