$OpenBSD: patch-lib_info_private_c,v 1.1 2010/06/27 21:20:43 ajacoutot Exp $ http://savannah.gnu.org/support/index.php?func=detailitem&item_id=105012 --- lib/info_private.c.orig Wed Feb 2 01:37:37 2005 +++ lib/info_private.c Sat Jun 26 17:29:43 2010 @@ -102,10 +102,9 @@ vcdinf_update_offset_list(struct _vcdinf_pbc_ctx *obj, } } 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;