tech-kern archive

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

Re: Fixing settime1() to reject invalid struct timespec ?



On Mon, Jul 27, 2009 at 02:37:29PM +0200, Nicolas Joly wrote:
> To solve this, we can: (a) use an ugly __UNCONST() when calling
> itimespecfix(), or (b) drop the const qualifier from
> clock_settime1()/settime1() ...

(c) Normalise into a new variable.

Joerg


Home | Main Index | Thread Index | Old Index