update Sun May 30 18:37:00 PDT 2010
[pkgsrc.git] / sysutils / vcdimager-devel / patches / patch-aa
1 $NetBSD: patch-aa,v 1.5 2006/01/11 02:23:19 ben Exp $
2
3 --- lib/info_private.c.orig     2005-02-02 00:37:37.000000000 +0000
4 +++ lib/info_private.c
5 @@ -102,10 +102,9 @@ vcdinf_update_offset_list(struct _vcdinf
6            }
7          } else {
8            /* See if we've skipped any LID numbers. */
9 -          last_lid++;
10            while (last_lid != ofs->lid ) {
11              lid_t * lid=calloc(1, sizeof(lid_t));
12 -            *lid = last_lid;
13 +            *lid = last_lid++;
14              _cdio_list_append(unused_lids, lid);
15            }
16            if (last_lid > max_seen_lid) max_seen_lid=last_lid;