gzip: add a bit of comment. The code itself
is too bloated to work on it...
This commit is contained in:
parent
97a8dd3857
commit
bb119d059a
1 changed files with 8 additions and 4 deletions
|
@ -16,7 +16,12 @@
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// TODO: full support for -v for DESKTOP
|
/* TODO: full support for -v for DESKTOP
|
||||||
|
/usr/bin/gzip -v a bogus aa
|
||||||
|
a: 85.1% -- replaced with a.gz
|
||||||
|
gzip: bogus: No such file or directory
|
||||||
|
aa: 85.1% -- replaced with aa.gz
|
||||||
|
*/
|
||||||
|
|
||||||
#define SMALL_MEM
|
#define SMALL_MEM
|
||||||
|
|
||||||
|
@ -2402,7 +2407,6 @@ static int zip(int in, int out)
|
||||||
|
|
||||||
/* Write the header to the gzip file. See algorithm.doc for the format */
|
/* Write the header to the gzip file. See algorithm.doc for the format */
|
||||||
|
|
||||||
|
|
||||||
method = DEFLATED;
|
method = DEFLATED;
|
||||||
put_header_byte(GZIP_MAGIC[0]); /* magic header */
|
put_header_byte(GZIP_MAGIC[0]); /* magic header */
|
||||||
put_header_byte(GZIP_MAGIC[1]);
|
put_header_byte(GZIP_MAGIC[1]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue