← Commit list

826b48b62

Glenn L McGrath
Glenn L McGrath
2003-02-09
SOURCE BUG Duration: 2s

Subject

Woops, my gunzip fix broke unzip, these cant be static

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): sysdeps/linux/Config.in "fileutils/Config.in" dosyasini kaynak gosteriyor ama bu dosya repoda hic var olmadi (2002-12-05 - 2003-02-15 arasi orijinal yazar hatasi, 3238ea167 ile duzeltildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/libunarchive/decompress_unzip.c+2 -2
@@ -83,7 +83,7 @@ typedef struct huft_s {
} huft_t;
static int gunzip_src_fd;
-static unsigned int gunzip_bytes_out; /* number of output bytes */
+unsigned int gunzip_bytes_out; /* number of output bytes */
static unsigned int gunzip_outbuf_count; /* bytes in output buffer */
/* gunzip_window size--must be a power of two, and
@@ -92,7 +92,7 @@ static const int gunzip_wsize = 0x8000;
static unsigned char *gunzip_window;
static unsigned int *gunzip_crc_table;
-static unsigned int gunzip_crc;
+unsigned int gunzip_crc;
/* If BMAX needs to be larger than 16, then h and x[] should be ulg. */
#define BMAX 16 /* maximum bit length of any code (16 for explode) */
archival/libunarchive/unzip.c+2 -2
@@ -83,7 +83,7 @@ typedef struct huft_s {
} huft_t;
static int gunzip_src_fd;
-static unsigned int gunzip_bytes_out; /* number of output bytes */
+unsigned int gunzip_bytes_out; /* number of output bytes */
static unsigned int gunzip_outbuf_count; /* bytes in output buffer */
/* gunzip_window size--must be a power of two, and
@@ -92,7 +92,7 @@ static const int gunzip_wsize = 0x8000;
static unsigned char *gunzip_window;
static unsigned int *gunzip_crc_table;
-static unsigned int gunzip_crc;
+unsigned int gunzip_crc;
/* If BMAX needs to be larger than 16, then h and x[] should be ulg. */
#define BMAX 16 /* maximum bit length of any code (16 for explode) */