OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-896-g8c41840

Gerrit Code Review gerrit@openafs.org
Mon, 21 Mar 2011 10:21:22 -0700 (PDT)


The following commit has been merged in the master branch:
commit 8c418408016ff8d6be9f85c4666a49954f61dbd0
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Sun Mar 20 21:13:09 2011 +0000

    util: Fix exec_alt
    
    exec_alt was failing its tests on Mac OS X (but passing them on Linux).
    
    It turns out that this is because it was failing to NULL terminate the
    string that it creates in construct_alt(), which copies in the
    characters from argv0, prefix and suffix, but never copies in a trailing
    NULL.
    
    Amend the code so that the trailing NULL from suffix is used to
    terminate the string.
    
    Change-Id: I286604fb09193367c4e7b2d80051832080362f79
    Reviewed-on: http://gerrit.openafs.org/4267
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/util/exec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository