|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] libxl: build fix
John Haxby writes ("Re: [Xen-devel] libxl: build fix"):
> No, it should be
>
> name = strrchr(filename, '/');
> if (name)
> name++;
> else
> name = filename;
As you say.
> In fact even that isn't right because basename(3) discards (or at least
> ignores) trailing '/' characters.
In this particular case, there won't be any, because if there were
then opening the cpupool config file would fail.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|