[hurd,commited] hurd: Fix build ot misc/tst-preadvwritev2-common.c

Florian Weimer fweimer@redhat.com
Mon Sep 4 08:11:00 GMT 2017


On 09/03/2017 05:52 PM, Samuel Thibault wrote:
> +	* misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
> +	RWF_NOWAIT): Define to 0 if undefined already.
> +	(do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
> +	boils down to 0.

I don't think this is correct.  preadv2 etc. are supposed to be part of
the GNU API, so if Hurd doesn't have definitions of the WRF_* constants,
that's a real bug.

Thanks,
Florian



More information about the Libc-alpha mailing list