[Midnightbsd-cvs] src [7036] trunk/lib/libmport/bundle_read_install_pkg.c: fix locked

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jun 14 16:49:00 EDT 2015


Revision: 7036
          http://svnweb.midnightbsd.org/src/?rev=7036
Author:   laffer1
Date:     2015-06-14 16:48:59 -0400 (Sun, 14 Jun 2015)
Log Message:
-----------
fix locked

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

Modified: trunk/lib/libmport/bundle_read_install_pkg.c
===================================================================
--- trunk/lib/libmport/bundle_read_install_pkg.c	2015-06-14 20:43:25 UTC (rev 7035)
+++ trunk/lib/libmport/bundle_read_install_pkg.c	2015-06-14 20:48:59 UTC (rev 7036)
@@ -124,7 +124,7 @@
 
   /* Insert the package meta row into the packages table (We use pack here because things might have been twiddled) */
   /* Note that this will be marked as dirty by default */  
-  if (mport_db_do(db, "INSERT INTO packages (pkg, version, origin, prefix, lang, options, comment, os_release, cpe, locked) VALUES (%Q,%Q,%Q,%Q,%Q,%Q,%Q,%Q,%Q)", pkg->name, pkg->version, pkg->origin, pkg->prefix, pkg->lang, pkg->options, pkg->comment, pkg->os_release, pkg->cpe, 0) != MPORT_OK)
+  if (mport_db_do(db, "INSERT INTO packages (pkg, version, origin, prefix, lang, options, comment, os_release, cpe, locked) VALUES (%Q,%Q,%Q,%Q,%Q,%Q,%Q,%Q,%Q,0)", pkg->name, pkg->version, pkg->origin, pkg->prefix, pkg->lang, pkg->options, pkg->comment, pkg->os_release, pkg->cpe) != MPORT_OK)
     goto ERROR;
 
   /* Insert the assets into the master table (We do this one by one because we want to insert file 



More information about the Midnightbsd-cvs mailing list