On Qui, 2016-06-30 at 17:42 +0200, Florian Weimer wrote:
> On 06/30/2016 05:38 PM, Zdenek Kabelac wrote:
>
> >
> > Cut & paste example code solution from lvm2:
> >
> > #if !defined(__GLIBC__) || (__GLIBC__ < 2) || ((__GLIBC__ == 2) &&
> > (__GLIBC_MINOR__ < 23))
> > /* readdir_r is deprecate
On Thu, Jun 30, 2016 at 11:30:38AM -0400, Kaleb KEITHLEY wrote:
>
> Hi,
>
> Does anyone have a good/working autoconf test for checking for
> deprecated readdir_r (for Fedora 25) ?
>
> I'm not having much luck. (Have tried AC_COMPILE_IFELSE, among other
> things.)
>
> Alternatively it would be n
On 06/30/2016 05:38 PM, Zdenek Kabelac wrote:
Cut & paste example code solution from lvm2:
#if !defined(__GLIBC__) || (__GLIBC__ < 2) || ((__GLIBC__ == 2) &&
(__GLIBC_MINOR__ < 23))
/* readdir_r is deprecated with newer GLIBC */
struct dirent entry, *iter = 0;
while ( (errno = readd
Dne 30.6.2016 v 17:30 Kaleb KEITHLEY napsal(a):
Hi,
Does anyone have a good/working autoconf test for checking for
deprecated readdir_r (for Fedora 25) ?
I'm not having much luck. (Have tried AC_COMPILE_IFELSE, among other
things.)
Alternatively it would be nice if there was a some kind of fe
Hi,
Does anyone have a good/working autoconf test for checking for
deprecated readdir_r (for Fedora 25) ?
I'm not having much luck. (Have tried AC_COMPILE_IFELSE, among other
things.)
Alternatively it would be nice if there was a some kind of feature test
define in dirent.h.
Thanks,
--
Kaleb