From: Simon Wilkinson Date: Fri, 10 Jul 2009 19:28:06 +0000 (+0100) Subject: Don't remove ccode, just conditionalise it X-Git-Tag: openafs-devel-1_5_61~151 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=586d32c53370458c780c721995695f1ee7bee272;p=packages%2Fo%2Fopenafs.git Don't remove ccode, just conditionalise it The change in b21015242022872101b9c3c78df511e2a2dc6399 broke systems without posix regexes by removing, rather than conditionalising the 'ccode' variable Reviewed-on: http://gerrit.openafs.org/40 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- diff --git a/src/volser/vos.c b/src/volser/vos.c index c167a53f5..4c15cc8dc 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -4542,6 +4542,9 @@ BackSys(register struct cmd_syndesc *as, void *arock) int same = 0; struct cmd_item *ti; int match = 0; +#ifndef HAVE_POSIX_REGEX + char *ccode; +#endif memset(&attributes, 0, sizeof(struct VldbListByAttributes)); attributes.Mask = 0;