From: Gary V. Vaughan Date: Tue, 29 Jun 2010 09:32:46 +0000 (+0700) Subject: Correct func_split_short_opt comment cut-n-pasto. X-Git-Tag: v2.4~127 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4edceb028dde5ac764a7158b05bb74eda7d00a7;p=thirdparty%2Flibtool.git Correct func_split_short_opt comment cut-n-pasto. * libtool/config/getopt.m4sh (func_split_short_opt): Fix the function comment. Signed-off-by: Gary V. Vaughan --- diff --git a/ChangeLog b/ChangeLog index 0a09fae2c..8e075adc5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-06-29 Gary V. Vaughan + Correct func_split_short_opt comment cut-n-pasto. + * libtool/config/getopt.m4sh (func_split_short_opt): Fix + the function comment. + Use a real XSI compliant func_split_short_opt substitution. * libtool/m4/libtool.m4 (_LT_CHECK_SHELL_FEATURES): Remove test ${foo:n:m} substrings, instead adding a ${foo%??} check diff --git a/libltdl/config/getopt.m4sh b/libltdl/config/getopt.m4sh index b3bf73882..e9da56f25 100644 --- a/libltdl/config/getopt.m4sh +++ b/libltdl/config/getopt.m4sh @@ -620,7 +620,7 @@ func_missing_arg () # func_split_short_opt shortopt # Set func_split_short_opt_name and func_split_short_opt_arg shell -# variables after splitting SHORTOPT at the `=' sign. +# variables after splitting SHORTOPT after the 2nd character. func_split_short_opt () { my_sed_short_opt='1s/^\(..\).*$/\1/;q'