Blob Blame History Raw
From 43ac008a93f840dd88930c7450a2829d00ca5af5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Thu, 12 Sep 2013 10:03:16 -0400
Subject: [PATCH] Actually allow tabs in environment files

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

diff --git a/src/shared/util.c b/src/shared/util.c
index acf4ca2..cbfa342 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -5338,7 +5338,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;