From d92df79747e03e875f84cf75a3d321cc9383696d Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 24 Sep 2014 09:18:54 -0600 Subject: [PATCH] In pp_files_expand() set _target to be empty. Fixes a problem with Solaris sh where simply using typeset doesn't causes the variable to be treated as local so we can inadvertantly inherit a value from a previous call. --- pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pp b/pp index 247dd2daf..fc45b84d4 100755 --- a/pp +++ b/pp @@ -1,6 +1,6 @@ #!/bin/sh # Copyright 2014 Quest Software, Inc. ALL RIGHTS RESERVED -pp_revision="20140711" +pp_revision="20140924" # Copyright 2012 Quest Software, Inc. ALL RIGHTS RESERVED. # # Redistribution and use in source and binary forms, with or without @@ -1285,6 +1285,7 @@ pp_files_expand () { #-- process the flags argument _flags= + _target= _optional=false _has_target=false _ignore=false