tukaani-project / xz

XZ Utils
https://tukaani.org/xz/
Other
542 stars 101 forks source link

Handle SIGTSTP #21

Closed JiaT75 closed 1 year ago

JiaT75 commented 1 year ago

Pull request checklist

Please check if your PR fulfills the following requirements:

Pull request type

Please check the type of change your PR introduces: - [X] Bugfix - [ ] Feature - [X] Code style update (formatting, renaming, typo fix) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior?

SIGTSTP signal is not caught, so if the process is paused then the compression and decompression stats are no longer accurate.

Related Issue URL:

What is the new behavior?

Does this introduce a breaking change?

Other information

This can be added for 5.4.2 or 5.5.0. It adds a new string that will need to be translated and its been a "bug" for a long time, so 5.5.0 might be more appropriate.