aboutsummaryrefslogtreecommitdiff
path: root/contrib/bzip2/compress.c
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-02-01 16:28:01 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-02-01 16:28:01 +0000
commited14b6e01afaf82e6d03c114f68404bbb1aaa47a (patch)
treea3ca69a02ff78d685a9ad50cd867c166ab387609 /contrib/bzip2/compress.c
parentdf9de0eba10ac3f17697c3626efff3f484b3333a (diff)
downloadsrc-ed14b6e01afaf82e6d03c114f68404bbb1aaa47a.tar.gz
src-ed14b6e01afaf82e6d03c114f68404bbb1aaa47a.zip
Virgin import (trimmed) of Bzip2 version 1.0.2vendor/bzip2/1.0.2
Notes
Notes: svn path=/vendor/bzip2/dist/; revision=90067 svn path=/vendor/bzip2/1.0.2/; revision=90069; tag=vendor/bzip2/1.0.2
Diffstat (limited to 'contrib/bzip2/compress.c')
-rw-r--r--contrib/bzip2/compress.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/bzip2/compress.c b/contrib/bzip2/compress.c
index cc5e31d6f0ec..56501c115533 100644
--- a/contrib/bzip2/compress.c
+++ b/contrib/bzip2/compress.c
@@ -8,7 +8,7 @@
This file is a part of bzip2 and/or libbzip2, a program and
library for lossless, block-sorting data compression.
- Copyright (C) 1996-2000 Julian R Seward. All rights reserved.
+ Copyright (C) 1996-2002 Julian R Seward. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
@@ -663,10 +663,10 @@ void BZ2_compressBlock ( EState* s, Bool is_last_block )
/*-- If this is the first block, create the stream header. --*/
if (s->blockNo == 1) {
BZ2_bsInitWrite ( s );
- bsPutUChar ( s, 'B' );
- bsPutUChar ( s, 'Z' );
- bsPutUChar ( s, 'h' );
- bsPutUChar ( s, (UChar)('0' + s->blockSize100k) );
+ bsPutUChar ( s, BZ_HDR_B );
+ bsPutUChar ( s, BZ_HDR_Z );
+ bsPutUChar ( s, BZ_HDR_h );
+ bsPutUChar ( s, (UChar)(BZ_HDR_0 + s->blockSize100k) );
}
if (s->nblock > 0) {