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

Lennart Poettering lennart at poettering.net
Thu Sep 12 05:33:16 PDT 2013


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?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list