* amar-src/amar.c: Fix hang on eof.
* common-src/ammessage (ammessage_encode_json): Improve encoding.
* perl/Amanda/Cleanup.pm: Remove trailing '\n'.
* perl/Amanda/Rest/Runs.pm: Fix Message module
* perl/Amanda/Status.pm: Fix.
* server-src/amstatus.pl: Set $pwd before changing the cwd.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5972 a8d146d6-cc15-0410-8900-af154a0219e0