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/01/07 04:24:19 UTC

[lucy-commits] svn commit: r1056180 - /incubator/lucy/trunk/core/Lucy/Object/Err.c

Author: marvin
Date: Fri Jan  7 03:24:18 2011
New Revision: 1056180

URL: http://svn.apache.org/viewvc?rev=1056180&view=rev
Log:
Remove commas (which were being applied inconsistently) from stack traces.

Modified:
    incubator/lucy/trunk/core/Lucy/Object/Err.c

Modified: incubator/lucy/trunk/core/Lucy/Object/Err.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Object/Err.c?rev=1056180&r1=1056179&r2=1056180&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Object/Err.c (original)
+++ incubator/lucy/trunk/core/Lucy/Object/Err.c Fri Jan  7 03:24:18 2011
@@ -124,7 +124,7 @@ S_vcat_mess(CharBuf *message, const char
     CB_Grow(message, guess_len);
     CB_VCatF(message, pattern, args);
     if (func != NULL)
-        CB_catf(message, ",\n\t%s at %s line %i32\n", func, file, (int32_t)line);
+        CB_catf(message, "\n\t%s at %s line %i32\n", func, file, (int32_t)line);
     else 
         CB_catf(message, "\n\t%s line %i32\n", file, (int32_t)line);
 }
@@ -163,7 +163,7 @@ Err_add_frame(Err *self, const char *fil
     if (CB_Ends_With_Str(self->mess, "\n", 1)) { CB_Chop(self->mess, 1); }
 
     if (func != NULL) {
-        CB_catf(self->mess, ",\n\t%s at %s line %i32\n", func, file, 
+        CB_catf(self->mess, "\n\t%s at %s line %i32\n", func, file, 
             (int32_t)line);
     }
     else {