On 9/8/12 3:09 AM, Pekka Enberg wrote:
It's safe to include on glibc Linux systems as well, no? So
there's no need to check for __BIONIC__.
Theoretically, yes. In reality compile fails in multiple places.
basename can modify the string passed to it and several places in perf
are passing a st
On Sat, Sep 8, 2012 at 3:43 AM, Irina Tirdea wrote:
> From: Irina Tirdea
>
> perf uses the glibc version of basename(), by defining _GNU_SOURCE, including
> string.h and not including libgen.h. The glibc version of basename is better
> than the POSIX version since it does not modify its argument.
From: Irina Tirdea
perf uses the glibc version of basename(), by defining _GNU_SOURCE, including
string.h and not including libgen.h. The glibc version of basename is better
than the POSIX version since it does not modify its argument.
Android has only one version of basename which is defined in
3 matches
Mail list logo