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

Re: [Xen-devel] [PATCH] Cleanup use of strlen() to check for empty string




On 4 Oct 2005, at 23:50, Jacob Gorm Hansen wrote:

I came across checks for strlen(s)==0 a few places in drivers/xen.
Here is a patch to fix that.

Isn't your patch exactly equivalent? None of that code is time critical enough that a call to strlen matters.

 -- Keir


_______________________________________________
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®.