[Xenomai-core] pSOS skin: bug in tm_ticks_to_date() and tm_date_to_ticks()

2008-06-13 Thread Markus Osterried
Hello, there is a bug in the pSOS kernel-space skin, calculating calendar time to ticks and vice versa. The file xenomai/ksrc/skins/psos+/tm.c should be fixed like this: --- xenomai-2.4/ksrc/skins/psos+/tm.c +++ xenomai-2.4/ksrc/skins/psos+/tm.c @@ -204,8 +204,8 @@ /* Add one day for

Re: [Xenomai-core] pSOS skin: bug in tm_ticks_to_date() and tm_date_to_ticks()

2008-06-13 Thread Philippe Gerum
Gilles Chanteperdrix wrote: On Fri, Jun 13, 2008 at 4:18 PM, Markus Osterried [EMAIL PROTECTED] wrote: Hello, there is a bug in the pSOS kernel-space skin, calculating calendar time to ticks and vice versa. The file xenomai/ksrc/skins/psos+/tm.c should be fixed like this: Have you tried

Re: [Xenomai-core] pSOS skin: bug in tm_ticks_to_date() and tm_date_to_ticks()

2008-06-13 Thread Markus Osterried
] On Behalf Of Philippe Gerum Sent: Freitag, 13. Juni 2008 17:22 To: Gilles Chanteperdrix Cc: Markus Osterried; Xenomai-core@gna.org Subject: Re: [Xenomai-core] pSOS skin: bug in tm_ticks_to_date() and tm_date_to_ticks() Gilles Chanteperdrix wrote: On Fri, Jun 13, 2008 at 4:18 PM, Markus Osterried