From 119a5a5e438a76d2fc811a9d1f7db0fca99d702d Mon Sep 17 00:00:00 2001 From: vda Date: Sun, 4 Feb 2007 17:11:25 +0000 Subject: find: support for ! git-svn-id: svn://busybox.net/trunk/busybox@17764 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/msh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/msh.c b/shell/msh.c index 817b84093..a2da540b3 100644 --- a/shell/msh.c +++ b/shell/msh.c @@ -1278,7 +1278,7 @@ struct op *scantree(struct op *head) DBGPRINTF5(("SCANTREE: checking node %p\n", head)); - if ((head->type != TDOT) && (strcmp(".", head->words[0]) == 0)) { + if ((head->type != TDOT) && LONE_CHAR(head->words[0], '.')) { DBGPRINTF5(("SCANTREE: dot found in node %p\n", head)); return head; } -- cgit v1.2.3-55-g6feb