mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
hurd: fix build with pthread aio
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
|
* sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
|
||||||
|
priority against unexistent AIO_PRIO_DELTA_MAX.
|
||||||
|
|
||||||
2015-02-06 Roland McGrath <roland@hack.frob.com>
|
2015-02-06 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
* sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
|
* sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
|
||||||
|
@ -311,7 +311,10 @@ __aio_enqueue_request (aiocb_union *aiocbp, int operation)
|
|||||||
if (operation == LIO_SYNC || operation == LIO_DSYNC)
|
if (operation == LIO_SYNC || operation == LIO_DSYNC)
|
||||||
aiocbp->aiocb.aio_reqprio = 0;
|
aiocbp->aiocb.aio_reqprio = 0;
|
||||||
else if (aiocbp->aiocb.aio_reqprio < 0
|
else if (aiocbp->aiocb.aio_reqprio < 0
|
||||||
|| aiocbp->aiocb.aio_reqprio > AIO_PRIO_DELTA_MAX)
|
#ifdef AIO_PRIO_DELTA_MAX
|
||||||
|
|| aiocbp->aiocb.aio_reqprio > AIO_PRIO_DELTA_MAX
|
||||||
|
#endif
|
||||||
|
)
|
||||||
{
|
{
|
||||||
/* Invalid priority value. */
|
/* Invalid priority value. */
|
||||||
__set_errno (EINVAL);
|
__set_errno (EINVAL);
|
||||||
|
Reference in New Issue
Block a user