By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 554
Collapse All | Expand All

(-)libart-lgpl.orig/art_render_gradient.c.orig (+16 lines)
Lines 30-36 Link Here
30
#include <stdlib.h>
30
#include <stdlib.h>
31
#include <stdio.h>
31
#include <stdio.h>
32
#include <string.h>
32
#include <string.h>
33
#if 0
33
#include <assert.h>
34
#include <assert.h>
35
#endif
34
36
35
/* Hack to find out how to define alloca on different platforms.
37
/* Hack to find out how to define alloca on different platforms.
36
 * Modified version of glib/galloca.h.
38
 * Modified version of glib/galloca.h.
Lines 203-209 Link Here
203
    }
205
    }
204
206
205
  printf ("WARNING! bad ix %d in calc_color_at() [internal error]\n", ix);
207
  printf ("WARNING! bad ix %d in calc_color_at() [internal error]\n", ix);
208
#if 0
206
  assert (0);
209
  assert (0);
210
#endif
207
}
211
}
208
212
209
static void
213
static void
Lines 331-336 Link Here
331
  printf ("Initial ix: %d\n", ix);
335
  printf ("Initial ix: %d\n", ix);
332
#endif
336
#endif
333
  
337
  
338
#if 0
334
  assert (ix > 0);
339
  assert (ix > 0);
335
  assert (ix < n_stops);
340
  assert (ix < n_stops);
336
  assert ((stops[ix-1].offset <= offset_fraction + EPSILON) ||
341
  assert ((stops[ix-1].offset <= offset_fraction + EPSILON) ||
Lines 344-349 Link Here
344
  assert ((offset_fraction != stops[ix].offset) ||
349
  assert ((offset_fraction != stops[ix].offset) ||
345
	  (d_offset <= 0.0));
350
	  (d_offset <= 0.0));
346
  */
351
  */
352
#else
353
  if (!( (ix > 0) && (ix < n_stops)
354
         && ((stops[ix-1].offset <= offset_fraction + EPSILON) ||
355
             ((stops[ix].offset > (1.0 - EPSILON))
356
              && (offset_fraction < EPSILON /* == 0.0*/)))
357
         && (offset_fraction <= stops[ix].offset)))
358
  {
359
    printf ("art_render_gradient.c:%d: Old assert() failed!\n", __LINE__);
360
    return;
361
  }
362
#endif
347
  
363
  
348
  while (width > 0)
364
  while (width > 0)
349
    {
365
    {

Return to bug 554