diff options
author | Matt Kraai <kraai@debian.org> | 2001-12-20 23:13:26 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-12-20 23:13:26 +0000 |
commit | 1f0c43668ac332cbcf61cbdf71844799327cc8b9 (patch) | |
tree | 97414e991363fa613f229019d697280cae1097e0 /shell/ash.c | |
parent | 31c73af656813b5cadcb1dd27adb9bbc62a98987 (diff) | |
download | busybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.tar.gz busybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.tar.bz2 busybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.zip |
Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index 16c5ec0f2..177ec1c26 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -8172,7 +8172,7 @@ umaskcmd(int argc, char **argv) | |||
8172 | umask(mask); | 8172 | umask(mask); |
8173 | } else { | 8173 | } else { |
8174 | mask = ~mask & 0777; | 8174 | mask = ~mask & 0777; |
8175 | if (parse_mode(ap, &mask) == FALSE) { | 8175 | if (! parse_mode(ap, &mask)) { |
8176 | error("Illegal mode: %s", ap); | 8176 | error("Illegal mode: %s", ap); |
8177 | } | 8177 | } |
8178 | umask(~mask & 0777); | 8178 | umask(~mask & 0777); |
@@ -12481,7 +12481,7 @@ findvar(struct var **vpp, const char *name) | |||
12481 | /* | 12481 | /* |
12482 | * Copyright (c) 1999 Herbert Xu <herbert@debian.org> | 12482 | * Copyright (c) 1999 Herbert Xu <herbert@debian.org> |
12483 | * This file contains code for the times builtin. | 12483 | * This file contains code for the times builtin. |
12484 | * $Id: ash.c,v 1.37 2001/12/06 03:37:38 aaronl Exp $ | 12484 | * $Id: ash.c,v 1.38 2001/12/20 23:13:19 kraai Exp $ |
12485 | */ | 12485 | */ |
12486 | static int timescmd (int argc, char **argv) | 12486 | static int timescmd (int argc, char **argv) |
12487 | { | 12487 | { |