I also wanted to mention, that this was not a problem with AIX. I
found an interesting item with the c compiler on AIX. The following
does not core dump.
int *c = NULL;
if(*c == 1)
printf("Wow\n");
else
printf("wow!\n");
Pretty interesting being able to compare *NULL to something without a crash.
David
Update of /src/master/dx/src/exec/dxmods
In directory opendx.watson.ibm.com:/tmp/cvs-serv25452
Modified Files:
autoregrid.c
Log Message:
Correct a problem where a pointer is getting set to NULL and then
the a following if statement checks if the value of the address
pointed to pointer is -1. Should be checking if the pointer
is NULL instead. Autogrid would always core dump if the radius
was set to infinity. It now works correctly.
--
.............................................................................
David L. Thompson The University of Montana
mailto:[EMAIL PROTECTED] Computer Science Department
http://www.cs.umt.edu/u/dthompsn Missoula, MT 59812
Work Phone : (406)257-8530