NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/45618 CVS commit: src/sys/kern



Dear Christos,

> | BTW, I am curious about one trivial thing of your patch if there is a case
> | where computed ticks can be negative.  I thought that `kn_sdata' is unsigned
> | and computed ticks would be unsigned.  I then thought that `tticks == 0' was
> | enough.
> 
> But ticks is signed so I checked against negative too.

Okay, I agree with you.

Best regards,
--
Motoyuki OHMORI <ohmori%chikushi-u.ac.jp@localhost>

On Sun, Nov 20, 2011 at 12:12:59 -0500, Christos Zoulas wrote:
> On Nov 20,  7:49pm, ohmori%chikushi-u.ac.jp@localhost (Motoyuki OHMORI) wrote:
> -- Subject: Re: PR/45618 CVS commit: src/sys/kern
> 
> | Dear Christos,
> | 
> | # This is just reply because GNAT requests me to reply to close the ticket.
> | 
> | Thank you very much for your quick response.  Now, the problem has been 
> solved.
> | Please close the ticket.
> | 
> | BTW, I am curious about one trivial thing of your patch if there is a case
> | where computed ticks can be negative.  I thought that `kn_sdata' is unsigned
> | and computed ticks would be unsigned.  I then thought that `tticks == 0' was
> | enough.
> 
> But ticks is signed so I checked against negative too.
> 
> christos


Home | Main Index | Thread Index | Old Index