[GRASS5] r.mapcalc category labels improvement

Dear all,

Huidae Cho was so kind to implement a small r.mapcalc
improvement:

In simple formula such as copying one map to another
the category label file is transfered now to the new
map.

Two examples:

GRASS:~ > r.mapcalc testmap=geology
EXECUTING testmap = ... 100%
CREATING SUPPORT FILES FOR testmap
range: 1 9
Copying category labels from <geology@PERMANENT> to <testmap@user1>

Then to test the case when no cats are present:
GRASS:~ > rm -f $LOCATION/cats/testmap

GRASS:~ > r.mapcalc newmap=testmap
EXECUTING newmap = ... 100%
CREATING SUPPORT FILES FOR newmap
range: 1 9
NOTE: cannot copy category labels for <newmap@user1>
      as not present in <testmap@PERMANENT>

Also in simple "if" statements the cats copy is supported.
It is uploaded to CVS.

Thanks to Huidae,

Markus