[78948] branches/gsoc11-rev-upgrade/base/src/registry2.0/entry.c

cal at macports.org cal at macports.org
Fri May 27 15:33:43 PDT 2011


Revision: 78948
          http://trac.macports.org/changeset/78948
Author:   cal at macports.org
Date:     2011-05-27 15:33:43 -0700 (Fri, 27 May 2011)
Log Message:
-----------
rev-upgrade: added needed header file caused by move of utility function to cregistry/util.h, fixed wrong message

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

Modified: branches/gsoc11-rev-upgrade/base/src/registry2.0/entry.c
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/registry2.0/entry.c	2011-05-27 21:05:12 UTC (rev 78947)
+++ branches/gsoc11-rev-upgrade/base/src/registry2.0/entry.c	2011-05-27 22:33:43 UTC (rev 78948)
@@ -35,6 +35,8 @@
 #include <tcl.h>
 #include <sqlite3.h>
 
+#include <cregistry/util.h>
+
 #include "entry.h"
 #include "entryobj.h"
 #include "registry.h"
@@ -209,7 +211,7 @@
  */
 static int entry_close(Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[]) {
     if (objc != 3) {
-        Tcl_WrongNumArgs(interp, 1, objv, "delete entry");
+        Tcl_WrongNumArgs(interp, 1, objv, "close entry");
         return TCL_ERROR;
     } else {
         reg_error error;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110527/0cdf72bf/attachment.html>


More information about the macports-changes mailing list