OpenAFS Master Repository branch, master, updated. fc695707f87143f2bfefd1260560cd6fdef613c0

Gerrit Code Review gerrit@openafs.org
Wed, 22 Jul 2009 10:18:29 -0700 (PDT)


The following commit has been merged in the master branch:
commit fc695707f87143f2bfefd1260560cd6fdef613c0
Author: Hans-Werner Paulsen <hans@MPA-Garching.MPG.DE>
Date:   Mon Jul 20 12:06:23 2009 +0200

    Use Posix regex(3) within src/bucoord/commands.c
    
    Normally pattern matching against volume names is done on the server, but
    if this fails, the client (src/bucoord/commands.c) is doing this.
    This program had no code to use regex(3) when HAVE_POSIX_REGEX is defined.
    This patch adds calls to regex(3) if HAVE_POSIX_REGEX is defined.
    For systems without POSIX regex there were two (slightly different)
    implementations in src/bucoord/regex.c and src/util/regex.c. The newer
    version src/bucoord/regex.c has been modified and moved to src/util/regex.c.
    Some header files and Makefiles have been removed/updated to work with this
    setup.
    
    Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/99
    Tested-by: Russ Allbery <rra@stanford.edu>
    Reviewed-by: Russ Allbery <rra@stanford.edu>
    Tested-by: Jeffrey Altman <jaltman@openafs.org>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/bucoord/Makefile.in |    4 +-
 src/bucoord/NTMakefile  |    1 -
 src/bucoord/commands.c  |   39 ++++-
 src/bucoord/regex.c     |  395 -----------------------------------------------
 src/bucoord/regex.h     |   14 --
 src/util/afsutil.h      |    9 +-
 src/util/regex.c        |  155 +++++++++----------
 7 files changed, 115 insertions(+), 502 deletions(-)

-- 
OpenAFS Master Repository