Add errno.h
[oweals/busybox.git] / dpkg_deb.c
index b20cc2695f66423851212062e488a28e2f0fdbb1..35904950fd891909fd1c572862eac0c10508ad8b 100644 (file)
@@ -40,7 +40,7 @@ extern int dpkg_deb_main(int argc, char **argv)
 {
        const int dpkg_deb_contents = 1;
        const int dpkg_deb_control = 2;
-       const int dpkg_deb_info = 4;
+//     const int dpkg_deb_info = 4;
        const int dpkg_deb_extract = 8;
        const int dpkg_deb_verbose_extract = 16;
        int opt=0;
@@ -155,5 +155,6 @@ extern int dpkg_deb_main(int argc, char **argv)
                }
        }
        status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list);
+       close (srcFd);
        return(EXIT_SUCCESS);
 }