aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-04 17:11:25 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-04 17:11:25 +0000
commit119a5a5e438a76d2fc811a9d1f7db0fca99d702d (patch)
tree87a9b5ac42b0f76ede0014bed1940abcfd21bb2a /shell
parenta0f4d3b553c0b473c65ff09bc5a4f3f11fb0d1e7 (diff)
downloadbusybox-w32-119a5a5e438a76d2fc811a9d1f7db0fca99d702d.tar.gz
busybox-w32-119a5a5e438a76d2fc811a9d1f7db0fca99d702d.tar.bz2
busybox-w32-119a5a5e438a76d2fc811a9d1f7db0fca99d702d.zip
find: support for !
git-svn-id: svn://busybox.net/trunk/busybox@17764 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/msh.c2
1 files changed, 1 insertions, 1 deletions
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)
1278 1278
1279 DBGPRINTF5(("SCANTREE: checking node %p\n", head)); 1279 DBGPRINTF5(("SCANTREE: checking node %p\n", head));
1280 1280
1281 if ((head->type != TDOT) && (strcmp(".", head->words[0]) == 0)) { 1281 if ((head->type != TDOT) && LONE_CHAR(head->words[0], '.')) {
1282 DBGPRINTF5(("SCANTREE: dot found in node %p\n", head)); 1282 DBGPRINTF5(("SCANTREE: dot found in node %p\n", head));
1283 return head; 1283 return head;
1284 } 1284 }