bug#32375: Bug Gzip v1.9

2018-08-08 Thread Johannes Przybilla
I agree that the POSIX standard is quite restrictive in this respect. However I believe that is for a good reason. Performing non-atomic memory operations on static objects in a signal handler can cause problems with reentrancy. This can lead to undefined behaviour for example in the case of neste

bug#32375: Bug Gzip v1.9

2018-08-08 Thread Paul Eggert
Johannes Przybilla wrote: This can lead to undefined behaviour for example in the case of nested signal handler calls These can't happen in gzip, so we should be OK here.

bug#32375: Bug Gzip v1.9

2018-08-08 Thread Antonio Diaz Diaz
Johannes Przybilla wrote: I agree that the POSIX standard is quite restrictive in this respect. However I believe that is for a good reason. Performing non-atomic memory operations on static objects in a signal handler can cause problems with reentrancy. This can lead to undefined behaviour for e