diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-16 23:49:13 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-16 23:49:13 +0000 |
commit | 8037e89b2e9c5a485bd57f4fe40f4659c25ca7b9 (patch) | |
tree | 6dc013e44d2281eb1e6f61c4bca1ae7546001f79 /miscutils | |
parent | b0ba03e9b3d460154fd09ef5676c18bf0770fdce (diff) | |
download | busybox-w32-8037e89b2e9c5a485bd57f4fe40f4659c25ca7b9.tar.gz busybox-w32-8037e89b2e9c5a485bd57f4fe40f4659c25ca7b9.tar.bz2 busybox-w32-8037e89b2e9c5a485bd57f4fe40f4659c25ca7b9.zip |
inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]
git-svn-id: svn://busybox.net/trunk/busybox@16977 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/crontab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/crontab.c b/miscutils/crontab.c index 39d3aae41..d442272f0 100644 --- a/miscutils/crontab.c +++ b/miscutils/crontab.c | |||
@@ -51,7 +51,7 @@ int crontab_main(int ac, char **av) | |||
51 | 51 | ||
52 | i = 1; | 52 | i = 1; |
53 | if (ac > 1) { | 53 | if (ac > 1) { |
54 | if (av[1][0] == '-' && av[1][1] == 0) { | 54 | if (LONE_DASH(av[1])) { |
55 | option = REPLACE; | 55 | option = REPLACE; |
56 | ++i; | 56 | ++i; |
57 | } else if (av[1][0] != '-') { | 57 | } else if (av[1][0] != '-') { |