Blob Blame History Raw
From 99b0265fd9734996ed863328bf23dd42647c1aa0 Mon Sep 17 00:00:00 2001
From: christos <christos>
Date: Thu, 28 May 2015 14:03:00 +0000
Subject: [PATCH] >= 0 is always true if unsigned (c11 allows wint_t to be
  unsigned), and we handle the 0 case above anyway.

---
 sh.glob.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sh.glob.c b/sh.glob.c
index d4a118d..fc510bf 100644
--- a/sh.glob.c
+++ b/sh.glob.c
@@ -880,7 +880,7 @@ backeval(struct blk_buf *bb, struct Strbuf *word, Char *cp, int literal)
 	if (c != 0 && (cnt || literal))
 	    pword(bb, word);
 	hadnl = 0;
-    } while (c >= 0);
+    } while (c > 0);
  eof:
     cleanup_until(&pvec[0]);
     pwait();
-- 
2.5.5