diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/dpkg.c | 9 | ||||
-rw-r--r-- | archival/gunzip.c | 20 | ||||
-rw-r--r-- | archival/gzip.c | 9 |
3 files changed, 0 insertions, 38 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index 32e51257e..6ca59ac91 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c | |||
@@ -1021,15 +1021,6 @@ static int check_deps(deb_file_t **deb_file, int deb_start, int dep_max_count) | |||
1021 | continue; | 1021 | continue; |
1022 | } | 1022 | } |
1023 | 1023 | ||
1024 | #if 0 | ||
1025 | /* This might be needed so we don't complain about | ||
1026 | * things which are broken but unrelated to the | ||
1027 | * packages that are currently being installed | ||
1028 | */ | ||
1029 | if (state_status == search_name_hashtable("installed")) | ||
1030 | continue; | ||
1031 | #endif | ||
1032 | |||
1033 | /* This code is tested only for EDGE_DEPENDS, since I | 1024 | /* This code is tested only for EDGE_DEPENDS, since I |
1034 | * have no suitable pre-depends available. There is no | 1025 | * have no suitable pre-depends available. There is no |
1035 | * reason that it shouldn't work though :-) | 1026 | * reason that it shouldn't work though :-) |
diff --git a/archival/gunzip.c b/archival/gunzip.c index 35449b04d..ebbce4112 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c | |||
@@ -40,26 +40,6 @@ | |||
40 | * See the file algorithm.doc for the compression algorithms and file formats. | 40 | * See the file algorithm.doc for the compression algorithms and file formats. |
41 | */ | 41 | */ |
42 | 42 | ||
43 | #if 0 | ||
44 | static char *license_msg[] = { | ||
45 | " Copyright (C) 1992-1993 Jean-loup Gailly", | ||
46 | " This program is free software; you can redistribute it and/or modify", | ||
47 | " it under the terms of the GNU General Public License as published by", | ||
48 | " the Free Software Foundation; either version 2, or (at your option)", | ||
49 | " any later version.", | ||
50 | "", | ||
51 | " This program is distributed in the hope that it will be useful,", | ||
52 | " but WITHOUT ANY WARRANTY; without even the implied warranty of", | ||
53 | " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the", | ||
54 | " GNU General Public License for more details.", | ||
55 | "", | ||
56 | " You should have received a copy of the GNU General Public License", | ||
57 | " along with this program; if not, write to the Free Software", | ||
58 | " Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.", | ||
59 | 0 | ||
60 | }; | ||
61 | #endif | ||
62 | |||
63 | #include <stdlib.h> | 43 | #include <stdlib.h> |
64 | #include <string.h> | 44 | #include <string.h> |
65 | #include <unistd.h> | 45 | #include <unistd.h> |
diff --git a/archival/gzip.c b/archival/gzip.c index aebe90ea6..486f78f88 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -144,15 +144,6 @@ typedef int file_t; /* Do not use stdio */ | |||
144 | #define put_byte(c) {outbuf[outcnt++]=(uch)(c); if (outcnt==OUTBUFSIZ)\ | 144 | #define put_byte(c) {outbuf[outcnt++]=(uch)(c); if (outcnt==OUTBUFSIZ)\ |
145 | flush_outbuf();} | 145 | flush_outbuf();} |
146 | 146 | ||
147 | |||
148 | /* Output a 32 bit value to the bit stream, lsb first */ | ||
149 | #if 0 | ||
150 | #define put_long(n) { \ | ||
151 | put_short((n) & 0xffff); \ | ||
152 | put_short(((ulg)(n)) >> 16); \ | ||
153 | } | ||
154 | #endif | ||
155 | |||
156 | #define seekable() 0 /* force sequential output */ | 147 | #define seekable() 0 /* force sequential output */ |
157 | #define translate_eol 0 /* no option -a yet */ | 148 | #define translate_eol 0 /* no option -a yet */ |
158 | 149 | ||