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

Kay Sievers kay at vrfy.org
Thu Aug 22 02:51:18 PDT 2013


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!

Kay


More information about the systemd-devel mailing list