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 1/2] y2038: linux: Provide __mq_timedsend_time64 implementation


On Tue, 11 Feb 2020, Lukasz Majewski wrote:

> +int
> +__mq_timedsend (mqd_t mqdes, const char *msg_ptr, size_t msg_len,
> +                unsigned int msg_prio, const struct timespec *abs_timeout)
> +{
> +  struct __timespec64 ts64;
> +    if (abs_timeout)
> +	    ts64 = valid_timespec_to_timespec64 (*abs_timeout);
> +
> +    return __mq_timedsend_time64 (mqdes, msg_ptr, msg_len, msg_prio,
> +                                  abs_timeout ? &ts64 : NULL);
>  }

The indentation seems wrong here.  Likewise in patch 2.

-- 
Joseph S. Myers
joseph@codesourcery.com


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