This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] compat getdents64: Use correct offset for retry [BZ #23972]


On Dez 10 2018, Florian Weimer <fweimer@redhat.com> wrote:

> 	[BZ #23972]
> 	* sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
> 	offset instead of count for clarity.  Fix typo in comment.
> 	(__old_getdents64): Keep track of previous offset.  Use it to call
> 	handle_overflow.
> 	* sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
> 	that d_off is never zero.

Ok.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]