[Gridflow-cvs] [svn] commit: r6346 - /trunk/src/classes2.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Fri Sep 24 14:14:09 EDT 2010


Author: matju
Date: Fri Sep 24 14:14:07 2010
New Revision: 6346

Log:
fix crash in error message of [#out grid]

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Fri Sep 24 14:14:07 2010
@@ -405,7 +405,7 @@
 		clock_delay(clock,0);
 	}
 	void call ();
-	#define FRAISE(funk,f) RAISE("can't "#funk": %s",ferror(f));
+	#define FRAISE(funk,f) RAISE("can't "#funk": %s",strerror(ferror(f)));
 	\decl 0 float (float x) {
 		uint8 foo = (uint8) x;
 		if (fwrite(&foo,1,1,f)<1) FRAISE(fwrite,f);



More information about the Gridflow-cvs mailing list