[Midnightbsd-cvs] src [7435] trunk/lib/libmport/create_primative.c: use sync for now as the pointer is getting messed up and we need to refactor this.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jan 23 15:06:40 EST 2016


Revision: 7435
          http://svnweb.midnightbsd.org/src/?rev=7435
Author:   laffer1
Date:     2016-01-23 15:06:39 -0500 (Sat, 23 Jan 2016)
Log Message:
-----------
use sync for now as the pointer is getting messed up and we need to refactor this.  stops crash with CONFLICTS in package

Modified Paths:
--------------
    trunk/lib/libmport/create_primative.c

Modified: trunk/lib/libmport/create_primative.c
===================================================================
--- trunk/lib/libmport/create_primative.c	2016-01-15 02:29:45 UTC (rev 7434)
+++ trunk/lib/libmport/create_primative.c	2016-01-23 20:06:39 UTC (rev 7435)
@@ -332,7 +332,7 @@
 
 	/* we have a conflict like apache-1.4.  We want to do a m/(.*)-(.*)/ */
 	while (*conflict != NULL) {
-		dispatch_async(mportSQLSerial, ^{
+		dispatch_sync(mportSQLSerial, ^{
 			char *version = rindex(*conflict, '-');
 
 			if (sqlite3_bind_text(stmnt, 1, pack->name, -1, SQLITE_STATIC) != SQLITE_OK) {



More information about the Midnightbsd-cvs mailing list