There are some brackets missing in an "if" statement in
src/general/g.setproj/get_stp.c
around line 255:
/* ORIGINAL: */
if (sfips == *s)
fprintf(Tmp_fd1, "%4d -- %s\n", cfips, COname);
fprintf(Tmp_fd2, "%d:%s\n", cfips, COname);
/* SHOULD BE: */
if (sfips == *s) {
fprintf(Tmp_fd1,"%4d -- %s\n",cfips, COname);
fprintf(Tmp_fd2,"%d:%s\n",cfips, COname);
} /* ADDED THESE BRACKETS - BB */
It should probably also be fixed in src/misc/m.proj/get_stp.c
- Bill
----------------------------------------
If you want to unsubscribe from GRASS Development
Team internal mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
length: 1471
max: 0
On Tue, May 02, 2000 at 08:50:29AM -0500, Bill Brown - staff wrote:
There are some brackets missing in an "if" statement in
src/general/g.setproj/get_stp.c
around line 255:
/* ORIGINAL: */
if (sfips == *s)
fprintf(Tmp_fd1, "%4d -- %s\n", cfips, COname);
fprintf(Tmp_fd2, "%d:%s\n", cfips, COname);
/* SHOULD BE: */
if (sfips == *s) {
fprintf(Tmp_fd1,"%4d -- %s\n",cfips, COname);
fprintf(Tmp_fd2,"%d:%s\n",cfips, COname);
} /* ADDED THESE BRACKETS - BB */
It should probably also be fixed in src/misc/m.proj/get_stp.c
- Bill
Bill,
thanks for the quick patch. I have updated in CVS both
src/general/g.setproj/get_stp.c
src/misc/m.proj/get_stp.c
Best wishes
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development
Team internal mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
length: 1521
max: 0