summaryrefslogtreecommitdiff
path: root/bin/ksh/c_test.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-12-22 17:14:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-12-22 17:14:35 +0000
commit876705771ce25a4fde66ddfeeaed78e36c2522fa (patch)
tree5302300c6a77585e42ee9c9473fe0405e5eb5896 /bin/ksh/c_test.c
parentd8ab4b6082e45f27eab20a66b1077ed25bcc3a30 (diff)
Use stdbool.h instead of rolling our own bools.
Diffstat (limited to 'bin/ksh/c_test.c')
-rw-r--r--bin/ksh/c_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/c_test.c b/bin/ksh/c_test.c
index cec44612c25..227dfa6d250 100644
--- a/bin/ksh/c_test.c
+++ b/bin/ksh/c_test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: c_test.c,v 1.13 2004/12/20 11:34:26 otto Exp $ */
+/* $OpenBSD: c_test.c,v 1.14 2004/12/22 17:14:34 millert Exp $ */
/*
* test(1); version 7-like -- author Erik Baalbergen
@@ -289,11 +289,11 @@ test_eval(Test_env *te, Test_op op, const char *opnd1, const char *opnd2,
*/
case TO_STEQL: /* = */
if (te->flags & TEF_DBRACKET)
- return gmatch(opnd1, opnd2, FALSE);
+ return gmatch(opnd1, opnd2, false);
return strcmp(opnd1, opnd2) == 0;
case TO_STNEQ: /* != */
if (te->flags & TEF_DBRACKET)
- return !gmatch(opnd1, opnd2, FALSE);
+ return !gmatch(opnd1, opnd2, false);
return strcmp(opnd1, opnd2) != 0;
case TO_STLT: /* < */
return strcmp(opnd1, opnd2) < 0;