aboutsummaryrefslogtreecommitdiffstats
path: root/g10/compress-bz2.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-26g10: Fix iobuf API of filter function for alignment.NIIBE Yutaka1-1/+1
* include/iobuf.h (struct iobuf_struct): Remove DESC. * util/iobuf.c (iobuf_desc): New. (print_chain, iobuf_close, iobuf_open, iobuf_fdopen, iobuf_sockopen) (iobuf_create, iobuf_append, iobuf_openrw, iobuf_ioctl) (iobuf_push_filter2, pop_filter, underflow): Use iobuf_desc. (file_filter, sock_filter, block_filter): Fill the description. * g10/armor.c, g10/cipher.c, g10/compress-bz2.c, g10/compress.c, g10/encode.c, g10/encr-data.c, g10/mdfilter.c, g10/pipemode.c, g10/progress.c, g10/textfilter.c: Likewise. -- Newer GCC warns against possible alignment difference of pointers. This change can silence those warnings. Signed-off-by: NIIBE Yutaka <[email protected]> (backported from 2.1 commit 3f52c7da3940ec06572270d511000dc7fe9c27d2)
2009-09-02Preparing 1.4.10.Werner Koch1-3/+15
2007-10-23Switched to GPLv3.Werner Koch1-4/+2
Updated gettext.
2005-07-27Converted all m_free to xfree etc.Werner Koch1-8/+8
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch1-1/+2
2004-03-25* options.h, g10.c (main), compress-bz2.c (init_uncompress): RenameDavid Shaw1-2/+2
--bzip2-compress-lowmem to --bzip2-decompress-lowmem since it applies to decompression, not compression.
2003-12-30* misc.c (pull_in_libs): Dead code. Removed.David Shaw1-0/+1
* sig-check.c (check_revocation_keys): Comments. * getkey.c (merge_selfsigs_main): Don't bother to check designated revoker sigs if the key is already revoked. * packet.h, getkey.c (merge_selfsigs_main): New "maybe_revoked" flag on PKs. It is set when there is a revocation signature from a valid revocation key, but the revocation key is not present to verify the signature. * pkclist.c (check_signatures_trust): Use it here to give a warning when showing key trust. * compress-bz2.c: Include stdio.h. Solaris 9 has a very old bzip2 library and we can at least guarantee that it won't fail because of the lack of stdio.h. * tdbio.c: Fixed format string bugs related to the use of DB_NAME. Reported by Florian Weimer.
2003-11-18* options.h, g10.c (main), compress-bz2.c (init_uncompress): AddDavid Shaw1-1/+1
--bz2-compress-lowmem to set bzlib "small" flag for low memory (but slow) decompression.
2003-11-15* compress.c (init_compress): Remove compress level 10 trick, since it isDavid Shaw1-3/+1
no longer needed. * g10.c: Fix typoed option name. * compress-bz2.c (init_compress): Compression level 0 is not meaningful for bzip2.
2003-11-15* options.h, g10.c (main), compress.c (init_compress), compress-bz2.cDavid Shaw1-8/+8
(init_compress): Add --compress-level and --bzip2-compress-level. -z sets them both. Change various callers.
2003-10-31* misc.c (compress_algo_to_string, string_to_compress_algo,David Shaw1-0/+242
check_compress_algo): Add bzip2. * compress.c (compress_filter): Make static to help force the use of push_compress_filter. Remove default algorithm setting since that is done in push_compress_filter now. * main.h: Use named algorithm. * filter.h, compress.c (push_compress_filter, push_compress_filter2): New. Figure out which is the appropriate compression filter to use, and push it into place. * compress.c (handle_compressed), encode.c (encode_simple, encode_crypt), sign.c (sign_file, sign_symencrypt_file), import.c (read_block), export.c (do_export): Use push_compress_filter instead of pushing the compression filter ourselves. * compress-bz2.c: New. Bzlib versions of the compression filter routines. * Makefile.am: Include compress-bz2.c if bz2lib is available.