diff --git a/ChangeLog b/ChangeLog index 0a09fae2..8e075adc 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 b3bf7388..e9da56f2 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'