blob: 18671d5e9de5bbe6ca05b16787f00a321f9eff9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-aa,v 1.5 2006/01/11 02:23:19 ben Exp $
--- lib/info_private.c.orig 2005-02-02 00:37:37.000000000 +0000
+++ lib/info_private.c
@@ -102,10 +102,9 @@ vcdinf_update_offset_list(struct _vcdinf
}
} else {
/* See if we've skipped any LID numbers. */
- last_lid++;
while (last_lid != ofs->lid ) {
lid_t * lid=calloc(1, sizeof(lid_t));
- *lid = last_lid;
+ *lid = last_lid++;
_cdio_list_append(unused_lids, lid);
}
if (last_lid > max_seen_lid) max_seen_lid=last_lid;
|