Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 713086 | Differences between
and this patch

Collapse All | Expand All

(-)vdr-2.4.1.orig/tools.h (-1 / +3 lines)
Lines 406-412 Link Here
406
private:
406
private:
407
  DIR *directory;
407
  DIR *directory;
408
  struct dirent *result;
408
  struct dirent *result;
409
#if !__GLIBC_PREREQ(2, 24) // readdir_r() is deprecated as of GLIBC 2.24
409
//#if !__GLIBC_PREREQ(2, 24) // readdir_r() is deprecated as of GLIBC 2.24
410
#if !defined(__GLIBC__) || \
411
  (defined(__GLIBC__) && (!__GLIBC_PREREQ(2, 24)) || !defined(_GNU_SOURCE))
410
  union { // according to "The GNU C Library Reference Manual"
412
  union { // according to "The GNU C Library Reference Manual"
411
    struct dirent d;
413
    struct dirent d;
412
    char b[offsetof(struct dirent, d_name) + NAME_MAX + 1];
414
    char b[offsetof(struct dirent, d_name) + NAME_MAX + 1];

Return to bug 713086