ehlo,
The older versions of glibc and different implementations of libs requires feature macros for enabling function getline.
getline(), getdelim(): Since glibc 2.10: _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700 Before glibc 2.10: _GNU_SOURCE
All feature macros are in header file config.h and are detected by configure script. The header file config.h was included after few other header files. The problem is that header files stdio.h is included just once and is included from many external header files. We need to include config.h before any other header file to prevent problems.
LS
On Sat, May 24, 2014 at 07:09:17PM +0200, Lukas Slebodnik wrote:
ehlo,
The older versions of glibc and different implementations of libs requires feature macros for enabling function getline.
getline(), getdelim(): Since glibc 2.10: _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700 Before glibc 2.10: _GNU_SOURCE
All feature macros are in header file config.h and are detected by configure script. The header file config.h was included after few other header files. The problem is that header files stdio.h is included just once and is included from many external header files. We need to include config.h before any other header file to prevent problems.
LS
Builds on F-20 and RHEL6. I haven't tried any BSDs to be honest. But I trust your testing and I'm happy nothing was broken.
ACK
On Mon, May 26, 2014 at 04:29:51PM +0200, Jakub Hrozek wrote:
On Sat, May 24, 2014 at 07:09:17PM +0200, Lukas Slebodnik wrote:
ehlo,
The older versions of glibc and different implementations of libs requires feature macros for enabling function getline.
getline(), getdelim(): Since glibc 2.10: _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700 Before glibc 2.10: _GNU_SOURCE
All feature macros are in header file config.h and are detected by configure script. The header file config.h was included after few other header files. The problem is that header files stdio.h is included just once and is included from many external header files. We need to include config.h before any other header file to prevent problems.
LS
Builds on F-20 and RHEL6. I haven't tried any BSDs to be honest. But I trust your testing and I'm happy nothing was broken.
ACK
Pushed to master: b3007e32fa5d6b722f3aaaf9fe7593103cb443c3
On Mon, May 26, 2014 at 04:41:53PM +0200, Jakub Hrozek wrote:
On Mon, May 26, 2014 at 04:29:51PM +0200, Jakub Hrozek wrote:
On Sat, May 24, 2014 at 07:09:17PM +0200, Lukas Slebodnik wrote:
ehlo,
The older versions of glibc and different implementations of libs requires feature macros for enabling function getline.
getline(), getdelim(): Since glibc 2.10: _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700 Before glibc 2.10: _GNU_SOURCE
All feature macros are in header file config.h and are detected by configure script. The header file config.h was included after few other header files. The problem is that header files stdio.h is included just once and is included from many external header files. We need to include config.h before any other header file to prevent problems.
LS
Builds on F-20 and RHEL6. I haven't tried any BSDs to be honest. But I trust your testing and I'm happy nothing was broken.
ACK
Pushed to master: b3007e32fa5d6b722f3aaaf9fe7593103cb443c3
Pushed to sssd-1-11: 093285313c7e3d69069ea0d4637f7fee00fb2a2e
sssd-devel@lists.fedorahosted.org