[systemd-commits] src/shared

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Thu Sep 12 07:03:22 PDT 2013


 src/shared/util.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit da2620a5f878ad5c8d8d51992528cb3e637c7d1f
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Thu Sep 12 10:03:16 2013 -0400

    Actually allow tabs in environment files
    
    Fixup for ac4c8d6da8b5e.

diff --git a/src/shared/util.c b/src/shared/util.c
index ad463e8..9a075fa 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -5321,7 +5321,7 @@ bool string_has_cc(const char *p) {
         assert(p);
 
         for (t = p; *t; t++)
-                if (*t > 0 && *t < ' ')
+                if (*t > 0 && *t < ' ' && *t != '\t')
                         return true;
 
         return false;



More information about the systemd-commits mailing list