[systemd-devel] [systemd-commits] src/hostname src/shared src/test

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Sep 12 06:58:27 PDT 2013


On Thu, Sep 12, 2013 at 02:33:16PM +0200, Lennart Poettering wrote:
> On Wed, 11.09.13 19:00, Zbigniew Jędrzejewski-Szmek (zbyszek at kemper.freedesktop.org) wrote:
> 
> > +/**
> > + * Check if a string contains control characters.
> > + * Spaces and tabs are not considered control characters.
> > + */
> >  bool string_has_cc(const char *p) {
> >          const char *t;
> 
> Hmm... While I totally agree that string_has_cc() should not consider
> tab a control character the version in git now still considers it one!
> 
> Am I missing something?
Thanks for catching this. I forgot to commit part of the patch :)

Zbyszek


More information about the systemd-devel mailing list