[systemd-devel] [PATCH 2/2] Replace hasprefix() with optimized startswith()

WANG Chao chaowang at redhat.com
Thu Aug 22 07:45:12 PDT 2013


On 08/22/13 at 11:51am, Kay Sievers wrote:
> On Wed, Aug 21, 2013 at 8:15 PM, WANG Chao <chaowang at redhat.com> wrote:
> > ---
> >  TODO                           |  2 --
> >  src/journal/journal-send.c     |  2 +-
> >  src/journal/journald-native.c  | 12 ++++++------
> >  src/libsystemd-bus/bus-match.c | 26 +++++++++++++-------------
> >  src/shared/logs-show.c         |  2 +-
> >  src/shared/macro.h             |  2 --
> >  6 files changed, 21 insertions(+), 25 deletions(-)
> 
> Oops, sorry, Zbigniew applied a patch from Shawn in the meantime,
> doing a similar thing. I planned to apply your patch after the macro
> vs. inline got sorted out, but all is allied already. Sorry again!

That's ok, as long as the fix coming to systemd! Thanks!


More information about the systemd-devel mailing list