Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kte608
elmerfem-front
svnSnapShot.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File svnSnapShot.patch of Package elmerfem-front
diff -uNr svnSnapShot.orig/fem/src/Load.c svnSnapShot/fem/src/Load.c --- svnSnapShot.orig/fem/src/Load.c 2009-01-07 19:34:15.000000000 -0600 +++ svnSnapShot/fem/src/Load.c 2009-04-04 15:41:04.000000000 -0500 @@ -179,7 +179,7 @@ void (*Function)(),*Handle; int i; char *cptr; - static char ElmerLib[2*MAX_NAME_LEN], NewLibName[3*MAX_NAME_LEN], + static char ElmerLib[2*MAX_NAME_LEN], NewLibName[3*MAX_NAME_LEN+1], NewName[MAX_NAME_LEN], dl_err_msg[6][MAX_NAME_LEN]; /*--------------------------------------------------------------------------*/ diff -uNr svnSnapShot.orig/fem/src/SC2Elmer.c svnSnapShot/fem/src/SC2Elmer.c --- svnSnapShot.orig/fem/src/SC2Elmer.c 2009-01-07 19:34:16.000000000 -0600 +++ svnSnapShot/fem/src/SC2Elmer.c 2009-04-04 10:59:02.000000000 -0500 @@ -335,4 +335,5 @@ fprintf( fp_out, "2\n408 %d\n203 %d\n", elements, j ); fclose( fp_out ); + return 0; } diff -uNr svnSnapShot.orig/fem/src/view3d/BiCubicUtil.c svnSnapShot/fem/src/view3d/BiCubicUtil.c --- svnSnapShot.orig/fem/src/view3d/BiCubicUtil.c 2009-01-07 19:34:19.000000000 -0600 +++ svnSnapShot/fem/src/view3d/BiCubicUtil.c 2009-04-04 13:38:23.000000000 -0500 @@ -550,7 +550,9 @@ void BiCubicComputeViewFactors(Geometry_t *GA,Geometry_t *GB,int LevelA,int LevelB ) { double FX,FY,FZ,DX,DY,DZ,U,V,Hit; - double F,Fa,Fb,EA,PI=2*acos(0.0); + double F,EA,PI=2*acos(0.0); + double Fa=PI; + double Fb=PI; double *AX = GA->BiCubic->PolyFactors[0]; double *AY = GA->BiCubic->PolyFactors[1]; diff -uNr svnSnapShot.orig/fem/src/view3d/BiQuadraticUtil.c svnSnapShot/fem/src/view3d/BiQuadraticUtil.c --- svnSnapShot.orig/fem/src/view3d/BiQuadraticUtil.c 2009-01-07 19:34:19.000000000 -0600 +++ svnSnapShot/fem/src/view3d/BiQuadraticUtil.c 2009-04-04 15:35:06.000000000 -0500 @@ -543,7 +543,9 @@ void BiQuadraticComputeViewFactors(Geometry_t *GA,Geometry_t *GB,int LevelA,int LevelB) { double FX,FY,FZ,DX,DY,DZ,U,V,Hit; - double F,Fa,Fb,EA,PI=2*acos(0.0); + double F,EA,PI=2*acos(0.0); + double Fa=PI; + double Fb=PI; double *AX = GA->BiQuadratic->PolyFactors[0]; double *AY = GA->BiQuadratic->PolyFactors[1]; diff -uNr svnSnapShot.orig/front/src/ecif_inputEmf.cpp svnSnapShot/front/src/ecif_inputEmf.cpp --- svnSnapShot.orig/front/src/ecif_inputEmf.cpp 2009-01-07 19:34:23.000000000 -0600 +++ svnSnapShot/front/src/ecif_inputEmf.cpp 2009-04-06 15:11:29.000000000 -0500 @@ -358,7 +358,7 @@ const char* pd = ((Parameter*)param)->getValue(); - if ( pd != NULL && pd[0] != '\0' && pd != "" ) { + if ( pd != NULL && pd[0] != '\0'){// && pd != "" ) { cpd->paramList.push_back((Parameter*)param); } } diff -uNr svnSnapShot.orig/matc/src/eval.c svnSnapShot/matc/src/eval.c --- svnSnapShot.orig/matc/src/eval.c 2009-01-07 19:33:57.000000000 -0600 +++ svnSnapShot/matc/src/eval.c 2009-04-04 10:02:30.000000000 -0500 @@ -439,11 +439,17 @@ #else FILE *fp = popen( SDATA(root->this), "r" ); #endif - static char s[101]; + #define S_SIZE_K 120 + static char s[S_SIZE_K]; if ( !fp ) error( "systemcall: open failure: [%s].\n", SDATA(root->this) ); - while( fgets( s, 120, fp ) ) PrintOut( s ); + while( fgets( s, S_SIZE_K, fp ) ) + { + + PrintOut( s ); + + } #if defined(WIN32) || defined(MINGW32) _pclose( fp );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor