* application-src/ampgsql.pl: Do not close STDIN and STDERR.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/branches/3_3@5671 a8d146d6-cc15-0410-8900-af154a0219e0
* amar-src/amar.c (amar_stop_read, amar_start_read): New function.
* amar-src/amar.h (amar_stop_read, amar_start_read): Add prototype.
* perl/Amanda/Archive.swg: Swig them.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/branches/3_3@5673 a8d146d6-cc15-0410-8900-af154a0219e0
* amar-src/amar.c: Fix memory leak.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/branches/3_3@5675 a8d146d6-cc15-0410-8900-af154a0219e0
* amar-src/amar.c: Stop processing input file on stopped mode.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/branches/3_3@5677 a8d146d6-cc15-0410-8900-af154a0219e0
* amar-src/amar.c (amar_read, set_amar_read_cb): Add a done_cb.
* amar-src/amar.c (amar_set_error): New function to set an error.
* amar-src/amar.h: New prototype.
* amar-src/amarchiver.c: Use NULL done_cb.
* amar-src/amar-test.c: Pass a NULL done_cb.
* installcheck/Amanda_Archive.pl: Test set_read_cb with done_cb.
* perl/Amanda/Archive.swg: Handle done_cb and error.
* perl/Amanda/MainLoop.swg (run_until_empty): Remove method.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/branches/3_3@5679 a8d146d6-cc15-0410-8900-af154a0219e0
* perl/Amanda/Taper/Scan.pm: Do not se the same tape twice in the same
  run.
* perl/Amanda/Taper/Scribe.pm: Set taperscan write_timestamp.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/branches/3_3@5681 a8d146d6-cc15-0410-8900-af154a0219e0