aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-02-11 19:06:51 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-02-11 19:06:51 +0000
commitcc7c98b345fdb226ae9b99cc5eb9ba9325b533ce (patch)
treede10906de3d2a98800fd0c55dd2d8a2b31f0eb14
parent6ba3855c516a2f9622635dc430eec76aa29eece6 (diff)
downloadbusybox-w32-cc7c98b345fdb226ae9b99cc5eb9ba9325b533ce.tar.gz
busybox-w32-cc7c98b345fdb226ae9b99cc5eb9ba9325b533ce.tar.bz2
busybox-w32-cc7c98b345fdb226ae9b99cc5eb9ba9325b533ce.zip
Takeharu KATO writes:
Hi, I found that gcc in cvs (HEAD in 2005/02/11) reject the gzip source in the busybox. This is caused by changing gcc's error handling behavior( The gcc check the function prototype more strictly). I show the compilation log as follow: -- compilation log -- compilation log To fix the problem, apply the patch which is attached with this mail. Please take a look the patch and apply the patch into svn repository. git-svn-id: svn://busybox.net/trunk/busybox@9849 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--archival/gzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index e539c2a46..56d4d9278 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -2142,7 +2142,7 @@ static void send_tree(ct_data * tree, int max_code)
2142 * Construct the Huffman tree for the bit lengths and return the index in 2142 * Construct the Huffman tree for the bit lengths and return the index in
2143 * bl_order of the last bit length code to send. 2143 * bl_order of the last bit length code to send.
2144 */ 2144 */
2145static const int build_bl_tree() 2145static int build_bl_tree()
2146{ 2146{
2147 int max_blindex; /* index of last bit length code of non zero freq */ 2147 int max_blindex; /* index of last bit length code of non zero freq */
2148 2148