aboutsummaryrefslogtreecommitdiff
path: root/archival/dpkg.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-12-20 23:13:26 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-12-20 23:13:26 +0000
commitc3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65 (patch)
tree97414e991363fa613f229019d697280cae1097e0 /archival/dpkg.c
parent62ecfc62e8eb535636f3c1029052f4b13b9b2183 (diff)
downloadbusybox-w32-c3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65.tar.gz
busybox-w32-c3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65.tar.bz2
busybox-w32-c3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65.zip
Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.
git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r--archival/dpkg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index 0ccca8f95..f41363d0f 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -858,7 +858,7 @@ void write_status_file(deb_file_t **deb_file)
858 } 858 }
859 } 859 }
860 /* If the package from the status file wasnt handle above, do it now*/ 860 /* If the package from the status file wasnt handle above, do it now*/
861 if (write_flag == FALSE) { 861 if (! write_flag) {
862 fprintf(new_status_file, "%s\n\n", control_buffer); 862 fprintf(new_status_file, "%s\n\n", control_buffer);
863 } 863 }
864 864
@@ -1206,7 +1206,7 @@ void remove_package(const unsigned int package_num)
1206 exclude_files = create_list(conffile_name); 1206 exclude_files = create_list(conffile_name);
1207 1207
1208 /* Some directories cant be removed straight away, so do multiple passes */ 1208 /* Some directories cant be removed straight away, so do multiple passes */
1209 while (remove_file_array(remove_files, exclude_files) == TRUE); 1209 while (remove_file_array(remove_files, exclude_files));
1210 1210
1211 /* Create a list of all /var/lib/dpkg/info/<package> files */ 1211 /* Create a list of all /var/lib/dpkg/info/<package> files */
1212 remove_files = xmalloc(sizeof(char *) * 11); 1212 remove_files = xmalloc(sizeof(char *) * 11);
@@ -1250,7 +1250,7 @@ void purge_package(const unsigned int package_num)
1250 exclude_files[0] = NULL; 1250 exclude_files[0] = NULL;
1251 1251
1252 /* Some directories cant be removed straight away, so do multiple passes */ 1252 /* Some directories cant be removed straight away, so do multiple passes */
1253 while (remove_file_array(remove_files, exclude_files) == TRUE); 1253 while (remove_file_array(remove_files, exclude_files));
1254 1254
1255 /* Create a list of all /var/lib/dpkg/info/<package> files */ 1255 /* Create a list of all /var/lib/dpkg/info/<package> files */
1256 remove_files = xmalloc(sizeof(char *) * 11); 1256 remove_files = xmalloc(sizeof(char *) * 11);