Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-30

[compress][PATCH] fix for bzip2 example compress/uncompress utilities

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 30494

    Description

      Hi There,

      Hope all is going well.

      The commons sandbox compress bzip2 example compress and uncompress utilities are
      currently broken as the CBzip2Input/Output/Stream classes expect the leading 2
      bytes of the BZip2 file to be stripped/added outside of the CBZip2xxxStream classes.

      This currently means the compress example creates a data file bzip2 can't
      understand and the uncompress example throws a null pointer exception.

      The attached patch fixes this.

      Cheers,

      Marcus

      Attachments

        Activity

          People

            tcurdt Torsten Curdt
            crafterm@apache.org Marcus Crafter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: