The following commit has been merged in the openafs-stable-1_6_x branch:
commit 8fcc8da4c991fb5f032cc27ae0b3efa1f40e6fc0
Author: Jeffrey Hutzelman <[email protected]>
Date:   Tue Jun 18 23:12:46 2013 -0400

    viced/callback.c: Ignore dump write errors harder
    
    When writing a callback state dump, test the return values from
    write(2), but don't do anything based on the test.  This avoids
    compiler warnings when building on Ubuntu 12.10, with gcc 4.7.2 and
    eglibc 2.15-0ubuntu20.1.  This adds a new macro, WriteBytes(), which
    handles writing a requested number of bytes to a file and ignoring
    errors.
    
    Reviewed-on: http://gerrit.openafs.org/9991
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Reviewed-by: Derrick Brashear <[email protected]>
    (cherry picked from commit e16bef6136f83d0fc9a691051fc54a2ae5f573c9)
    
    Change-Id: Ib88d8354f68f26fb001e3b650791236e42789f31
    Reviewed-on: https://gerrit.openafs.org/13504
    Reviewed-by: Cheyenne Wills <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>
    Tested-by: Stephan Wiesand <[email protected]>

 src/viced/callback.c |   28 +++++++++++++++++-----------
 1 files changed, 17 insertions(+), 11 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to