search for: r3448

Displaying 3 results from an estimated 3 matches for "r3448".

Did you mean: 63448
2012 Feb 19
0
[nut-commits] svn commit r3448 - trunk/drivers (extern variables)
...k/drivers/bcmxcp.c > trunk/drivers/bcmxcp.h > > Modified: trunk/drivers/bcmxcp.c > ============================================================================== > --- trunk/drivers/bcmxcp.c Thu Feb 16 16:05:56 2012 (r3447) > +++ trunk/drivers/bcmxcp.c Sun Feb 19 03:19:02 2012 (r3448) > @@ -186,6 +186,15 @@ > }; > > > +/* allocate storage for shared variables (extern in bcmxcp.h) */ > +BCMXCP_METER_MAP_ENTRY_t > + bcmxcp_meter_map[BCMXCP_METER_MAP_MAX]; > +BCMXCP_ALARM_MAP_ENTRY_t > + bcmxcp_alarm_map[BCMXCP_ALARM_MAP_MAX]; > +BCMXCP_STATUS_t &gt...
2008 Feb 12
4
[PATCH] skeleton.c
...length then the final LF is replaced with NUL by snprintf. So we need to allocate room for one extra char (the NUL) as you have done, but then not truncate the write: so we both allocate and print with length (this_message_size+1). Checked with valgrind, and committed in oggenc r14485 and liboggz r3448. cheers, Conrad.
2008 Feb 01
2
[PATCH] skeleton.c
On 01/02/2008, Conrad Parker <conrad@metadecks.org> wrote: > On 31/01/2008, ogg.k.ogg.k@googlemail.com <ogg.k.ogg.k@googlemail.com> wrote: > > This fixes an off by one bug in the user of snprintf, and returns > > negative if writing the > > header returns negative (otherwise we'd just get a short write, losing > > the error). > > This patch