svn commit: trunk/busybox/coreutils

aldot at busybox.net aldot at busybox.net
Wed Jun 6 19:27:59 UTC 2007


Author: aldot
Date: 2007-06-06 12:27:58 -0700 (Wed, 06 Jun 2007)
New Revision: 18758

Log:
- fix wrong not operator which was essentially ignored. got introduced in r18282
  http://busybox.net/lists/busybox/2007-June/027652.html


Modified:
   trunk/busybox/coreutils/test.c


Changeset:
Modified: trunk/busybox/coreutils/test.c
===================================================================
--- trunk/busybox/coreutils/test.c	2007-06-06 18:14:00 UTC (rev 18757)
+++ trunk/busybox/coreutils/test.c	2007-06-06 19:27:58 UTC (rev 18758)
@@ -227,7 +227,7 @@
 		t_lex(argv[2 + _off]);
 		if (t_wp_op && t_wp_op->op_type == BINOP) {
 			t_wp = &argv[1 + _off];
-			return binop() == 0;
+			return binop() == 1;
 		}
 	}
 	t_wp = &argv[1];




More information about the busybox-cvs mailing list