Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: kspalaiologos/bzip3
base: 1.2.3
Choose a base ref
head repository: kspalaiologos/bzip3
compare: 1.3.0
Choose a head ref
  • 10 commits
  • 7 files changed
  • 2 contributors

Commits on Mar 27, 2023

  1. remove the example code from the repository.

    considering that many issues were reported with lack of robustness of the example code, I have decided to remove it. while it was meant to initially be a demonstration of the bzip3 APIs, i do not want to turn it into a demonstration of how to use the C standard library. to guard the code against all sorts of errors (I/O, allocation) we would need to essentially triple the size of the example code for no reason in particular. one needs to check all I/O operations - fopen, fflush, fread, fwrite, fseek. you need to check malloc return values, need to check file headers, need to sync files using UNIX apis. then a handler for each case to display an error message and `exit`. as such, when the size of the "example" will grow 3 times and become just useless stuff completely irrelevant to someone who's using the library, it will stop serving its purpose.
    the example code was not a part of the library, but to stop it from drawing so much attention, it has been removed.
    kspalaiologos committed Mar 27, 2023

Commits on Mar 28, 2023

Commits on Apr 3, 2023

  1. minor release: v1.3.0

    kspalaiologos committed Apr 3, 2023
  2. add a note on upgrades

    kspalaiologos committed Apr 3, 2023