OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4822-g340ec2f

Gerrit Code Review gerrit@openafs.org
Mon, 25 Apr 2016 00:04:33 -0400


The following commit has been merged in the master branch:
commit 340ec2f79208ee21c3130c4b1c13995947ce426c
Author: Michael Meffie <mmeffie@sinenomine.net>
Date:   Mon Mar 14 16:09:56 2016 -0400

    util: allocate log filename buffers
    
    Allocate the ourName buffer to save the log filename during OpenLog(),
    instead of trying to copy the log filename to a fixed size buffer.
    Deallocate this buffer when the log is closed with CloseLog().  Save the
    log file name even when MR-AFS style logging is not effect to allow
    ReOpenLog() to use the saved filename in a later commit.
    
    Dynamically allocate a buffer when formatting a file name for log
    rotation instead of using a fixed size buffer on the stack.  Allocate
    the buffer for both traditional Transarc-style log file renaming
    (appending ".old" to the log filename) and the MR-AFS style logging
    (appending a timestamp to the log filename).
    
    Change-Id: Ie217a93b271b48ccfc7b5244ad3a8c949d55ef54
    Reviewed-on: https://gerrit.openafs.org/12219
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/util/serverLog.c |   63 ++++++++++++++++++++++++++++++++-----------------
 1 files changed, 41 insertions(+), 22 deletions(-)

-- 
OpenAFS Master Repository