You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/03/04 01:33:20 UTC

[lucy-commits] svn commit: r1076902 - in /incubator/lucy/trunk/clownfish/src: CFCHierarchy.c CFCUtil.c

Author: marvin
Date: Fri Mar  4 00:33:20 2011
New Revision: 1076902

URL: http://svn.apache.org/viewvc?rev=1076902&view=rev
Log:
Fix some misspelled symbols that caused MSVC to error out.

Modified:
    incubator/lucy/trunk/clownfish/src/CFCHierarchy.c
    incubator/lucy/trunk/clownfish/src/CFCUtil.c

Modified: incubator/lucy/trunk/clownfish/src/CFCHierarchy.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCHierarchy.c?rev=1076902&r1=1076901&r2=1076902&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCHierarchy.c (original)
+++ incubator/lucy/trunk/clownfish/src/CFCHierarchy.c Fri Mar  4 00:33:20 2011
@@ -153,7 +153,7 @@ CFCHierarchy_add_tree(CFCHierarchy *self
     for (i = 0; self->trees[i] != NULL; i++) {
         const char *existing = CFCClass_full_struct_sym(self->trees[i]);
         if (strcmp(full_struct_sym, existing) == 0) {
-            Util_die("Tree '%s' alread added", full_struct_sym);
+            CFCUtil_die("Tree '%s' alread added", full_struct_sym);
         }
     }
     self->num_trees++;
@@ -189,7 +189,8 @@ CFCHierarchy_add_file(CFCHierarchy *self
     CFCUTIL_NULL_CHECK(file);
     const char *source_class = CFCFile_get_source_class(file);
     if (CFCHierarchy_fetch_file(self, source_class)) {
-        Util_die("File for source class %s already registered", source_class);
+        CFCUtil_die("File for source class %s already registered", 
+            source_class);
     }
     self->num_files++;
     size_t size = (self->num_files + 1) * sizeof(CFCFile*);

Modified: incubator/lucy/trunk/clownfish/src/CFCUtil.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCUtil.c?rev=1076902&r1=1076901&r2=1076902&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCUtil.c (original)
+++ incubator/lucy/trunk/clownfish/src/CFCUtil.c Fri Mar  4 00:33:20 2011
@@ -149,7 +149,7 @@ CFCUtil_current(const char *orig, const 
     // If the source file is newer than the dest, we're not current.
     struct stat orig_stat;
     if (stat(orig, &orig_stat) == -1) { 
-        Util_die("Missing source file '%s'", orig);
+        CFCUtil_die("Missing source file '%s'", orig);
     }
     if (orig_stat.st_mtime > dest_stat.st_mtime) {
         return false;