aboutsummaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-12-20 23:13:26 +0000
committerMatt Kraai <kraai@debian.org>2001-12-20 23:13:26 +0000
commit1f0c43668ac332cbcf61cbdf71844799327cc8b9 (patch)
tree97414e991363fa613f229019d697280cae1097e0 /archival/tar.c
parent31c73af656813b5cadcb1dd27adb9bbc62a98987 (diff)
downloadbusybox-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 'archival/tar.c')
-rw-r--r--archival/tar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/archival/tar.c b/archival/tar.c
index dd65de131..22cbf3ab2 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -476,9 +476,9 @@ static int writeTarFile(const char* tarName, int verboseFlag, char **argv,
476 476
477 /* Read the directory/files and iterate over them one at a time */ 477 /* Read the directory/files and iterate over them one at a time */
478 while (*argv != NULL) { 478 while (*argv != NULL) {
479 if (recursive_action(*argv++, TRUE, FALSE, FALSE, 479 if (! recursive_action(*argv++, TRUE, FALSE, FALSE,
480 writeFileToTarball, writeFileToTarball, 480 writeFileToTarball, writeFileToTarball,
481 (void*) &tbInfo) == FALSE) { 481 (void*) &tbInfo)) {
482 errorFlag = TRUE; 482 errorFlag = TRUE;
483 } 483 }
484 } 484 }
@@ -494,7 +494,7 @@ static int writeTarFile(const char* tarName, int verboseFlag, char **argv,
494 494
495 /* Hang up the tools, close up shop, head home */ 495 /* Hang up the tools, close up shop, head home */
496 close(tarFd); 496 close(tarFd);
497 if (errorFlag == TRUE) { 497 if (errorFlag) {
498 error_msg("Error exit delayed from previous errors"); 498 error_msg("Error exit delayed from previous errors");
499 freeHardLinkInfo(&tbInfo.hlInfoHead); 499 freeHardLinkInfo(&tbInfo.hlInfoHead);
500 return(FALSE); 500 return(FALSE);
@@ -556,7 +556,7 @@ char **list_and_not_list(char **include_list, char **exclude_list)
556 exclude_count++; 556 exclude_count++;
557 } 557 }
558 558
559 if (found == FALSE) { 559 if (! found) {
560 new_include_list = realloc(new_include_list, sizeof(char *) * (include_count + 2)); 560 new_include_list = realloc(new_include_list, sizeof(char *) * (include_count + 2));
561 new_include_list[new_include_count] = include_list[include_count]; 561 new_include_list[new_include_count] = include_list[include_count];
562 new_include_count++; 562 new_include_count++;