From 66877f783172b644d50b0311c4b3f89a26562649 Mon Sep 17 00:00:00 2001 From: bug1 Date: Sat, 20 Jan 2001 06:23:54 +0000 Subject: Close files before exit git-svn-id: svn://busybox.net/trunk/busybox@1623 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- archival/dpkg_deb.c | 1 + dpkg_deb.c | 1 + 2 files changed, 2 insertions(+) diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c index 337e6e10d..35904950f 100644 --- a/archival/dpkg_deb.c +++ b/archival/dpkg_deb.c @@ -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); } diff --git a/dpkg_deb.c b/dpkg_deb.c index 337e6e10d..35904950f 100644 --- a/dpkg_deb.c +++ b/dpkg_deb.c @@ -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); } -- cgit v1.2.3-55-g6feb