All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: libxl: build fix
Date: Tue, 9 Nov 2010 13:58:46 +0100	[thread overview]
Message-ID: <201011091358.46837.Christoph.Egger@amd.com> (raw)
In-Reply-To: <19673.13957.616191.466954@mariner.uk.xensource.com>

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

  reply	other threads:[~2010-11-09 12:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-05 15:08 libxl: build fix Christoph Egger
2010-11-08 16:38 ` Ian Jackson
2010-11-08 16:53   ` Christoph Egger
2010-11-08 17:01     ` Ian Jackson
2010-11-09 11:39       ` Christoph Egger
2010-11-09 11:54         ` Ian Jackson
2010-11-09 12:58           ` Christoph Egger [this message]
2010-11-09 13:27             ` John Haxby
2010-11-09 17:03               ` Ian Jackson
  -- strict thread matches above, loose matches on Subject: below --
2010-05-25  9:36 Christoph Egger
2010-05-27 14:41 ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201011091358.46837.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.