For some reason, the stack-allocated memory stopped working on Windows, for all versions of the file, not just the HEAD. Changing it over to heap-allocated memory seems to have fixed the problem. No Idea why this sprang up out of nowhere.

This commit is contained in:
Ward Fisher 2013-09-09 11:34:33 -06:00
parent 6e954fa2ce
commit 5421016565

View File

@ -71,7 +71,8 @@ main()
int pass = 1;
int idim, ndim;
float dat[301060];
//float dat[301060];
float *dat = (float*)malloc(sizeof(float)*301060);
float sdat[10];
for (idim=0; idim<5; idim++) {
@ -259,6 +260,7 @@ if(verbose) {
}
printf("*** PASS\n");
free(dat);
exit(0);
}