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

Re: [Xen-devel] libxl: build fix



On Tuesday 09 November 2010 12:54:45 Ian Jackson wrote:
> Christoph Egger writes ("Re: [Xen-devel] libxl: build fix"):
> > Attached patch replaces basename with strrchr(3).
>
> ...
>
> > -        name = basename(filename);
> > +        name = strrchr(filename, '/');

Sorry, should be

 name = strrchr(filename, '/') + 1;

Christoph


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632


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