View | Details | Raw Unified | Return to bug 23960 | Differences between
and this patch

Collapse All | Expand All

(-)a/glibc-2.29/sysdeps/unix/sysv/linux/getdents.c (+2 lines)
Lines 84-89 Link Here
84
84
85
      DIRENT_SET_DP_INO (&outp->u, d_ino);
85
      DIRENT_SET_DP_INO (&outp->u, d_ino);
86
      outp->u.d_off = d_off;
86
      outp->u.d_off = d_off;
87
#if 0
87
      if ((sizeof (outp->u.d_ino) != sizeof (inp->k.d_ino)
88
      if ((sizeof (outp->u.d_ino) != sizeof (inp->k.d_ino)
88
           && outp->u.d_ino != d_ino)
89
           && outp->u.d_ino != d_ino)
89
          || (sizeof (outp->u.d_off) != sizeof (inp->k.d_off)
90
          || (sizeof (outp->u.d_off) != sizeof (inp->k.d_off)
Lines 98-103 Link Here
98
            }
99
            }
99
	  return INLINE_SYSCALL_ERROR_RETURN_VALUE (EOVERFLOW);
100
	  return INLINE_SYSCALL_ERROR_RETURN_VALUE (EOVERFLOW);
100
        }
101
        }
102
#endif
101
103
102
      last_offset = d_off;
104
      last_offset = d_off;
103
      outp->u.d_reclen = new_reclen;
105
      outp->u.d_reclen = new_reclen;

Return to bug 23960