Wireshark mailing list archives

Allowing --with-release to take hex strings ...


From: Richard Sharpe <realrichardsharpe () gmail com>
Date: Wed, 11 Jan 2017 13:29:36 -0800

Hi folks,

Does anyone have a problem with a change like this:

diff --git a/configure.ac b/configure.ac
index d45f259..eeac905 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,7 +58,7 @@ AC_ARG_WITH([release],
 AC_HELP_STRING( [--with-release=@<:@1/no/4/5@:>@],
       [set release-number in package @<:@default=1@:>@]),
        with_release="$withval", with_release=1)
-re="^[[0-9]]+$"
+re="^[[0-9a-f]]+$"
 if [[[ "$with_release" =~ $re ]]]; then
         RELEASE="$with_release"
 else
--
2.3.6


-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: