{"shas":[["9ee42ef87ff358a4f34abff16f871c5697805a86","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","* common-src/file.[ch]: new read_fully() function, designed to replace\n  usages of full_read() which, even though it shares its prototype with\n  read(2), behaves very differently and leads (and has led) to\n  convoluted codes in some places, and bugs in other places\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@3999 a8d146d6-cc15-0410-8900-af154a0219e0","= Francis Galiegue"],["2c8083fdb21f7d1756a19f7c66ad5554c3536bb3","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","* amar-src/amar.c, common-src/amflock.c,\n  device-src/xfer-dest-taper-cacher.c, server-src/amcheck.c,\n  server-src/chunker.c, server-src/driver.c, server-src/holding.c,\n  server-src/xfer-source-holding.c, xfer-src/element-glue.c,\n  xfer-src/xfer-element.c, xfer-src/xfer-test.c: straight replacement of\n  full_read(...) with read_fully(..., NULL) since in these usages error\n  checking was not done\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4000 a8d146d6-cc15-0410-8900-af154a0219e0","= Francis Galiegue"],["6a334648766f1236fe35256107e404eaf752226e","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","* xfer-src/element-glue.c: use read_fully(), and modify error reporting.\n  Since the read operation output can be captured straight on by\n  read_fully(), use that opportunity here instead of grabbing a saved\n  errno\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4001 a8d146d6-cc15-0410-8900-af154a0219e0","= Francis Galiegue"],["8df6a4ff2bc4c897419c7f9c55ffd0cc64751eb8","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","* amar-src/amar.c: fix \"full_read() vs read(2)\" behavior confusion,\n  full_read does NOT return -1 on error. Rework the function as to\n  avoid goto. Comment on the fact that we want to read as much as\n  possible even if an error occurs.\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4002 a8d146d6-cc15-0410-8900-af154a0219e0","= Francis Galiegue"],["f51eb96944aaedfaa30c392b8624964a0ea8d4b1","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","* device-src/xfer-dest-taper-splitter.c: \"full_read() vs read(2)\"\n  behavior confusion fix; ignore error checking\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4003 a8d146d6-cc15-0410-8900-af154a0219e0","= Francis Galiegue"],["8708744f16162f68187a61cb5592d767cf228e3e","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","* ndmp-src/amndma_tape_simulator.c: \"full_read() vs read(2)\" behavior\n  confusion fix; check only for errors\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4004 a8d146d6-cc15-0410-8900-af154a0219e0","= Francis Galiegue"],["705e6a823f71556690ca3ac80c119132ee3a6b07","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","* server-src/chunker.c: in do_chunk(): full_read() error checking was\n  done only after two calls to amclose(), which potentially sets errno;\n  fix by using read_fully(), capture a possible read error, and check it\n  at the correct place instead\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4005 a8d146d6-cc15-0410-8900-af154a0219e0","= Francis Galiegue"]],"repo":"zmanda/amanda","actor":"zmanda-pusher","ref":"refs/heads/trunk","size":7,"head":"705e6a823f71556690ca3ac80c119132ee3a6b07","actor_gravatar":"261f4cb2d3ba4f675103c99cfef5a497","push_id":31120167}