[GRASS5] [mark.sweeney@pnl.gov: Bugreport GRASS 5]

Bill Brown - staff brown at gis.uiuc.edu
Tue May 2 09:50:29 EDT 2000


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 at geog.uni-hannover.de with
subject 'unsubscribe grass5'
length: 1471
max: 0



More information about the grass-dev mailing list