[dpdk-dev] [PATCH] devtools/check-symbol-changes.sh: awk script issue

Thomas Monjalon thomas at monjalon.net
Fri Oct 19 12:48:57 CEST 2018


Hi Neil,

Are you OK with this patch?


04/10/2018 17:18, Liang Ma:
> There is a issue inside check-symbol-changes.sh awk script.
> When the script try to parse the section name from  patch,
> The script put char "+" into the section name.
> 
> Signed-off-by: Liang Ma <liang.j.ma at intel.com>
> ---
>  devtools/check-symbol-change.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh
> index c0d2a6d..4a0f4d8 100755
> --- a/devtools/check-symbol-change.sh
> +++ b/devtools/check-symbol-change.sh
> @@ -30,7 +30,7 @@ build_map_changes()
>  		# the rest of the line with the + and { symbols remvoed.
>  		# Triggering this rule sets in_sec to 1, which actives the
>  		# symbol rule below
> -		/^.*{/ {
> +		/^[^-+]*{/ {
>  			if (in_map == 1) {
>  				sec=$(NF-1); in_sec=1;
>  			}





More information about the dev mailing list