Chage read handler argument to by-value.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 21 Jun 2017 00:24:30 +0000 (20:24 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 21 Jun 2017 00:24:30 +0000 (20:24 -0400)
commit358fdd437ba4826626125799497994afafed73ad
tree2f1be371c554c37a49199d272f75edfabeae4776
parent9437ccca36057e2ba4b6f4b407304f23f14ab4c4
Chage read handler argument to by-value.

This (sort of) documents the fact that, unlike say() and attack(),
read() never scribbles on the interpreter's command block.

What those other functions are doing is unclean - though less so than
fully exposed globals. I don't see a way to fix it that isn't pretty
intrusive, alas.
actions.c