chiark / gitweb /
Actually allow tabs in environment files
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Sep 2013 14:03:16 +0000 (10:03 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Sep 2013 14:03:16 +0000 (10:03 -0400)
Fixup for ac4c8d6da8b5e.

src/shared/util.c

index ad463e8399347fc26f5bef6bf72be0976a91c08d..9a075fa1638c567db09ed8dd022709a507360900 100644 (file)
@@ -5321,7 +5321,7 @@ bool string_has_cc(const char *p) {
         assert(p);
 
         for (t = p; *t; t++)
         assert(p);
 
         for (t = p; *t; t++)
-                if (*t > 0 && *t < ' ')
+                if (*t > 0 && *t < ' ' && *t != '\t')
                         return true;
 
         return false;
                         return true;
 
         return false;