diff options
author | Matt Kraai | 2001-12-20 23:13:26 +0000 |
---|---|---|
committer | Matt Kraai | 2001-12-20 23:13:26 +0000 |
commit | 1f0c43668ac332cbcf61cbdf71844799327cc8b9 (patch) | |
tree | 97414e991363fa613f229019d697280cae1097e0 /archival/tar.c | |
parent | 31c73af656813b5cadcb1dd27adb9bbc62a98987 (diff) | |
download | busybox-1f0c43668ac332cbcf61cbdf71844799327cc8b9.zip busybox-1f0c43668ac332cbcf61cbdf71844799327cc8b9.tar.gz |
Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.
Diffstat (limited to 'archival/tar.c')
-rw-r--r-- | archival/tar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/archival/tar.c b/archival/tar.c index dd65de1..22cbf3a 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -476,9 +476,9 @@ static int writeTarFile(const char* tarName, int verboseFlag, char **argv, /* Read the directory/files and iterate over them one at a time */ while (*argv != NULL) { - if (recursive_action(*argv++, TRUE, FALSE, FALSE, + if (! recursive_action(*argv++, TRUE, FALSE, FALSE, writeFileToTarball, writeFileToTarball, - (void*) &tbInfo) == FALSE) { + (void*) &tbInfo)) { errorFlag = TRUE; } } @@ -494,7 +494,7 @@ static int writeTarFile(const char* tarName, int verboseFlag, char **argv, /* Hang up the tools, close up shop, head home */ close(tarFd); - if (errorFlag == TRUE) { + if (errorFlag) { error_msg("Error exit delayed from previous errors"); freeHardLinkInfo(&tbInfo.hlInfoHead); return(FALSE); @@ -556,7 +556,7 @@ char **list_and_not_list(char **include_list, char **exclude_list) exclude_count++; } - if (found == FALSE) { + if (! found) { new_include_list = realloc(new_include_list, sizeof(char *) * (include_count + 2)); new_include_list[new_include_count] = include_list[include_count]; new_include_count++; |