[Midnightbsd-cvs] src [7765] trunk/lib/libmport/install.c: increment pointer rather than just infinite loop here
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Aug 27 10:28:15 EDT 2016
Revision: 7765
http://svnweb.midnightbsd.org/src/?rev=7765
Author: laffer1
Date: 2016-08-27 10:28:14 -0400 (Sat, 27 Aug 2016)
Log Message:
-----------
increment pointer rather than just infinite loop here
Modified Paths:
--------------
trunk/lib/libmport/install.c
Modified: trunk/lib/libmport/install.c
===================================================================
--- trunk/lib/libmport/install.c 2016-08-27 01:21:27 UTC (rev 7764)
+++ trunk/lib/libmport/install.c 2016-08-27 14:28:14 UTC (rev 7765)
@@ -71,6 +71,7 @@
if (strcmp(e[e_loc]->version, version) == 0) {
break;
}
+ e_loc++;
}
if (e[e_loc] == NULL) {
mport_index_entry_free_vec(e);
More information about the Midnightbsd-cvs
mailing list