[79288] branches/gsoc11-rev-upgrade/base/src/cregistry/file.c

cal at macports.org cal at macports.org
Wed Jun 8 03:06:56 PDT 2011


Revision: 79288
          http://trac.macports.org/changeset/79288
Author:   cal at macports.org
Date:     2011-06-08 03:06:55 -0700 (Wed, 08 Jun 2011)
Log Message:
-----------
rev-upgrade: C can copy structs :)

Modified Paths:
--------------
    branches/gsoc11-rev-upgrade/base/src/cregistry/file.c

Modified: branches/gsoc11-rev-upgrade/base/src/cregistry/file.c
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/cregistry/file.c	2011-06-08 09:07:00 UTC (rev 79287)
+++ branches/gsoc11-rev-upgrade/base/src/cregistry/file.c	2011-06-08 10:06:55 UTC (rev 79288)
@@ -81,8 +81,7 @@
             return 0;
         }
         f->reg = reg;
-        f->key.id = key.id;
-        f->key.path = key.path;
+        f->key = key;
         f->proc = NULL;
         *file = f;
         Tcl_SetHashValue(hash, f);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110608/ded338cb/attachment-0001.html>


More information about the macports-changes mailing list