fix bugs found during compilation with glibc

Merge request reports

Loading