[67593] trunk/base/src/cregistry/entry.c

jmr at macports.org jmr at macports.org
Thu May 13 12:25:25 PDT 2010


Revision: 67593
          http://trac.macports.org/changeset/67593
Author:   jmr at macports.org
Date:     2010-05-13 12:25:23 -0700 (Thu, 13 May 2010)
Log Message:
-----------
fix check for conflicting files in reg_entry_activate (#24880)

Modified Paths:
--------------
    trunk/base/src/cregistry/entry.c

Modified: trunk/base/src/cregistry/entry.c
===================================================================
--- trunk/base/src/cregistry/entry.c	2010-05-13 18:47:46 UTC (rev 67592)
+++ trunk/base/src/cregistry/entry.c	2010-05-13 19:25:23 UTC (rev 67593)
@@ -1060,7 +1060,7 @@
                 == SQLITE_OK)
                 && (sqlite3_bind_int64(update, 3, entry->id) == SQLITE_OK)) {
             for (i=0; i<file_count && result; i++) {
-                if ((sqlite3_bind_text(select, 1, files[i], -1, SQLITE_STATIC)
+                if ((sqlite3_bind_text(select, 1, as_files[i], -1, SQLITE_STATIC)
                             == SQLITE_OK)
                         && (sqlite3_bind_text(update, 1, as_files[i], -1,
                                 SQLITE_STATIC) == SQLITE_OK)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100513/47853cf9/attachment.html>


More information about the macports-changes mailing list