[GRASS-dev] Limit in g.message? was: Limit in number of "variables" for r.mapcalc?

Glynn Clements glynn at gclements.plus.com
Mon Apr 27 04:16:48 PDT 2015


Nikos Alexandris wrote:

> So the question is, is there a limit in g.message? Number of characters?

g.message takes the message via a command-line argument, so it's
limited to any system-imposed limit on the length of an individual
argument or the combined length of the arguments.

But more significantly, G_message() etc use an internal buffer of 2000
bytes. A message longer than that probably won't work and may well
cause the g.message to crash.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list