[78963] branches/gsoc11-rev-upgrade/base/src/registry2.0/util.c

cal at macports.org cal at macports.org
Fri May 27 18:04:03 PDT 2011


Revision: 78963
          http://trac.macports.org/changeset/78963
Author:   cal at macports.org
Date:     2011-05-27 18:04:02 -0700 (Fri, 27 May 2011)
Log Message:
-----------
rev-upgrade: Used wrong function name

Modified Paths:
--------------
    branches/gsoc11-rev-upgrade/base/src/registry2.0/util.c

Modified: branches/gsoc11-rev-upgrade/base/src/registry2.0/util.c
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/registry2.0/util.c	2011-05-28 00:58:13 UTC (rev 78962)
+++ branches/gsoc11-rev-upgrade/base/src/registry2.0/util.c	2011-05-28 01:04:02 UTC (rev 78963)
@@ -36,6 +36,7 @@
 
 #include "util.h"
 #include "entryobj.h"
+#include "fileobj.h"
 
 /**
  * Generates a unique proc name starting with prefix.
@@ -196,7 +197,7 @@
  */
 int set_file(Tcl_Interp* interp, char* name, reg_file* file,
         reg_error* errPtr) {
-    if (set_object(interp, name, file, "file", entry_obj_cmd, NULL,
+    if (set_object(interp, name, file, "file", file_obj_cmd, NULL,
                 errPtr)) {
         file->proc = strdup(name);
         if (!file->proc) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110527/9253022e/attachment.html>


More information about the macports-changes mailing list