Code cleanups related to RHBZ#580246.
authorRichard Jones <rjones@redhat.com>
Wed, 7 Apr 2010 20:04:01 +0000 (21:04 +0100)
committerRichard Jones <rjones@redhat.com>
Thu, 8 Apr 2010 08:41:57 +0000 (09:41 +0100)
commitde7ef2a0fdcbcddfd35ecb8ee2804e1ca0968454
tree773bf6593bdf267b6e9437bfd8d2ccc24646db09
parent07f4b20ae959069fca41756b0dc103ec5fa99754
Code cleanups related to RHBZ#580246.

This includes various code cleanups:

 (a) A regression test for RHBZ#580246.

 (b) Use write instead of fwrite to write out the tar file.  This is
     just because the error handling of write seems to be better
     specified and easier to use.

 (c) Use size_t instead of int for length.

 (d) Clearer debug messages when in verbose mode.
daemon/daemon.h
daemon/proto.c
daemon/tar.c
daemon/upload.c
regressions/Makefile.am
regressions/rhbz580246.sh [new file with mode: 0755]