diff options
Diffstat (limited to 'archival/dpkg_deb.c')
-rw-r--r-- | archival/dpkg_deb.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c index fa89e44a0..fc8b9221d 100644 --- a/archival/dpkg_deb.c +++ b/archival/dpkg_deb.c | |||
@@ -1,18 +1,8 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | 3 | * dpkg-deb packs, unpacks and provides information about Debian archives. |
3 | * it under the terms of the GNU General Public License as published by | ||
4 | * the Free Software Foundation; either version 2 of the License, or | ||
5 | * (at your option) any later version. | ||
6 | * | ||
7 | * This program is distributed in the hope that it will be useful, | ||
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | * GNU Library General Public License for more details. | ||
11 | * | ||
12 | * You should have received a copy of the GNU General Public License | ||
13 | * along with this program; if not, write to the Free Software | ||
14 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
15 | * | 4 | * |
5 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | ||
16 | */ | 6 | */ |
17 | #include <fcntl.h> | 7 | #include <fcntl.h> |
18 | #include <stdlib.h> | 8 | #include <stdlib.h> |
@@ -100,7 +90,7 @@ int dpkg_deb_main(int argc, char **argv) | |||
100 | } | 90 | } |
101 | if (extract_dir) { | 91 | if (extract_dir) { |
102 | mkdir(extract_dir, 0777); | 92 | mkdir(extract_dir, 0777); |
103 | chdir(extract_dir); | 93 | chdir(extract_dir); /* error check? */ |
104 | } | 94 | } |
105 | unpack_ar_archive(ar_archive); | 95 | unpack_ar_archive(ar_archive); |
106 | 96 | ||