Re: Timo - is the v2.3.15 GCC limitation really necessarily or it's just a bug?

2021-07-29 Thread Florian Weimer
* Mart Pirita: > So at the moment I have two choices, newer upgrade Dovecot or rollback > the buffer_t changes and use latest version? You can use Developer Toolset. It comes with newer GCC versions. I don't know the precise CentOS repository layout, but there is a devtoolset-7-gcc package

Potential bug: Assumption that POSIX time functions do not clobber errno

2021-07-13 Thread Florian Weimer
We accidentally ran the dovecot 2.3.14 testsuite on a host where clock_gettime (and probably time and gettimeofday) succeed, but set errno to ENOSYS. This behavior is unusual, but permitted by POSIX: successful function calls can overwrite errno, as long as they don't set it to 0. The relevant