Christoph Egger
2010-Dec-15 13:37 UTC
[Xen-devel] [PATCH][TOOLS] libxl: Implement libxl_basename()
Hi! This patch implements libxl_basename() as a portable replacement for GNU vs. POSIX basename. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> P.S. This patch requires ''libxl: constify libxl_create_cpupool()'' to compile. -- ---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@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2011-Jan-06 14:26 UTC
Re: [Xen-devel] [PATCH][TOOLS] libxl: Implement libxl_basename()
Christoph Egger writes ("[Xen-devel] [PATCH][TOOLS] libxl: Implement libxl_basename()"):> This patch implements libxl_basename() as a portable replacement > for GNU vs. POSIX basename.Thanks, I have applied this. I added a comment to the declaration of libxl_basename saying it returns a string from strdup, which may not be what the next user would expect. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel