Re: Update elf(5)

2013-07-08 Thread Matthew Dempsky
Might be nice to mention that 5.4 'was' the first release that used ELF on all platforms? On Mon, Jul 8, 2013 at 11:16 PM, Simon Kuhnle wrote: > With VAX being an ELF platform, this is no longer true, is it? > > Regards > Simon > > Index: elf.5 > ==

Update elf(5)

2013-07-08 Thread Simon Kuhnle
With VAX being an ELF platform, this is no longer true, is it? Regards Simon Index: elf.5 === RCS file: /cvs/src/share/man/man5/elf.5,v retrieving revision 1.20 diff -u -r1.20 elf.5 --- elf.5 17 Jan 2013 21:54:18 -

Re: Static variables

2013-07-08 Thread Matthew Dempsky
On Mon, Jul 8, 2013 at 2:06 AM, Maxime Villard wrote: > Ah, yes. I didn't know. For what it's worth, this is specified in C99 §6.7.8 (Initializaton) paragraph 10: "If an object that has static storage duration is not initialized explicitly, then: — if it has pointer type, it is initialized to a

Re: Stairstep mouse motion

2013-07-08 Thread Henri Kemppainen
> > I do fear that with some devices your patch will collapse too many > > events and make it harder to follow small radius curves. > > Right, I did not consider this case. If this is a problem, perhaps > the code could be changed to only collapse a pair of DELTA_X and > DELTA_Y events, but never

Re: Stairstep mouse motion

2013-07-08 Thread Henri Kemppainen
> The issue that input drivers devices need high refresh frequency to be > able to achieve high-precision freehand drawing is quite well known¹. Yes. But the bug here isn't about that. I think I'll have to elaborate a little. When you move the mouse, it will report its motion in an event with a

Re: Stairstep mouse motion

2013-07-08 Thread Matthieu Herrb
On Sun, Jul 07, 2013 at 10:22:23PM +0300, Henri Kemppainen wrote: > So I needed to see my thoughts on paper but my desk was so full of stuff > I couldn't make room for pen and paper. Instead I fired up Gimp, and > drawing with the mouse worked fine until I realized it's next to impossible > to dra

Re: Static variables

2013-07-08 Thread Maxime Villard
Le 08/07/2013 11:00, Franco Fichtner a écrit : > Hi Maxime, > > On Jul 8, 2013, at 10:40 AM, Maxime Villard wrote: > >> the static variables are not initialized? > > Static variables are always zeroed when not specified otherwise. > > > Regards, > Franco > > Ah, yes. I didn't know.

Re: Static variables

2013-07-08 Thread Franco Fichtner
Hi Maxime, On Jul 8, 2013, at 10:40 AM, Maxime Villard wrote: > the static variables are not initialized? Static variables are always zeroed when not specified otherwise. Regards, Franco

Static variables

2013-07-08 Thread Maxime Villard
Hi, is it normal that in some functions like tc_ticktock(void) { static int count; if (++count < tc_tick) return; count = 0; tc_windup(); } the static variables are not initial