On Wed, Sep 14, 2011 at 07:42:45AM +0200, Michael Kerrisk wrote:
> Hi Josh!

Hi Michael!  Nice talking to you again after LPC. :)

> On Wed, Sep 14, 2011 at 5:45 AM, Josh Triplett <j...@joshtriplett.org> wrote:
> > Package: manpages-dev
> > Version: 3.32-0.2
> > Severity: normal
> > File: /usr/share/man/man2/timerfd_settime.2.gz
> >
> > timerfd_settime(2) states that "The old_value argument returns a
> > structure containing the setting of the timer that was current at the
> > time of the call"; however, it does not mention that the caller can pass
> > NULL to ignore that value.  Only the example shows that the caller can
> > pass NULL.
> 
> Thanks for the report. For upstream 3.33, I applied the patch below.
> 
> Cheers,
> 
> Michael
> 
> --- a/man2/timerfd_create.2
> +++ b/man2/timerfd_create.2
> @@ -167,10 +167,13 @@ that is, the timer will expire when the value of that
>  clock reaches the value specified in
>  .IR new_value.it_value ).
> 
> -The
> +If the
>  .I old_value
> -argument returns a structure containing the setting of the timer that
> -was current at the time of the call; see the description of
> +argument is not NULL, then the
> +.I itimerspec
> +structure that it points to is used to return the setting of the timer
> +that was current at the time of the call;
> +see the description of
>  .BR timerfd_gettime ()
>  following.
>  .\"

Looks good to me!

Thanks,
Josh Triplett



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to