← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 4027: increase maximum length of char filename in saveVtk method for FlowEngine

 

------------------------------------------------------------
revno: 4027
committer: Christian Jakob <jakob@xxxxxxxxxxxxxxxxxxx>
timestamp: Mon 2014-06-16 16:02:20 +0200
message:
  increase maximum length of char filename in saveVtk method for FlowEngine
modified:
  lib/triangulation/FlowBoundingSphere.ipp


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'lib/triangulation/FlowBoundingSphere.ipp'
--- lib/triangulation/FlowBoundingSphere.ipp	2014-05-26 23:23:29 +0000
+++ lib/triangulation/FlowBoundingSphere.ipp	2014-06-16 14:02:20 +0000
@@ -1068,7 +1068,7 @@
 {
 	RTriangulation& Tri = T[noCache?(!currentTes):currentTes].Triangulation();
         static unsigned int number = 0;
-        char filename[80];
+        char filename[250];
 	mkdir(folder, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
         sprintf(filename,"%s/out_%d.vtk",folder,number++);
 	int firstReal=-1;