realloc errno

2013-05-06 Thread Ted Unangst
If growing the current region fails, realloc will leave errno set, even though the function will eventually succeed. Index: stdlib/malloc.c === RCS file: /cvs/src/lib/libc/stdlib/malloc.c,v retrieving revision 1.149 diff -u -p -r1.149

Re: gdb hardware-assisted watchpoints

2013-05-06 Thread Jérémie Courrèges-Anglas
Mark Kettenis writes: >> From: j...@wxcvbn.org (=?utf-8?Q?J=C3=A9r=C3=A9mie_Courr=C3=A8ges-Anglas?=) >> Date: Sun, 05 May 2013 20:37:25 +0200 >> >> Hi, >> >> the lack of hardware-assisted breakpoints support makes the use of >> `watch' painful in gdb. >> >> Has work already been done on this f

Re: [PATCH] Mistake in Intel/DRM...

2013-05-06 Thread David Coppa
On Sun, May 5, 2013 at 1:01 PM, Maxime Villard wrote: > I have been making a code scanner for a while, and I wanted to test > a new rule, so I scanned sys/pci/drm. It found an uninitialized > variable in intel_ddi.c. > > Quite simple, if !(val & DDI_BUF_CTL_ENABLE) at l.1420, the variable > 'wait'